 += "P(x<sub>2</sub>)' = "+A[3][3].toFixed(1)+"a + "+A[3][2].toFixed(1)+"b + "+A[3][1].toFixed(1)+"c = "+B[3].toFixed(1);

    X = solved_linear(A, B, synthesis_n);

    synthesis_formula = document.getElementById("synthesis_formula");
    synthesis_formula.innerHTML = "a = " + X[3].toFixed(2) + ", b = " + X[2].toFixed(2) + ", c = " + X[1].toFixed(2) + ", d = " + X[0].toFixed(2);
    synthesis_formula.innerHTML += "<br>";
    synthesis_formula.innerHTML += "P(x) = " + X[3].toFixed(2) + "x<sup>3</sup> + " + 