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 7-12 use the Runge-Kutta method to approximate x(0.2)and y(0.2). First useh=0.2 and then use h=0.1. Use a numerical solver and h=0.1to graph the solution in a neighborhood of t=0 .

x'+4xy'=7tx'+y'2y=3tx(0)=1,     y(0)=2

Short Answer

Expert verified

hy1x10.22.0780.32480.10.15850.154

Step by step solution

01

Consider the equations and the conditions

The equations and the initial conditions are,

x'+4xy'=7tx'+y'2y=3tx(0)=1,     y(0)=2

Add the equations.

x'=5t2x+y

Subtract the equations.

y'=2x2t+y

02

Compute the constants

Consider h=0.2,t=0

The values are,

k1=f(t0,x0,y0)=2x2t+y=202=0m1=g(t0,x0,y0)=5t2x+y=022=4

k2=ft0+12h,x0+12hm1,y0+12hk1=2x+12hm12t+12h+y+12hk1=2(1.2)2(0.1)2=0.2m2=gt0+12h,x0+12hm1,y0+12hk1=5t+12h2x+12hm1+y+12hk1=5(0.1)2(1.2)2=3.9

k3=ft0+12h,x0+12hm1,y0+12hk1=2x+12hm22t+12h+y+12hk2=2(0.61)2(0.1)1.98=0.96m3=gt0+12h,x0+12hm1,y0+12hk1=5t+12h2x+12hm2+y+12hk2=5(0.1)2(0.61)1.98=2.7

k4=ft0+12h,x0+12hm1,y0+12hk1=2x+12hm32t+12h+y+12hk3=2(0.73)2(0.1)2.096=0.836m4=gt0+12h,x0+12hm1,y0+12hk1=5t+12h2x+12hm3+y+12hk3=5(0.1)2(0.73)2.096=3.056

03

Compute the equations

Substitute the values of variables in the equation.

y1=y0+h6k1+2k2+2k3+k4y1=2+0.26(0+2(0.2)+2(0.96)0.836)y1=2.078

x1=x0+h6m1+2m2+2m3+m4x1=1+0.26(4+2(3.9)+2(2.7)3.056)x1=0.3248

04

Compute the constants

Consider h=0.1,t=0

The values are,

k1=f(t0,x0,y0)=2x2t+y=202=0m1=g(t0,x0,y0)=5t2x+y=022=4

k2=ft0+12h,x0+12hm1,y0+12hk1=2x+12hm12t+12h+y+12hk1=2(0.8)2(0.05)2=0.5m2=gt0+12h,x0+12hm1,y0+12hk1=5t+12h2x+12hm1+y+12hk1=5(0.05)2(0.8)2=3.35

k3=ft0+12h,x0+12hm1,y0+12hk1=2x+12hm22t+12h+y+12hk2=2(0.8325)2(0.05)2.025=0.46m3=gt0+12h,x0+12hm1,y0+12hk1=5t+12h2x+12hm2+y+12hk2=5(0.05)2(0.8325)2.025=3.44

k4=ft0+12h,x0+12hm1,y0+12hk1=2x+12hm32t+12h+y+12hk3=2(0.828)2(0.1)2.023=0.567m4=gt0+12h,x0+12hm1,y0+12hk1=5t+12h2x+12hm3+y+12hk3=5(0.1)2(0.828)2.023=3.179

05

Compute the equations

Substitute the values of variables in the equation.

y1=y0+h6k1+2k2+2k3+k4y1=0.2+0.16(0+2(0.5)+2(0.46)0.567)y1=0.1585

x1=x0+h6m1+2m2+2m3+m4x1=0.5+0.16(4+2(3.35)+2(3.44)3.179)x1=0.154

y1=0.1585,x1=0.154

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

Most popular questions from this chapter

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free