solve the x×e^x-2 by regular falsi method upto 4 decimal points
Answers
Answered by
2
The formula for regula falsi is as follow:
Suppose the root is located between x = a and x = b with a < b
then x1 = a -[(b-a) f(a)]/[f(b) - f(a)]
Let us suppose that f(a) < 0 and f(b) > 0.
f(x1) will be either greater or less than zero (unless you got the root exactly!)
if f(x1) < 0, replace a with x1 and f(a) with f(x1) in the formula and repeat the process to get x2
if f(x1) > 0, replace b with x1 and f(b) with f(x1) in the formula and repeat the process to get x2
I will do the first round for you, then you follow until the 2nd decimal does not change
For your problem a = 0 and b = 1
f(0) = -2 and f(1) = .718282
x1 = 0 - [1-0](-2)/[.718282-(-2)] = .735759
hope it helps :)
Similar questions