Fix lisp error from quad_qawf when given an invalid trig arg
[maxima.git] / tests / rtest_diff_invtrig.mac
blobbca634b14f10538d42f61f57a79b00ed83ff1303
1 (kill (all), 0);
2 0;
4 diff(acsc(x) - asin(1/x),x);
5 0$
7 diff(asec(x) - acos(1/x),x);
8 0$
10 diff(asech(x) - acosh(1/x),x);
13 diff(acsch(x) - asinh(1/x),x);
16 /* A&S 4.4.9 */
17 diff(asec(x) + acsc(x),x);
20 /* A&S 4.4.14 */
21 diff(asin(-x) + asin(x),x);
24 /* A&S 4.4.20 */
25 diff(asin(x) + %i*asinh(%i*x),x);
28 /* A&S 4.4.23 */
29 diff(acsc(x) - %i*acsch(%i*x),x);
32 /* A&S 4.4.25 */
33 diff(acot(x) - %i*acoth(%i*x),x);
36 /* harmonic check */
38 diff(acsc(x+%i*y),x,2) + diff(acsc(x+%i*y),y,2);
41 diff(asec(x+%i*y),x,2) + diff(asec(x+%i*y),y,2);
44 diff(acot(x+%i*y),x,2) + diff(acot(x+%i*y),y,2);
47 diff(asin(x+%i*y),x,2) + diff(asin(x+%i*y),y,2);
50 diff(acos(x+%i*y),x,2) + diff(acos(x+%i*y),y,2);
53 diff(atan(x+%i*y),x,2) + diff(atan(x+%i*y),y,2);
56 diff(acsch(x+%i*y),x,2) + diff(acsch(x+%i*y),y,2);
59 diff(asech(x+%i*y),x,2) + diff(asech(x+%i*y),y,2);
62 diff(acoth(x+%i*y),x,2) + diff(acoth(x+%i*y),y,2);
65 diff(asinh(x+%i*y),x,2) + diff(asinh(x+%i*y),y,2);
68 diff(acosh(x+%i*y),x,2) + diff(acosh(x+%i*y),y,2);
71 diff(atanh(x+%i*y),x,2) + diff(atanh(x+%i*y),y,2);