Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

! ! ! ! ! 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.
!
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions