Data update

This commit is contained in:
Ingy döt Net 2026-02-01 16:33:20 -08:00
parent 5150844a7d
commit 4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions

View file

@ -7,7 +7,7 @@ def euler_method(df; x1; y1; x2; h):
| [x1, y1]
| recurse( if ((.[0] < x2 and x1 < x2) or
(.[0] > x2 and x1 > x2)) then
[ (.[0] + $h), (.[1] + $h*df) ]
[ (.[0] + $h), (.[1] + $h*df) ]
else empty
end )
| .[1] ;

View file

@ -4,7 +4,7 @@ def euler_solution(df; x1; y1; x2; h):
| [x1, y1]
| recursion( if ((.[0] < x2 and x1 < x2) or
(.[0] > x2 and x1 > x2)) then
[ (.[0] + $h), (.[1] + $h*df) ]
[ (.[0] + $h), (.[1] + $h*df) ]
else empty
end )
| .[1] ;