Anonymous user
Euler method: Difference between revisions
→{{header|Maple}}
Line 1,746:
Hard-coded procedure:
<lang Maple>f := y -> (-0.07) * (y - 20):
EulerMethod := proc(f, start_time, end_time, y0, h) # y0: initial value #h: step size
local cur, y, rate:
|