Risoluzione di Sistemi di Equazioni Non Lineari

Risoluzione di sistemi di equazioni non lineari con più incognite mediante il metodo iterativo di Newton-Raphson. Poiché il calcolo è implementato in linguaggio JavaScript, le funzioni utilizzabili sono le funzioni matematiche di JavaScript elencate di seguito.

    
Funzioni utilizzabili all'interno dell'equazione:
\(\begin{array}{lll|lll} x^a & \Rightarrow & \mathrm{pow(x,a)} & \sin x & \Rightarrow & \mathrm{sin(x)} \\ \cos x & \Rightarrow & \mathrm{cos(x)} & \tan x & \Rightarrow & \mathrm{tan(x)} \\ \ln x & \Rightarrow & \mathrm{log(x)} & e^x & \Rightarrow & \mathrm{exp(x)} \\ |x| & \Rightarrow & \mathrm{abs(x)} & \arcsin x & \Rightarrow & \mathrm{asin(x)} \\ \arccos x & \Rightarrow & \mathrm{acos(x)} & \arctan x & \Rightarrow & \mathrm{atan(x)} \\ \sqrt{x} & \Rightarrow & \mathrm{sqrt(x)} \\ \\ \pi & \Rightarrow & \mathrm{pi} & e \text{ (numero di Nepero)} & \Rightarrow & \mathrm{esay} \\ \ln 2 & \Rightarrow & \mathrm{LN2} & \ln 10 & \Rightarrow & \mathrm{LN10} \\ \log_{2} e & \Rightarrow & \mathrm{Log2e} & \log_{10} e & \Rightarrow & \mathrm{Log10e} \end{array}\)
Usare il punto (.) come separatore decimale. Ad esempio, scrivere 1.0 invece di 1,0.


Esempio: Risolviamo il seguente sistema di equazioni.
\( \begin{matrix} f_1(x,y)= x*x + y*y - 4 = 0 \end{matrix} \)
\( \begin{matrix} f_2(x,y)= exp(x) + y - 1 = 0 \end{matrix} \)
Per la soluzione, usando valori iniziali come \(x_0 = 1.0\) e \(y_0 = -1.2\), il risultato viene ottenuto cliccando su "Calcola".
NOTA: l’espressione x^2 non è supportata; usare pow(x,2).