Euler method: Difference between revisions

Updated to compile with Nim 1.4. Added missing parameter types.
(Updated to compile with Nim 1.4. Added missing parameter types.)
Line 1,812:
y += h * f(t,y)
 
proc newtoncooling(time, temp: float): float =
-0.07 * (temp - 20)
 
Anonymous user