Question: Construct a system of 4 nonlinear equations using the combination of sin(x), cos(x). Xi, Xi3, exp(%), i = 1,2,3,4. The equation format looks like the

Construct a system of 4 nonlinear equations using the combination of sin(x), cos(x). Xi, Xi3, exp(%), i = 1,2,3,4. The equation format looks like the following: 8 fi(x)-sin(x) + 2x22-X3X42 + X4 = 0. You can use any combinations, but try to be relatively simple. Then, you will have the following system of 4 nonlinear equations: fi(x) 0 2(x) 0, Or in vector format: F(x) 0. Write a matlab program that in each step, you need to solve a system of linear equations for the increment, write a subroutine to solve this linear system using the LU decomposition with pivoting plus forward and backward scheme. In the main program, you will repeatedly call the subroutine of the linear systems to move forward
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
