Solving on numerical method - Euler methods
Apply Euler's method to the following differential equation to estimate the solution at t = 1 starting from the given initial condition. First use one step with Δt = 1, and then use two steps with Δt = .5. Compare with the exact solution w(t) = 2ln(1 + t) + 3.
dw/dt = 2/(1+t), with initial condition w(0) = 3.
t
|
Vt
|
dV/dt
|
Vn = Vc + dV/dt(Δt)
|
0
|
3
|
2
|
5
|
1
|
5
|
|
|
0
|
3
|
2
|
4
|
0.5
|
4
|
1.333333
|
4.666666667
|
1
|
4.666667
|
|
|