Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Distributed Relational Database Architecture Connectivity Guide

Authors: Teresa Hopper

4th Edition

0133983064, 978-0133983067

More Books

Students also viewed these Databases questions

Question

4. Investigate the feasibility of the solution(s) and implementor

Answered: 1 week ago

Question

=+ what roles should government play in them ?

Answered: 1 week ago

Question

=+ Why do we have markets and, according to economists,

Answered: 1 week ago