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

In Problems 1-10use the finite difference method and the indicated value of nto approximate the solution of the given boundary-value problem.

y"+5y'=4x,      y(1)=1,      y(2)=1;     n=6

Short Answer

Expert verified

y0=4.32317,y2=0.336279,y3=0.841221,y4=1.04362,y5=1.06342

Step by step solution

01

Consider the function

The function is,

y"+5y'=4x,      y(1)=1,      y(2)=1;     n=6

The standard formula is given as,

y''+P(x)y'+Q(x)y=F(x)

02

Compute the constants

The values are,

P(x)=5,Q(x)=0,F(x)=4xh=216h=16

The standard formula is given as,

1+h2Piyi+1+2+h2Qiyi+1h2Piyi1=h2fi

Substitute the values.

1+16×12×5yi+1+2+162×0yi+116×12×5yi1=4xi1.4167yi+12yi+0.5833yi1=0.111xi

Asn=6i=1,2,3,4,5.

For,

i=1x1=16=0.167i=2x2=26=0.333i=3x3=36=0.5i=4x4=46=0.667i=5x5=56=0.833

03

Compute the equations

Substitute the values of variables in the equation.

i=11.4167y22y1+0.5833y0=0.0453i=21.4167y32y2+0.5833y1=0.0641i=31.4167y42y3+0.5833y2=0.0078i=41.4167y52y4+0.5833y3=0.090i=51.4167y62y5+0.5833y4=0.1014

Substitute the boundary values, y1=1,      y6=1 in the equations.

1.4167y22+0.5833y0=0.04531.4167y32y2+0.5833=0.06411.4167y42y3+0.5833y2=0.00781.4167y52y4+0.5833y3=0.0901.41672y5+0.5833y4=0.1014

04

Final answer

Use computer algebra system to compute the values.

y0=4.32317,y2=0.336279,y3=0.841221,y4=1.04362,y5=1.06342

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