How can we use Euler's method to approximate the solutions for the following IVP below:

linziboobeary1o8p

linziboobeary1o8p

Answered question

2022-05-08

How can we use Euler's method to approximate the solutions for the following IVP below:
y = y + t y 1 / 2 ,  with  1 t 2 ,   y ( 1 ) = 2 ,
and with h = 0.5
The main concern is the organization, i.e., set up of it for this particular example.

And, if the actual solution to the IVP above is:
y ( t ) = ( t 2 + 2 e e t / 2 ) 2
then, how to compare the actual error and compare the error bound?

Answer & Explanation

arbotsck8sg

arbotsck8sg

Beginner2022-05-09Added 22 answers

Fix a small step h and iterate:
t 0 = 1 y 0 = y ( 1 ) = 2 t n + 1 = t n + h y n + 1 = y n + h ( y n + t n y n 1 / 2 )
and the value y n y ( t n ) .
Try different small step h = 0.1 , 0.01 , , and compare for all values of t 0 , t 0 + h , t 0 + 2 h , the accuracy between the actual solution y ( t n ) you have and y n you computed.
Jaiden Bowman

Jaiden Bowman

Beginner2022-05-10Added 5 answers

Thanks, good

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?