Origin for each line in src/example03.red from check-in 5ce5316a33:

5ce5316a33 2021-03-01    1: % function analysis
5ce5316a33 2021-03-01    2: 
5ce5316a33 2021-03-01    3: f:=3*x^3-7*x^2;
5ce5316a33 2021-03-01    4: fp:=df (f, x);
5ce5316a33 2021-03-01    5: fpp:=df (fp, x);
5ce5316a33 2021-03-01    6: 
5ce5316a33 2021-03-01    7: % zeroes
5ce5316a33 2021-03-01    8: solve (f, x);
5ce5316a33 2021-03-01    9: % extremes
5ce5316a33 2021-03-01   10: solve (fp, x);
5ce5316a33 2021-03-01   11: % reversal points
5ce5316a33 2021-03-01   12: solve (fpp, x);
5ce5316a33 2021-03-01   13: 
5ce5316a33 2021-03-01   14: % integration of 2nd derivative
5ce5316a33 2021-03-01   15: f1:=int (fpp, x);
5ce5316a33 2021-03-01   16: % integration of 1st derivative
5ce5316a33 2021-03-01   17: f0:=int (f1, x);
5ce5316a33 2021-03-01   18: f0:=int (fp, x);
5ce5316a33 2021-03-01   19: 
5ce5316a33 2021-03-01   20: end;

olli-scripts
English Homepage | German Homepage | DL2MIE | GitHub Mirror | SourceHut Mirror | NotABug Mirror | Chisel Mirror | Chisel RSS ]