Professional Documents
Culture Documents
Lab 3
Lab 3
Done by :
Hamam Lyes.
Cheboub Mohammed El bachir.
2022/2023.
Introduction
This lab describes the most commun method for solving a system of
nonlinear equations ,namely,the Newton-Raphson method .This is an
iterative method that uses initial values until no change occurs in two
consecutive iterations .we have used matlab as software to selve this type of
equation.
Objective:
The algorithm :
Figure 1: Matlab script.
Comment:
Figure 1 shows our MATLAB algorithm, which takes the input set of
functions and initial guesses, then it starts generating the Jacobian
matrix, after that the algorithm start a number of iteration to find the
solution, if we look at the program we see at line 31 we are working in
according to a function named as NR which is described below :
And the result are as follow :
Conclusion :