Q. 53

Question

Exercises 53-58, use Euler's method with the given Δx to approximate four additional points on the graph of the solution y(x). Use these points to sketch a piecewise-linear approximation of the solution.

dydx=-2y,y(0)=3;  Δx=0.25

Step-by-Step Solution

Verified
Answer

The four additional points are (0,3),(0.25,1.5),(0.5,0.75),(0.75,0.375),(1,0.1875) and the graph is 


1Step 1. Given information

Given expression dydx=-2y,y(0)=3;  Δx=0.25

2Step 2: Use Euler's rule and calculate

Calculating, we get

xk+1,yk+1=xk+Δx,yk+Δyk;Δyk=gxk,ykΔxg(x, y)=-2 yk=0,1,2,3x0,y0=(0,3)x1,y1=x0+Δx,y0+gx0,y0Δx=(0+0.25,3-6(0.25))=(0.25,1.5)x2,y2=x1+Δx,y1+gx1,y1Δx=(0.5,1.5-3(0.25))=(0.5,0.75)x3,y3=x2+Δx,y2+gx2,y2Δx=(0.75,0.75-1.5(0.25))=(0.75,0.375)x4,y4=x3+Δx,y3+gx3,y3Δx=(1,0.375-0.75(0.25))=(1,0.1875)

3Step 3: Plot the points and join the line segments

Plotting, we get