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 use h=0.2and then use h=0.1. Use a numerical solver and to graph the solution in a neighborhood of t=0.

x'=y+ty'=xtx(0)=3,     y(0)=5

Short Answer

Expert verified

hy1x10.24.28733.90970.14.633.482

Step by step solution

01

Consider the equations and the conditions

The equations and the initial conditions are,

x'=y+ty'=xtx(0)=3,     y(0)=5

02

Compute the constants

Considerh=0.2,t=0

The values are,

k1=f(t0,x0,y0)=xt=30=3m1=g(t0,x0,y0)=y+t=5+0=5

k2=ft0+12h,x0+12hm1,y0+12hk1=x+12hm1t+12h=30.50.1=3.6m2=gt0+12h,x0+12hm1,y0+12hk1=y+12hk1+t+12h=5+0.3+0.1=4.6

k3=ft0+12h,x0+12hm2,y0+12hk2=x+12hm2t+12h=3.460.1=3.54m3=gt0+12h,x0+12hm2,y0+12hk2=y+12hk2+t+12h=5+0.36+0.1=4.5

k4=ft0+12h,x0+12hm3,y0+12hk3=x+12hm3t+12h=3.90.2=4.1m4=gt0+12h,x0+12hm3,y0+12hk3=y+12hk3+t+12h=5+0.708+0.2=4.092

03

Compute the equations

Substitute the values of variables in the equation.

y1=y0+h6k1+2k2+2k3+k4y1=5+0.26(3+2(3.6)+2(3.54)4.1)y1=4.2873

x1=x0+h6m1+2m2+2m3+m4x1=3+0.26(5+2(4.6)+2(4.5)+(4.092))x1=3.9097

04

Compute the constants

Considerh=0.1,t=0

The values are,

k1=f(t0,x0,y0)=xt=30=3m1=g(t0,x0,y0)=y+t=5+0=5

k2=ft0+12h,x0+12hm1,y0+12hk1=x+12hm1t+12h=3.250.05=3.3m2=gt0+12h,x0+12hm1,y0+12hk1=y+12hk1+t+12h=4.85+0.05=4.8

k3=ft0+12h,x0+12hm2,y0+12hk2=x+12hm2t+12h=3.240.05=3.29m3=gt0+12h,x0+12hm2,y0+12hk2=y+12hk2+t+12h=4.835+0.05=4.785

k4=ft0+12h,x0+12hm3,y0+12hk3=x+12hm3t+12h=3.23930.05=3.2893m4=gt0+12h,x0+12hm3,y0+12hk3=y+12hk3+t+12h=4.8355+0.05=4.7855

05

Compute the equations

Substitute the values of variables in the equation.

y1=y0+h6k1+2k2+2k3+k4y1=5+0.16(3+2(3.3)+2(3.29)+(4.785))y1=4.63

x1=x0+h6m1+2m2+2m3+m4x1=3+0.16(5+2(4.8)+2(4.785)+(4.7855))x1=3.482

y1=4.63,x1=3.482

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