Use the improved Euler’s method subroutine with step size h = 0.1 to approximate the solution to y'=4cos(x+y),y(0)=0, at the points x=0,0.1,0.2,...,1.0. Use your answers to make a rough sketch of the solution on [0,1].

Short Answer

Expert verified

The required result is

x=0,y=1,x=0.1,y=0.158447,x=0.2,y=0.4988,x=0.3,y=0.7418,

x=0.4,y=0.88777,x=0.5,y=0.95787,x=0.6,y=0.9730,x=0.7,y=0.952329

x=0.8,y=0.906359,x=0.9,y=0.843228,x=1,y=0.768434

Step by step solution

01

Important formula.

For finding the values ofanduse Euler’s formula,

xn+1=xn+hyn+1=xn+h2F+G

02

find the equation of approximation value

Here y'=4cosx+y,y0=0, for 0x1.

Forh=0.1,x=0,y=1,N=10

F=fx,y=4cosx+yG=fx+h,y+hF=4cosx+y+0.1+0.4cosx+y

03

solve for x1 and y1

Apply initial points xo=0,yo=1,h=0.1

F0,1=2.16121G0,1=1.00773

xn+1=xn+hyn+1=xn+h2F+G

x1=0+0.1=0.1y1=0+0.122.16121+1.00773=0.158447

04

evaluate the value of x2 and u=y2.

Now, the value of F and G

F0.1,0.158447=3.86715G0.1,0.158447=2.93991x2=0.1+0.1=0.2y2=0.4988

05

determine the all-other values

Apply the same procedure for all other values and the values are

x=0.2,y=0.4988x=0.3,y=0.7418x=0.4,y=0.88777x=0.5,y=0.95787x=0.6,y=0.9730x=0.7,y=0.952329x=0.8,y=0.906359x=0.9,y=0.843228x=1,y=0.768434

06

plot a graph for all values.

By putting the values of x and y can draw a graph.

Therefore, this is the required result.

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

Let c >0. Show that the function ϕ(x)=(c2-x2)-1is a solution to the initial value problemdydx=2xy2,y(0)=1c2,on the interval-c<x<c. Note that this solution becomes unbounded as x approaches ±c. Thus, the solution exists on the interval(-δ,δ) with δ=c, but not for largerδ. This illustrates that in Theorem 1, the existence interval can be quite small (IFC is small) or quite large (if c is large). Notice also that there is no clue from the equationdydx=2xy2 itself, or from the initial value, that the solution will “blow up” atx=±c.

Lunar Orbit. The motion of a moon moving in a planar orbit about a planet is governed by the equations d2xdt2=-Gmxr3,d2ydt2=-Gmyr3where r=(x2+y2)12, G is the gravitational constant, and m is the mass of the planet. Assume Gm = 1. When x(0)=1,x'(0)=y(0)=0,y'(0)=1the motion is a circular orbit of radius 1 and period 2π.

(a) The setting x1=x,x2=x',x3=y,x4=y'expresses the governing equations as a first-order system in normal form.

(b) Using localid="1664116258849" h=2π1000.0628318,compute one orbit of this moon (i.e., do N = 100 steps.). Do your approximations agree with the fact that the orbit is a circle of radius 1?

In problems 1-6, identify the independent variable, dependent variable, and determine whether the equation is linear or nonlinear.

t3d3xdt32+3t-x=0

Consider the question of Example 5 ydydx-4x=0

  1. Does Theorem 1 imply the existence of a unique solution to (13) that satisfiesy(x0)=0?
  2. Show that when x00equation (13) can’t possibly have a solution in a neighbourhood of x=x0that satisfies y(x0)=0.
  3. Show two distinct solutions to (13) satisfying y(0)=0 ( See Figure 1.4 on page 9).

In problems 1-6, identify the independent variable, dependent variable, and determine whether the equation is linear or nonlinear.

5dxdt+5x2+3=0

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