- #1
Math10
- 301
- 0
Homework Statement
Use Euler's method with h=0.1 to find approximate values of the solution of the initial-value problem y'+3y=7e^(4x), y(0)=2 at x=0, 0.1, 0.2, 0.3, ..., 1.0.
Homework Equations
f(x, y)=7e^(4x)-3y
x0=0, y0=2
The Attempt at a Solution
y(0.1)=y1=y0+f(0, 2)(0.1)=2+(0,1)f(0, 2)=2.1
y(0.2)=y2=y1+f(0.1, 2.1)(0.1)=2.1+(0.1)f(0.1, 2.1)=2.51428
And so on...
But am I doing it right? If not, then please correct me.