RosettaCodeData/Task/Euler-method/Racket/euler-method-2.rkt

3 lines
69 B
Racket
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
(define (euler F h)
(λ (x y) (list (+ x h) (+ y (* h (F x y))))))