Skip to content

Commit bf7923a

Browse files
Amarasberquist
authored andcommitted
EUler method, version 2.1
1 parent 05a9720 commit bf7923a

File tree

1 file changed

+1
-1
lines changed
  • contents/forward_euler_method/code/coconut

1 file changed

+1
-1
lines changed

contents/forward_euler_method/code/coconut/euler.coco

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ if __name__ == '__main__':
2222
n = 100
2323
threshold = 0.01
2424

25-
result = list(forward_euler(time_step, n))
25+
result = forward_euler(time_step, n)
2626
approx = check(result, threshold, time_step)
2727
print("All values within threshold") if approx else print("Value(s) not in threshold")

0 commit comments

Comments
 (0)