polynomial_n; ++j){
            A[i][j] = Math.pow(polynomial_xs[i], j);
        }
        B[i] = polynomial_ys[i];
    }

    X = solved_linear(A, B, polynomial_n);

    polynomial_system = document.getElementById("polynomial_system");
    polynomial_system.innerHTML = "P(x<sub>1</sub>) = "+polynomial_xs[0].toFixed(2)+"<sup>2</sup>a + "+polynomial_xs[0].toFixed(2)+" b + c = "+polynomial_ys[0].toFixed(2);
    polynomial_system.innerHTML += "<br>";
    polynomial_system.innerHTML += "P(x<sub>2</sub>) = "+pol