Page 1 of 1

WRITE A COMPUTER PROGRAM USING ANY LANGUAGE OF YOUR CHOICE THAT WILL IMPLEMENT BAIRSTOWS METHOD FOR FINDING THE ROOTS OF

Posted: Wed May 04, 2022 8:40 am
by answerhappygod
Write A Computer Program Using Any Language Of Your Choice That Will Implement Bairstows Method For Finding The Roots Of 1
Write A Computer Program Using Any Language Of Your Choice That Will Implement Bairstows Method For Finding The Roots Of 1 (128.08 KiB) Viewed 34 times
I prefer c++
WRITE A COMPUTER PROGRAM USING ANY LANGUAGE OF YOUR CHOICE THAT WILL IMPLEMENT BAIRSTOWS METHOD FOR FINDING THE ROOTS OF A GIVEN POLYNOMIAL FUNCTION. PROGRAM INPUT - the program should input the following: a) degree of the polynomial function b) coefficients of the polynomial function PROGRAM OUTPUT - the program should consist of the following: a) echo print of the input data b) Bairstow's table for each Quadratic factor Print only ■ FIRST TABLE ▪ MIDDLE TABLE FINAL TABLE ▪ x² + Ukx + Vk Iteration condition |bn|and |bn-1| < 0.001 TEST DATA: 1. x42x³ + 3x² + 4x + 4 = 0 2. x68x5 + 25x4 - 32x³ - x² + 40x25 = 0 3. x8x739x6 +37x5 + 446x4 – 180x³ – 1928x² - 256x + 1920 = 0 (answer: -2, -2, -2, 4, 4, 1, 3, -5) 4. x87x7 - 11x6 + 41x5 — 183xª + 231x³ + 21x² − 265x + 150 = 0 -