Question: Consider the following initial value problem. y ' = y - t , y ( 0 ) = 2 . Using a calculator, compute an

Consider the following initial value problem.
y'=y-t,y(0)=2.
Using a calculator, compute an approximation to y(2) using the following methods. How close is each to the exact solution? Round as little as possible between steps.
(a) Compute the exact solution (no calculator necessary).
Solve the differential equation using the method of integrating factors. Then plug
int=2
y(2)=2
(b) Forward Euler with step size t=0.5
Some intermediate steps:
y1=1,
Error in y(2):0.46875
(c) Forward Euler with step size t=0.25
Some intermediate steps:
y1=1.5,y3~~0.918,y5~~0.872,y7~~1.346
Error in y(2):20.22497
(d) Backward Euler with step size t=0.5
Some intermediate steps:
y1~~1.417,y3~~1.602
Error in y(2):0.4012
(e) Backward Euler with step size t=0.25
Some intermediate steps:
y1=1.6125,y3~~1.1845,y5~~1.2306,y7~~1.7601
Error in y(2):0.20806Consider the following initial value problem.
y'=y-t,y(0)=2.
Using a calculator, compute an approximation to y(2) using the following methods. How close is each to the exact solution? Round as little as possible between steps.
(a) Compute the exact solution (no calculator necessary).
Solve the differential equation using the method of integrating factors. Then plug
int=2
y(2)=2
(b) Forward Euler with step size t=0.5
Some intermediate steps:
y1=1,
Error in y(2):0.46875
(c) Forward Euler with step size t=0.25
Some intermediate steps:
y1=1.5,y3~~0.918,y5~~0.872,y7~~1.346
Error in y(2):20.22497
(d) Backward Euler with step size t=0.5
Some intermediate steps:
y1~~1.417,y3~~1.602
Error in y(2):0.4012
(e) Backward Euler with step size t=0.25
Some intermediate steps:
y1=1.6125,y3~~1.1845,y5~~1.2306,y7~~1.7601
Error in y(2):0.20806
Consider the following initial value problem. y '

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!