Question: Please write full code (Full Answer ) Write a matlab program to find out the root of equation f(x)=x^3-10x-5, using false-position method. Use initial and
Please write full code (Full Answer )
Write a matlab program to find out the root of equation f(x)=x^3-10x-5, using false-position method. Use initial and upper guesses 2 and 4.
| Hints |
| fxl=feval(f,xl); fxu=feval(f,xu); if fxl*fxu>0, error('No sign change') xr=xu-fxu*(xl-xu)/(fxl-fxu); fxr=feval(f,xr); |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
