1 /*************** -*- Mode: MACSYMA; Package: MAXIMA -*- ******************/
2 /***************************************************************************
4 *** Copyright (c) 1984 by William Schelter,University of Texas *****
5 *** All rights reserved *****
6 ***************************************************************************/
10 x^2*'diff(y,x,1)+3*x*y = sin(x)/x;
11 x^2*'diff(y,x,1)+3*x*y = sin(x)/x$
14 ic1(soln1,x = %pi,y = 0);
15 y = -((cos(x)+1)/x^3)$
16 'diff(y,x,2)+y*('diff(y,x,1))^3 = 0;
17 'diff(y,x,2)+y*('diff(y,x,1))^3 = 0$
19 (y^3+6*%k1*y)/6 = x+%k2$
21 bc2(soln2,x = 0,y = 1,x = 1,y = 3);
23 exp:k^2*n^2+k^2*m^2*n^2-k^2*l^2*n^2-k^2*l^2*m^2*n^2;
24 -k^2*l^2*m^2*n^2+k^2*m^2*n^2-k^2*l^2*n^2+k^2*n^2$
31 exq:(k1*k4-k1*k2-k2*k3)/k3^2;
32 (k1*k4-k2*k3-k1*k2)/k3^2$
45 eliminate([exp3,exp2,exp1],[y,z]);
46 [7425*x^8-1170*x^7+1299*x^6+12076*x^5+22887*x^4-5154*x^3-1291*x^2+7688*x+15376]$
47 eqn1:'diff(f(x),x) = 'diff(g(x),x)+sin(x);
48 'diff(f(x),x,1) = 'diff(g(x),x,1)+sin(x)$
49 eqn2:'diff(g(x),x,2) = 'diff(f(x),x)-cos(x);
50 'diff(g(x),x,2) = 'diff(f(x),x,1)-cos(x)$
51 atvalue('diff(g(x),x),x = 0,a);
53 atvalue(f(x),x = 0,1);