Question: Use the Secant method, and False position method to approximate a solution of x ^ 2 - 1 - e ^ ( ( 1 -

Use the Secant method, and False position method to approximate a solution of x^2-1-e^((1-x^2))=0 in [0,-2] within the accuracy 10^(-5).
Find the number of iterations needed for each method to get this accuracy.
In each iteration, display the iteration number, approximation, and accuracy for all methods.
Use this formula
For false
Pn+1= bn - f(bn)(an - bn)/( f(an)-f(bn))
Secant
: x2=x1-f(x1)(x1-x0)/
( f(x1)-f(x0))
a=0 b=-2
X0=0 b=-2
So now show me all iterations to reach accurate 10^-5
Do it manually by caculation and script code in matlab and show me all results and iterations
Note: i need both matlab results and manual calculations is same.

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 Programming Questions!