Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Repeat 6.18using x(0)=2

Short Answer

Expert verified

The value of x from the given polynomial equation isx=-3.61 with tolerance levelε=0.001.

Step by step solution

01

Given Data

A polynomial equation fx=ywithy=0andfx=x38x2+2x-40.

Initial value,x0=-2with tolerance levelε=0.001.

02

Use Newton-Raphson method

The general formula for Newton – Raphson method is,

x(i+1)=x(i)+J(i)-1[y-f(x(i))] …… (1)

Here,J(i)=dfdxx-x(i)=[af1ax1af1ax2af1ax1af2ax1af2ax2af1axNafNax1afNax2afNaxN]x-x(i)istheJacobianmatrix.

03

Rewrite the polynomial f(x)in general form of Newton-Raphson method

Substitute (X3+8x2+2x-40)for fxin equation (1) and 0 for y as given in the data,

xi+1=xi+1Ji0-xi3+8xi2+2xi-40 …… (2)

Now calculate Ji.

Ji=dfdxx-xi=dx3+8x2+2x-40dxx-xi=3x2+16x+2x-xi

Now substitute the value of Jiin equation (2)

xi+1=xi+13x2+16x+20-xi3+8xi2+2xi-40=xi+-xi-8x-2xi2+403xi2+16xi+2 …… (3)

04

Step 4:Determine the first iteration, placing initial conditions

Fori=0,

xi+1=xi+-xi3-8xi2-2xi+403xi2+16xi+2x0+1=x0+-x03-8x02-2x0+403x02+16x0+2x1=2+-23-822-22+40322+162+2x1=-2+8-32-+4+4012-32+2

Further solving,

x1=-2+8-32-+4+4012-32+2=-2+20-18=-5618=-3.11

05

Step 5:Determine the second iteration

For i=1,

Substitute -3.11 forX1in equation (3),

xi+1=xi+-xi3-8xi2-2xi+403xi2+16xi+2xi+1=x1+-x13-8x12-2x1+403x12+16x1+2x2=3.11+-3.113-83.112-23.11+4033.112+163.11+2x2=3.11+30.08-89.67-23.11+4035.66+16-3.11+2

Further solving,

x2=3.11+30.08-89.67-23.11+4035.66+16-3.11+2=-3.11+-1.06-30.78=-94.6630.78=-3.07

Calculate tolerance level,

x2-x1x1<ε-3.07+3.11-3.11<ε0.043.11<ε0.012<ε

The above value comes down to 0.012 which is not less than the value of tolerance level that is 0.001. So go to next iteration process, till the value of calculated becomes less than 0.001.

Using the Newton Raphson method, after 3 iterations, the value of tolerance level becomes less than 0.001, and the final value is achieved to bex=-3.61.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free