Question: Write a C program to find the roots for the following polynomial using Newton-Raphson method. F(x) = Ax^3 + Bx^2 + Cx + D Where

Write a C program to find the roots for the following polynomial using Newton-Raphson method.

F(x) = Ax^3 + Bx^2 + Cx + D

Where A, B, C and D are coefficients/constant of the polynomial. The program should ask the user to enter the values for each and also the initial value of estimated root value.

Use 10 decimal places for precision.

Expected exact input and output.

I keep getting 1.2500000000 in the first estimation while I need 1.000000000

Write a C program to find the roots for the following polynomial

Finding root for three degree polynomial Ax 3 Bx 2 Cx D using Newton-Raphson method Enter value for the following coefficients D nitial root estimate :1.0 1 1.0000000000 Estimate 2 Estimate 1.1250000000 3 Estimate 1.1149754501 4 Estimate 1.1149075446 5 Estimate 1.1149075415 Approximate solution 1.1149075415

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