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

Use the fourth-order Runge–Kutta subroutine with h= 0.25 to approximate the solution to the initial value problem y'=2y-6,y(0)=1, at x= 1. (Thus, input N= 4.) Compare this approximation to the actual solution y=3-2e2xevaluated at x= 1.

Short Answer

Expert verified

ϕ(1)=-11.7679

Step by step solution

01

Find the values of ki i = 1, 2, 3, 4

Since f(x,y)=2y-6and x = 0, y = 1 and h = 0.25

k1=hf(x,y)=0.25(2(1)-6)=-1k2=hfx+h2,y+k12=-1.25k3=hfx+h2,y+k22=-1.3125k4=hfx+h,y+k3=-1.65625

02

Find the values of x and y

x=0+0.25=0.25y=1+16k1+2k2+2k3+k4=1+16(-1-2(1.25)-2(1.3125)-1.65625)=-0.29688

03

Use values of x and y for finding values of  ki i = 1, 2, 3, 4

k1=hf(x,y)=0.25(2(-0.29688)-6)=-1.62844k2=hfx+h2,y+k12=-2.06055k3=hfx+h2,y+k22=-2.16358k4=hfx+h,y+k3=-2.73022

Now

x=0.25+0.25=0.5y=1+16k1+2k2+2k3+k4=1+16(-1.64844-2(2.06055-2(2.16358-2.73022)=-2.43470

04

Repeat the procedure for two times

k1=hf(x,y)=0.25(2(-2.43470)-6)=-2.71735k2=hfx+h2,y+k12=-3.39670k3=hfx+h2,y+k22=-3.56652k4=hfx+h,y+k3=-4.50060x=0.5+0.25=0.75y=1+16k1+2k2+2k3+k4=1+16(-2.71735-2(3.39670)-2(3.56652)-4.50060)=-5.95876

And

k1=hf(x,y)=0.25(2(-5.95876)-6)=-4.47938k2=hfx+h2,y+k12=-5.59922k3=hfx+h2,y+k22=-5.87918k4=hfx+h,y+k3=-7.41895x=0.75+0.25=1y=1+16k1+2k2+2k3+k4=-5.95876+16(-4.47938-2(5.59922)-2(5.87918)-7.41895)=-11.7679

Since at x = 1

ϕ(x)=3-2e2xϕ(1)=-11.7781

Theny(1)-ϕ1=0.0120

Hence the solution isϕ(1)=-11.7679

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

A 400-lb object is released from rest 500 ft above the ground and allowed to fall under the influence of gravity. Assuming that the force in pounds due to air resistance is -10V, where v is the velocity of the object in ft/sec determine the equation of motion of the object. When will the object hit the ground?

Sailboats A and B each have a mass of 60 kg and cross the starting line at the same time on the first leg of a race. Each has an initial velocity of 2 m/sec. The wind applies a constant force of 650 N to each boat, and the force due to water resistance is proportional to the velocity of the boat. For sailboat A the proportionality constants arebefore planing when the velocity is less than 5 m/sec andwhen the velocity is above 5 m/sec. For sailboat B the proportionality constants arebefore planing when the velocity is less than 6 m/sec andwhen the velocity is above. If the first leg of the race is 500 m long, which sailboat will be leading at the end of the first leg?

Show that when the improved Euler’s method is used to approximate the solution of the initial value problem y'=4y,y(0)=13, atx=12 , then the approximation with step size his13(1+4h+8h2)12h .

An object of mass 5 kg is released from rest 1000 m above the ground and allowed to fall under the influence of gravity. Assuming the force due to air resistance is proportional to the velocity of the object with proportionality constant b = 50 N-sec/m, determine the equation of motion of the object. When will the object strike the ground?

An RLcircuit with a 5 resistor and a 0.05-H inductor carries a current of 1 A at t= 0, at which time a voltage source E(t) = 5 cos 120tV is added. Determine the subsequent inductor current and voltage.

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