Newton-Raphson Method for a nonlinear System of 3 variables
The function returns the solution of three equations in three variables using the Newton-Raphson method. The inputs are symbolic functions, initial guesses and number of iterations.
Here's an example;
syms x y z
u=3*x-cos(y*z)-1.5; v=4*x-625*(y^2)+2*z-1; w=20*z+exp(-x*y)+9;
xo=1;yo=2;zo=3;n=20,
Newton_Raphson(u,v,w,xo,yo,zo,n)
Zitieren als
Ibrahim Abouemira (2024). Newton-Raphson Method for a nonlinear System of 3 variables (https://www.mathworks.com/matlabcentral/fileexchange/71593-newton-raphson-method-for-a-nonlinear-system-of-3-variables), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Mathematics and Optimization > Optimization Toolbox > Systems of Nonlinear Equations > Newton-Raphson Method >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.2 | Description and name updated |
||
1.0.1 | Name updated |
||
1.0.0 |