Question: ! ! ! ! ! SOLVE THIS USING REQUIRED GUIDLINES ONLY BASIC THINGS SUCH AS LOOPS AND IF ELSE CONDITION CAN BE USED ITS A

!!!!!SOLVE THIS USING REQUIRED GUIDLINES ONLY BASIC THINGS SUCH AS LOOPS AND IF ELSE CONDITION CAN BE USED ITS A BASIC PROGRAM SO NO COMPLEX THING AND ONLY "IOSTREAM HEADER FILE" (NO CHATGPT OR ANY AI PLS)(C++ ONLY NO C PLS)!!!!!!
Exercise:
Q1: Halley's Method for Determination of roots of polynomial is
xn+1=xn-2f(xn)f'(xn)2f'(xn)2-f(xn)f''(xn)
Write a program to find roots of the following polynomial using Halley's method, precision is 0.0001
f(x)=ax3+bx2+cx+d
Q2: Write an iterative algorithm to implement the following expansion (precision upto 0.0001)
sinx=n=0(-1)n(2n+1)!x2n+1=x-x33!+x55!-cdots, for all xPBL or OEL Statement:
Q: Write a program to find roots of the following polynomial using Halley's Method with precision
0.0001.
f(x)=ax3+bx2+cx+d
Halley's method for determining roots of polynomial is,
xn+1=xn-2f(xn)f'(xn)2f'(xn)2-f(xn)f''(xn)
Q: Write an iterative algorithm to implement the following expansion (precision upto 0.0001)
sin(x)=n=0(-1)n(2n+1)!x2n+1
Deliverables:
C++ code containing the implementation of the above the algorithms.
TMethodology:
Follow methods provided in the lab manual for implementing above algorithms.
Guidelines:
Understand the concept of Halley's Method and how it can be used to find the roots of
a polynomial
Write a plan for the program, including the algorithm and data structures needed.
Write the code for the program, using appropriate data types and functions to
implement the Halley's Method algorithm.
!
 !!!!!SOLVE THIS USING REQUIRED GUIDLINES ONLY BASIC THINGS SUCH AS LOOPS

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!