c1ddb4c814 2021-03-01 jeff@gridfini: % function analysis
c1ddb4c814 2021-03-01 jeff@gridfini:
c1ddb4c814 2021-03-01 jeff@gridfini: f:=3*x^3-7*x^2;
c1ddb4c814 2021-03-01 jeff@gridfini: fp:=df (f, x);
c1ddb4c814 2021-03-01 jeff@gridfini: fpp:=df (fp, x);
c1ddb4c814 2021-03-01 jeff@gridfini:
c1ddb4c814 2021-03-01 jeff@gridfini: % zeroes
c1ddb4c814 2021-03-01 jeff@gridfini: solve (f, x);
c1ddb4c814 2021-03-01 jeff@gridfini: % extremes
c1ddb4c814 2021-03-01 jeff@gridfini: solve (fp, x);
c1ddb4c814 2021-03-01 jeff@gridfini: % reversal points
c1ddb4c814 2021-03-01 jeff@gridfini: solve (fpp, x);
c1ddb4c814 2021-03-01 jeff@gridfini:
c1ddb4c814 2021-03-01 jeff@gridfini: % integration of 2nd derivative
c1ddb4c814 2021-03-01 jeff@gridfini: f1:=int (fpp, x);
c1ddb4c814 2021-03-01 jeff@gridfini: % integration of 1st derivative
c1ddb4c814 2021-03-01 jeff@gridfini: f0:=int (f1, x);
c1ddb4c814 2021-03-01 jeff@gridfini: f0:=int (fp, x);
c1ddb4c814 2021-03-01 jeff@gridfini:
c1ddb4c814 2021-03-01 jeff@gridfini: end;