The problem I have is the initial value problem y′′′=x+y with y(1)=3,y′(1)=2,y′′(1)=1 that should be solved with Eulers method using the step length, h=1/2.

Sandra Terrell

Sandra Terrell

Answered question

2022-08-12

The problem I have is the initial value problem
y = x + y
with
y ( 1 ) = 3 , y ( 1 ) = 2 , y ( 1 ) = 1
that should be solved with Eulers method using the step length, h = 1 2 .

The iteration step for Eulers method is y n + 1 = y n + h f ( x n , y n ). So I should need a system of equations of my initial values I have. I started with substituting:
U 1 = y , U 2 = y , U 3 = y
and then
U 1 = U 2 , U 2 = U 3 , U 3 = x + U 1
And it's here I'm stuck, I don't understand how I should start iterate with the step-length from here, I have only encounteblack first-order problem with Eulers method so I would love if someone could point me in the right direction.

Answer & Explanation

tangouwn

tangouwn

Beginner2022-08-13Added 13 answers

y ( 1 ) = y ( 1 ) + ( x = 1 ) To get it going.
y ( 1 + 1 h ) = y ( 1 ) + y ( 1 ) h
y ( 1 + 1 h ) = y ( 1 ) + y ( 1 ) h
y ( 1 + 1 h ) = y ( 1 ) + y ( 1 )
y ( 1 + 1 h ) = y ( 1 ) + ( x = 1 )
repeat from step 2
June Mejia

June Mejia

Beginner2022-08-14Added 4 answers

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?