comment authored by Frédéric Bapst's avatar Frédéric Bapst
......@@ -462,7 +462,7 @@ public class DerivationDemo {
double res=a*x*x; // the computation can be complex,
res = res + b*x; // with loops, calls, recursion etc.
res = res + 1;
return res;
return res; // f: a X^2 + b X + 1 f': 2aX + b
}
public static void main(String[] args) {
double x=2;
......
......