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)
Citar como
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. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Mathematics and Optimization > Optimization Toolbox > Systems of Nonlinear Equations > Newton-Raphson Method >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.