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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!