Math, asked by amityadav38922, 3 months ago

write the matlab program for solving first order ordinary differential equation by euler's method

Answers

Answered by Bad0BoY
5

Answer:

hlo✔

have a problem that requres taking a second order ODE and decomposing it into 2 first-order ODEs, then approximating a solution using Euler's explicit ...

be ☺

Answered by Cameila3344
2

Answer:

The equation to be used is y’ +2y = 2 – e -4t.

y(0) = 1, which has an exact solution:

y(t) = 1 + 0.5 e -4t - 0.5 e -2t .

I did the following to solve numerically: 1+(0.5e^-4t) - (0.5e^-2(0)) y_n+1=1+0.1 and y_n+1=1+1(.001)

The step sizes are 0.1 and 0.001. (so my h in this example). The t values range from 0.1 to 5.0.

pls mark me as the brainlist

Similar questions