MCPcopy Create free account
hub / github.com/algorithm-archivists/algorithm-archive / main

Function main

contents/forward_euler_method/code/c/euler.c:26–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26int main() {
27 double result[100];
28 double threshold = 0.01;
29 double timestep = 0.01;
30
31 solve_euler(timestep, result, 100);
32 printf("%d\n", check_result(result, 100, threshold, timestep));
33
34 return 0;
35}

Callers

nothing calls this directly

Calls 2

solve_eulerFunction · 0.70
check_resultFunction · 0.70

Tested by

no test coverage detected