Skip to content

Commit

Permalink
EUler method, version 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Amaras authored and berquist committed Dec 29, 2021
1 parent 05a9720 commit bf7923a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contents/forward_euler_method/code/coconut/euler.coco
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ if __name__ == '__main__':
n = 100
threshold = 0.01

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

0 comments on commit bf7923a

Please sign in to comment.