y′+y=3e2t , y(0)=1 How can we solve this equation with operator splitting methods in matlab by using forward Euler method?

Julia Chang

Julia Chang

Answered question

2022-09-22

y ( 0 ) = 1
How can we solve this equation with operator splitting methods in matlab by using forward Euler method?

Answer & Explanation

Jaelyn Levine

Jaelyn Levine

Beginner2022-09-23Added 9 answers

y + y = 3 e 2 t y + y = 0 y = y d y y = d t ln y = t + C y = C e t y = C ( t ) e t y = C ( t ) e t C ( t ) e t C ( t ) e t C ( t ) e t + C ( t ) e t = 3 e 2 t C ( t ) e t = 3 e 2 t C ( t ) = 3 e 3 t C ( t ) = 3 e 3 t d t = e 3 t + C 1 y = e t ( e 3 t + C 1 )
and consider the condition that y ( 0 ) = 1
y ( 0 ) = 1 + C = 1 C = 0
so the final answer is
y = e 2 t

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?