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 to Expert-Tailored 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

Recommended Textbook for

SQL Server T-SQL Recipes

Authors: David Dye, Jason Brimhall

4th Edition

1484200616, 9781484200612

More Books

Students also viewed these Databases questions

Question

7. How many shares were offered to the public?

Answered: 1 week ago