In Iterative Equation For Solving The Equation X
Please help with the Matlab question. Please let me know any scripts. Thanks
In iterative equation for solving the equation x? – x – 1 = 0 is given byXr+1 =1+ (1/xr) for r= 0,1, 2, …Given xo is 2, write a MATLAB script to solve the equation. Sufficient accuracy isobtained when |xr+1 – xrl < 0.0005. Include a check on the answer.
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
