diff --git a/README.md b/README.md index a6f9b06..bf3e33e 100644 --- a/README.md +++ b/README.md @@ -10,17 +10,17 @@ Result will be printed to standart output in the following format: Newton polynomial form: -f_0 - f_1*(x-x_0) + ... + f_n(x-x_0)*(x-x_1)*...*(x-x_{n-1}) +$$f_0 - f_1*(x-x_0) + ... + f_n(x-x_0)*(x-x_1)*...*(x-x_{n-1})$$ Simplified coefficients array (starting from 0 upto n-1 power): -a_0 a_1 ... a_{n-1} a_n +$$a_0 a_1 ... a_{n-1} a_n$$ Polynomial in monic form: -a_0 - a_1*x + ... + a_{n-1}*x^(n-2) + a_n*x^(n-1) +$$a_0 - a_1*x + ... + a_{n-1}*x^(n-2) + a_n*x^(n-1)$$ -Where f_i is a divided difference of y_1,...,y_i, a_i are coefficients of resulting monic polynomial +Where $f_i$ is a divided difference of $y_1,...,y_i$, $a_i$ are coefficients of resulting monic polynomial ## Data structure