diff options
Diffstat (limited to 'tests/BS23.cpp')
-rw-r--r-- | tests/BS23.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/BS23.cpp b/tests/BS23.cpp index 91a5b67..2c030d6 100644 --- a/tests/BS23.cpp +++ b/tests/BS23.cpp @@ -23,11 +23,11 @@ #include <iostream> #include <iomanip> -// y' = y (y == C*exp(x)) +// y' = x*y (y == C*exp(x^2/2)) double f(double x, double y) { - return y; + return x*y; } int |