Cynthia Joubi
asked on
Root finding program Newton's Method?
I need help writing a root finding problem using Newton's Method for the following equation:
y = sin(x) − 0.15x + 1.5
I want to use a tolerance of 1.0e-4 and double precision to find all roots (5 total) of the equation.
I would like some assistance on how to go about writing the derivative function to better understand the main program too. Any help is appreciated.
Thanks!
y = sin(x) − 0.15x + 1.5
I want to use a tolerance of 1.0e-4 and double precision to find all roots (5 total) of the equation.
I would like some assistance on how to go about writing the derivative function to better understand the main program too. Any help is appreciated.
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Much appreciated.