5f892713c3 2021-03-03 1: %%%%%%%%%%%%%%%%%%%%%
5f892713c3 2021-03-03 2: % CALCULUS
5f892713c3 2021-03-03 3: %%%%%%%%%%%%%%%%%%%%%
5f892713c3 2021-03-03 4:
5f892713c3 2021-03-03 5: % Specify blue for echoed input
5f892713c3 2021-03-03 6: color("Blue");
5f892713c3 2021-03-03 7:
5f892713c3 2021-03-03 8: % Turn on fancy output
5f892713c3 2021-03-03 9: fancy_output;
5f892713c3 2021-03-03 10:
5f892713c3 2021-03-03 11: % Turn input echo on
5f892713c3 2021-03-03 12: on echo;
5f892713c3 2021-03-03 13:
5f892713c3 2021-03-03 14: % Differentiation
5f892713c3 2021-03-03 15: % df/dx
5f892713c3 2021-03-03 16: df(x^x,x);
5f892713c3 2021-03-03 17:
5f892713c3 2021-03-03 18: % Multivariate Differentiation
5f892713c3 2021-03-03 19: % df/((dx)(dy^2)(dz))
5f892713c3 2021-03-03 20: df(x*exp(i*y)*log(z), x, 1, y, 2, z, 1);
5f892713c3 2021-03-03 21:
5f892713c3 2021-03-03 22: % Integration
5f892713c3 2021-03-03 23: % indefinite integral with respect to x
5f892713c3 2021-03-03 24: int(x^2 + x*sin(x), x);
5f892713c3 2021-03-03 25:
5f892713c3 2021-03-03 26: % SI(x)
5f892713c3 2021-03-03 27: int(sin(x)/x,x);
5f892713c3 2021-03-03 28:
5f892713c3 2021-03-03 29: % Integral in interval [-oo, oo]
5f892713c3 2021-03-03 30: int(exp(-x^2), x,-infinity,infinity);
5f892713c3 2021-03-03 31:
5f892713c3 2021-03-03 32: % Integral with logarithms
5f892713c3 2021-03-03 33: int(log(log(x)),x);
5f892713c3 2021-03-03 34:
5f892713c3 2021-03-03 35: % Turn off echo
5f892713c3 2021-03-03 36: off echo;