Numerous fixes to ensure that the metric determinant is differentiated correctly...
[maxima/cygwin.git] / demo / trgsmp.dem
blobbad5215db9bda217e3e6951ef04b2dc7b124dc60
1 (1-sin(x)^2)*cos(x)/cos(x)^2+tan(x)*sec(x)^2;
2 trigsimp(%);
4 tan(x)^2+sec(x)^2/(1-tan(x)*sec(x));
5 trigsimp(%);
8 (sin(x)^4-6*cos(x)^2*sin(x)^2+4*(cos(x)^2-sin(x)^2)+8*sin(x)+cos(x)^4+3)/(8*cos(x)^3);
10 trigsimp(%);
13 sech(x)^2*sinh(x)*tanh(x)/coth(x)^2+cosh(x)^2*sech(x)^2*tanh(x)/coth(x)^2+sech(x)^2*tanh(x)/coth(x)^2;
15 trigsimp(%);
18 -sech(x)^5*(sinh(x)^5+2*(sinh(x)^4+6*cosh(x)^2*sinh(x)^2+cosh(x)^4)-13*(sinh(x)^3+3*cosh(x)^2*sinh(x))+10*cosh(x)^2*sinh(x)^3-8*(sinh(x)^2+cosh(x)^2)+5*cosh(x)^4*sinh(x)+34*sinh(x)+6)/16;
20 trigsimp(%);
22 cos(x)*(sec(x)^2*tan(x)+1)-sec(x)^2*sin(x)-cos(x);
23 trigsimp(%);
25 v*cos(x)*sec(x)^2*tan(x)+(-v*sec(x)^2-2*'diff(v,x))*sin(x)+'diff(v,x)*cos(x)*sec(x)+'diff(v,x,2)*cos(x);
27 trigsimp(%);