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.

x2y"xy'+y=lnx,      y(1)=0,      y(2)=2;     n=8

Short Answer

Expert verified

y0=5.93807,y2=0.29551,y3=0.2276,y4=0.031,y5=0.4109,y6=0.8778,y7=1.41156

Step by step solution

01

Consider the function

The function is,

x2y"xy'+y=lnx,      y(1)=0,      y(2)=2;     n=8

The standard formula is given as,

y"1xy'+1x2y=lnxx2,      y(1)=0,      y(2)=2;     n=8

The standard formula is given as,

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

02

Compute the constants

The values are,

P(x)=1x,Q(x)=1x2,F(x)=lnxx2h=218h=18

The standard formula is given as,

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

Substitute the values.

1+18×12×1xiyi+1+2+182×1x2iyi+118×12×1xiyi1=182lnxixi21116xiyi+1+2+164x2iyi+1+116xiyi1=lnxi64xi2

As n=8i=1,2,3,4,5,6,7.

For,

i=1x1=18i=2x2=28i=3x3=38i=4x4=48i=5x5=58i=6x6=68i=7x7=78

03

Compute the equations

Substitute the values of variables in the equation.

i=10.5y2y1+0.375y0=2.079i=20.75y31.75y2+1.25y1=0.3465i=30.833y41.88y3+1.167y2=0.1089i=40.875y51.9375y4+1.125y3=0.0433i=50.9y61.96y5+1.1y4=0.0188i=60.9167y71.972y6+1.083y5=0.0079i=70.928y81.979y7+1.071y6=0.0027

Substitute the boundary values, y1=0,      y8=2 in the equations.

0.5y2+0.375y0=2.0790.75y31.75y2=0.34650.833y41.88y3+1.167y2=0.10890.875y51.9375y4+1.125y3=0.04330.9y61.96y5+1.1y4=0.01880.9167y71.972y6+1.083y5=0.00791.8561.979y7+1.071y6=0.0027

04

Final answer

Use computer algebra system to compute the values.

y0=5.93807,y2=0.29551,y3=0.2276,y4=0.031,y5=0.4109,y6=0.8778,y7=1.41156

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