Sacant Method
Sacant Method
Sacant Method
𝑓(𝑥_𝑖)=(7)^2−3(7)−4=24
2
𝑓 𝑥𝑖 − 1 = 5 − 3 5 − 4 = 6
𝑥𝑖 + 1 = 𝑋2 = 7 − (24 ∗ (5 − 7))/(6 − 24) = 4.33
4.33 − 7
𝐸𝑟𝑟𝑜𝑟 = ∗ 100
4.33
𝐸𝑟𝑟𝑜𝑟 = −61.66%
I X1 X0 f(Xi) f(Xi+1) X2 Error f(Xa)->
(X(i+1)-X(i)/X(i+1))*100
Xi=7 Xi-1=5
2 4.33 7 1.76 24 4.12 -5.097%
𝐸𝑟𝑟𝑜𝑟 = −5.097%
I X1 X0 f(Xi) f(Xi+1) X2 Error f(Xa)->
(X(i+1)-X(i)/X(i+1))*100
Xi=7 Xi-1=5
3 --------------- --------------- --------------- --------------- --------------- ---------------
𝑋𝑖 + 1 = 𝑓(𝑋𝑖 − 1) = 𝑓(𝑋𝑖) =
𝐸𝑟𝑟𝑜𝑟 =
I X1 X0 f(Xi) f(Xi+1) X2 Error f(Xa)->
(X(i+1)-X(i)/X(i+1))*100
Xi=7 Xi-1=5
4 --------------- --------------- --------------- --------------- --------------- ---------------
𝑋𝑖 + 1 = 𝑓(𝑋𝑖 − 1) = 𝑓(𝑋𝑖) =
𝐸𝑟𝑟𝑜𝑟 =
The secant method is based on Newton's method, where computing the
derivative is not required.
It is easier to calculate the roots with the secant method than with Newton's
method because with the secant we start from two points (and not just one
like Newton's method) estimate the tangent (that is, the slope of the
straight).
You can perform the algorithm in MATLab or Octave to find the roots using
the secant method.