Question: PLEASE SOLVE USING MATLAB!!! sin(x)+0.5 2. Iterate f(x) = x - in radians using Xo = 0.5 until the relative error is 10or up cos(x)
PLEASE SOLVE USING MATLAB!!!
sin(x)+0.5 2. Iterate f(x) = x - in radians using Xo = 0.5 until the relative error is 10or up cos(x) to a maximum number of iterations (Nmax = 6). During each iteration, display the value of x; and the relative error Relative Error X;-1 Hint: construct an iterative scheme like Xi+1 = f(x;) as we did for determining the square root of a.(i.e., Xi+1 = x; cos(x;) X;X-11. sin(x;)+0.5)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
