
Nitesh T. answered 10/17/19
Tutor
5
(7)
2 yrs experience of tutoring differential equation
Using numerical methods like Bisection Method/ Secant Method or using the fastest of all, Newton Raphson method.
Newton Raphson method requires you to find the derivative of the function.
The formula is as below:
xn+1=xn - f(xn)/f'(xn)
Steps to solve:
- Find derivative of f(x) that is f’(x)
- 1st value of Xn say X0 is an assumed value. Value can be assumed by calculating value of function between 2 numbers such that the value of function has opposite signs. For eg assumed 2 numbers a and b. Find f(a) and f(b). If they have opposite signs then your root lies between a and b. Thus choose any value of X0 between a and b.
- Find f(X0) and f’(X0).
- Find X1 using formula mentioned above.
- Find % difference between X0 and X1. If it is less than 5% X1 is your answer. If not, find f(X1) and f’(X1). Find X2 using above formula. Calculate % change between X1 and X2. If less than 5%, then X2 is your answer, if not repeat step 5.