1 (load("contrib_ode"),0);
4 /* Unit tests for odelin. Inputs are from file de-tests.txt in odelin19.tar.gz */
6 (kill(all),load('odelin),done);
9 odelin('diff(y,x,2)+y,y,x);
10 set (%e^-(%i*x),%e^(%i*x));
12 odelin('diff(y,x,2)+'diff(y,x,1),y,x);
17 odelin(x^2*'diff(y,x,2)+(1-a-b)*x*'diff(y,x,1)+a*b*y,y,x);
22 odelin(9*x^2*'diff(y,x,2)+9*x^2*'diff(y,x,1)+2*y,y,x);
23 set (bessel_j(1/6,-(%i*x/2))*sqrt(-x)*%e^-(x/2),
24 bessel_y(1/6,-(%i*x/2))*sqrt(-x)*%e^-(x/2));
26 odelin(2*x*(x-1)*'diff(y,x,2)+3*(x-1)*'diff(y,x,1)-y,y,x);
28 (log(sqrt(x)+1)*x-log(sqrt(x)-1)*x-2*sqrt(x)-log(sqrt(x)+1)
29 +log(sqrt(x)-1))/sqrt(x));
31 odelin(x^2*'diff(y,x,2)+x*'diff(y,x,1)+x^2*y,y,x);
32 set (bessel_j(0,-x),bessel_y(0,-x));
34 odelin(x*'diff(y,x,2)+'diff(y,x,1)+(-4)*y,y,x);
35 set (bessel_j(0,4*sqrt(-x)),bessel_y(0,4*sqrt(-x)));
37 odelin(x^2*'diff(y,x,2)+(x^2+x)*'diff(y,x,1)-y,y,x);
38 set ( (x-1)/x, %e^-x/x );
40 odelin(3*x*'diff(y,x,2)+(2-x)*'diff(y,x,1)-y,y,x);
41 set (x^(1/3)*%e^(x/3), gamma_incomplete(-1/3,x/3)*x^(1/3)*%e^(x/3) );
43 odelin(4*x^2*'diff(y,x,2)+2*x^2*'diff(y,x,1)+(-(x+3))*y,y,x);
44 set ( (x-2)/sqrt(x), %e^-(x/2)/sqrt(x) );
46 odelin(x^2*'diff(y,x,2)+(x^2-x)*'diff(y,x,1)+y,y,x);
47 set (x*%e^-x,gamma_incomplete(0,-x)*x*%e^-x);
49 odelin(x*'diff(y,x,2)-'diff(y,x,1)+(-x)*y,y,x);
50 set (bessel_j(1,-%i*x)*x,bessel_y(1,-%i*x)*x);
52 odelin(3*x^2*'diff(y,x,2)+8*x*'diff(y,x,1)+(x-2)*y,y,x);
53 set (bessel_j(-(7/3),2*sqrt(x)/sqrt(3))/x^(5/6),
54 bessel_y(-(7/3),2*sqrt(x)/sqrt(3))/x^(5/6));
56 odelin(x*'diff(y,x,2)+(x-1)*'diff(y,x,1)+(-2)*y,y,x);
57 set (x^2, gamma_incomplete(-2,x)*x^2 );
59 odelin(x*(x+1)*'diff(y,x,2)+(x+5)*'diff(y,x,1)+(-4)*y,y,x);
60 set (gauss_a(-6,-2,-3,-x)/x^4,gauss_b(-6,-2,-3,-x)/x^4);
62 odelin(x*'diff(y,x,2)+(1-x)*'diff(y,x,1)-y,y,x);
63 set (%e^x,gamma_incomplete(0,x)*%e^x);
65 odelin(x^2*'diff(y,x,2)-x*(1+x)*'diff(y,x,1)+y,y,x);
66 set (x*%e^x,gamma_incomplete(0,x)*x*%e^x);
68 odelin(3*x*'diff(y,x,2)+2*(1-x)*'diff(y,x,1)+(-4)*y,y,x);
69 set (kummer_m(-1,4/3,-2*x/3)*x^(1/3)*%e^(2*x/3),
70 kummer_u(-1,4/3,-2*x/3)*x^(1/3)*%e^(2*x/3));
72 odelin(x*'diff(y,x,2)+(x+2)*'diff(y,x,1)-y,y,x);
73 set (kummer_m(-2,0,-x)/x,kummer_u(-2,0,-x)/x);
75 odelin(x*(1-x)*'diff(y,x,2)+(1/2-4*x)*'diff(y,x,1)+(-2)*y,y,x);
76 set (sqrt(x)/(x-1)^(5/2),
77 (2*sqrt(x-1)*x-3*log(sqrt(x)+sqrt(x-1))*sqrt(x)
78 +3*log(sqrt(x-1)-sqrt(x))*sqrt(x)+4*sqrt(x-1)) /(x-1)^(5/2) );
80 odelin(3*x*(1-x)*'diff(y,x,2)+(1-27*x)*'diff(y,x,1)+(-45)*y,y,x);
81 set (gauss_a(-4,-2,5/3,x)*x^(2/3)/(x-1)^(23/3),
82 gauss_b(-4,-2,5/3,x)*x^(2/3)/(x-1)^(23/3));
84 odelin(2*x*(1-x)*'diff(y,x,2)+(1-6*x)*'diff(y,x,1)+(-2)*y,y,x);
85 set ( (log(sqrt(x)+sqrt(x-1))*sqrt(x)-log(sqrt(x-1)-sqrt(x))*sqrt(x)
86 -2*sqrt(x-1)) / (x-1)^(3/2),
87 sqrt(x)/(x-1)^(3/2) );
89 odelin(2*x*(1-x)*'diff(y,x,2)+(3-10*x)*'diff(y,x,1)+(-6)*y,y,x);
90 set ( 1/((x-1)^(5/2)*sqrt(x)),
91 (4*sqrt(x-1)*x^(3/2)-10*sqrt(x-1)*sqrt(x)+3*log(sqrt(x)+sqrt(x-1))
92 -3*log(sqrt(x-1)-sqrt(x)))/((x-1)^(5/2)*sqrt(x)) );
94 odelin(x*(1-x)*'diff(y,x,2)+(1-3*x)*'diff(y,x,1)-y,y,x);
95 set (1/(x-1),log(x)/(x-1));
97 odelin(x*(1-x)*'diff(y,x,2)+(2-2*x)*'diff(y,x,1)+(-y)/4,y,x);
98 set (gauss_a(-1/2,-1/2,0,x)/x,gauss_b(-1/2,-1/2,0,x)/x);
100 odelin(4*x^2*'diff(y,x,2)+4*x*'diff(y,x,1)+(4*x^2-1)*y,y,x);
101 set (%e^-(%i*x)/sqrt(x),%e^(%i*x)/sqrt(x));
103 odelin(9*x^2*'diff(y,x,2)+9*x*'diff(y,x,1)+(9*x^2-16)*y,y,x);
104 set (bessel_j(-(4/3),-x),bessel_y(-(4/3),-x));
106 odelin(x^2*'diff(y,x,2)+x*'diff(y,x,1)+(x^2-1)*y,y,x);
107 set (bessel_j(1,-x),bessel_y(1,-x));
109 odelin(x^2*'diff(y,x,2)+x*'diff(y,x,1)+x^2*y,y,x);
110 set (bessel_j(0,-x),bessel_y(0,-x));
112 odelin(9*x^2*'diff(y,x,2)+9*x*'diff(y,x,1)+(9*x^2-4)*y,y,x);
113 set (bessel_j(-(2/3),-x),bessel_y(-(2/3),-x));
115 odelin(x^2*'diff(y,x,2)+x*'diff(y,x,1)+(x^2-16)*y,y,x);
116 set (bessel_j(4,-x),bessel_y(4,-x));
118 odelin(x^2*'diff(y,x,2)+x*'diff(y,x,1)+(x^2-1)*y,y,x);
119 set (bessel_j(1,-x),bessel_y(1,-x));
121 odelin(x^2*'diff(y,x,2)+x*'diff(y,x,1)+(x^2-4)*y,y,x);
122 set (bessel_j(2,-x),bessel_y(2,-x));
124 odelin('diff(y,x,2)+5*'diff(y,x,1)+6*y,y,x);
125 set (%e^-(3*x),%e^-(2*x));
127 odelin('diff(y,x,2)+8*'diff(y,x,1)+16*y,y,x);
128 set (%e^-(4*x),x*%e^-(4*x));
130 odelin('diff(y,x,2)+'diff(y,x,1)-y,y,x);
131 set ( %e^(-sqrt(5)*x/2-x/2), %e^(sqrt(5)*x/2-x/2) );
133 odelin(2*'diff(y,x,2)+7*'diff(y,x,1)+(-4)*y,y,x);
134 set (%e^-(4*x),%e^(x/2));
136 odelin('diff(y,x,2)-'diff(y,x,1)+(-11)*y,y,x);
137 set ( %e^(x/2-3*sqrt(5)*x/2), %e^(3*sqrt(5)*x/2+x/2) );
139 odelin(4*'diff(y,x,2)+20*'diff(y,x,1)+25*y,y,x);
140 set (%e^-(5*x/2),x*%e^-(5*x/2));
142 odelin('diff(y,x,2)-8*'diff(y,x,1)+7*y,y,x);
145 odelin('diff(y,x,2)+4*'diff(y,x,1)+8*y,y,x);
146 set ( %e^(-2*%i*x-2*x), %e^(2*%i*x-2*x) );
148 odelin('diff(y,x,2)+10*'diff(y,x,1)+25*y,y,x);
149 set (%e^-(5*x),x*%e^-(5*x));
151 odelin('diff(y,x,2)+7*y,y,x);
152 set ( %e^-(sqrt(7)*%i*x), %e^(sqrt(7)*%i*x) );
154 odelin('diff(y,x,2)+2*'diff(y,x,1)+5*y,y,x);
155 set ( %e^(-2*%i*x-x), %e^(2*%i*x-x) );
157 odelin('diff(y,x,2)-2*'diff(y,x,1)+26*y,y,x);
158 set ( %e^(x-5*%i*x), %e^(5*%i*x+x) );
160 odelin(x^2*'diff(y,x,2)+6*x*'diff(y,x,1)+6*y,y,x);
163 odelin(2*x^2*'diff(y,x,2)+13*x*'diff(y,x,1)+15*y,y,x);
164 set (1/x^3,1/x^(5/2));
168 odelin(x^2*'diff(y,x,2)-x*'diff(y,x,1)+17*y,y,x);
169 set (x^(1-4*%i),x^(4*%i+1));
173 odelin(x^2*'diff(y,x,2)+2*'diff(y,x,1)+(-3)*y,y,x);
175 kummer_m((sqrt(13)+3)/2,sqrt(13)+1,-(2/x))
176 *(x)^(-(sqrt(13)/2)-(1/2))*abs(x)*%e^(2/x),
177 kummer_u((sqrt(13)+3)/2,sqrt(13)+1,-(2/x))
178 *(x)^(-(sqrt(13)/2)-(1/2))*abs(x)*%e^(2/x)
181 odelin(4*x^2*'diff(y,x,2)+2*x^2*'diff(y,x,1)+(-(x+3))*y,y,x);
182 set ( (x-2)/sqrt(x), %e^-(x/2)/sqrt(x) );
184 odelin(x^2*'diff(y,x,2)+(x^2-x)*'diff(y,x,1)+y,y,x);
185 set (x*%e^-x,gamma_incomplete(0,-x)*x*%e^-x);
187 odelin(x*'diff(y,x,2)-'diff(y,x,1)+(-x)*y,y,x);
188 set (bessel_j(1,-%i*x)*x,bessel_y(1,-%i*x)*x);
190 odelin(3*x^2*'diff(y,x,2)+8*x*'diff(y,x,1)+(x-2)*y,y,x);
191 set (bessel_j(-(7/3),2*sqrt(x)/sqrt(3))/x^(5/6),
192 bessel_y(-(7/3),2*sqrt(x)/sqrt(3))/x^(5/6));
194 odelin(x*'diff(y,x,2)+(x-1)*'diff(y,x,1)+(-2)*y,y,x);
195 set (x^2,gamma_incomplete(-2,x)*x^2);
197 odelin(x*(x+1)*'diff(y,x,2)+(x+5)*'diff(y,x,1)+(-4)*y,y,x);
198 set (gauss_a(-6,-2,-3,-x)/x^4,gauss_b(-6,-2,-3,-x)/x^4);
200 odelin(x*'diff(y,x,2)+(1-x)*'diff(y,x,1)-y,y,x);
201 set (%e^x,gamma_incomplete(0,x)*%e^x);
203 odelin(x^2*'diff(y,x,2)-x*(1+x)*'diff(y,x,1)+y,y,x);
204 set (x*%e^x,gamma_incomplete(0,x)*x*%e^x);
206 odelin(3*x*'diff(y,x,2)+2*(1-x)*'diff(y,x,1)-y,y,x);
207 set (kummer_m(1/2,4/3,-2*x/3)*x^(1/3)*%e^(2*x/3),
208 kummer_u(1/2,4/3,-2*x/3)*x^(1/3)*%e^(2*x/3));
210 assume(sqrt(2*n-b)*sqrt(2*n+b)>0);
211 [sqrt(2*n-b)*sqrt(2*n+b)>0];
212 odelin('diff(y,x,2)+(b^2-(4*n^2-1))/(4*x^2)*y,y,x);
213 set ( x^(1/2-(sqrt(2*n-b)*sqrt(2*n+b))/2),
214 x^((sqrt(2*n-b)*sqrt(2*n+b))/2+1/2) );
215 forget(sqrt(2*n-b)*sqrt(2*n+b)>0);
216 [sqrt(2*n-b)*sqrt(2*n+b)>0];
218 odelin('diff(y,x,2)+(1-2*a)*'diff(y,x,1)/x+(b^2+(a^2-n^2)/x^2)*y,y,x);
219 set (bessel_j(n,-b*x)*x^a,bessel_y(n,-b*x)*x^a);
221 odelin('diff(y,x,2)+b^2*x^3*y,y,x);
222 set (bessel_j(-(1/5),2*abs(b)*x^(5/2)/5)*sqrt(x),
223 bessel_y(-(1/5),2*abs(b)*x^(5/2)/5)*sqrt(x));
225 odelin('diff(y,x,2)+b^2*x^2*y,y,x);
226 set (bessel_j(-(1/4),-(b*x^2/2))*abs(x)/sqrt(-x),
227 bessel_y(-(1/4),-(b*x^2/2))*abs(x)/sqrt(-x));
229 odelin('diff(y,x,2)+'diff(y,x,1)/x+4*(x^2-n^2/x^2)*y,y,x);
230 set (bessel_j(n,x^2)*abs(x)/x, bessel_y(n,x^2)*abs(x)/x);
232 odelin('diff(y,x,2)+'diff(y,x,1)/x+(1-n^2/x)*y/(4*x),y,x);
233 set (bessel_j(n,sqrt(x)),bessel_y(n,sqrt(x)) );
235 odelin('diff(y,x,2)+(1-n)*'diff(y,x,1)/x+y/(4*x),y,x);
236 set (bessel_j(n,sqrt(x))*x^(n/2),bessel_y(n,sqrt(x))*x^(n/2));
238 odelin('diff(y,x,1) = (-((x^9+4*x^7+6*x^5+4*x^3+x)*'diff(y,x,2)+((-100)*x^7-200*x^5+(-96)*x^3)*y))/(x^8+2*x^6+(-2)*x^2-1),y,x);
239 set (-bessel_j(5,-(1/(x^2+1))),-bessel_y(5,-(1/(x^2+1))));
241 odelin('diff(y,x,2) = (-((x^10+x^8+(-10)*x^6+14*x^4+(-7)*x^2+1)*'diff(y,x,1)+(x^7+3*x^5+3*x^3+x)*y))/(x^11-3*x^9+2*x^7+2*x^5+(-3)*x^3+x),y,x);
242 set (bessel_j(0,-(x/(x^2-1))),bessel_y(0,-(x/(x^2-1))));
244 odelin('diff(y,x,2) = (-((x^10+3*x^9+2*x^8+(-7)*x^7+(-25)*x^6+(-40)*x^5+(-43)*x^4+(-31)*x^3+(-16)*x^2+(-5)*x-1)*'diff(y,x,1)+(x^7-3*x^5+3*x^3-x)*y))/(x^11+4*x^10+9*x^9+12*x^8+9*x^7+(-9)*x^5+(-12)*x^4+(-9)*x^3+(-4)*x^2-x),y,x);
245 set (bessel_j(0,-(x/(x^2+x+1))),bessel_y(0,-(x/(x^2+x+1))));
247 odelin('diff(y,x,2) = (2*x*'diff(y,x,1)-2*y)/x^2,y,x);
250 odelin('diff(y,x,2) = (-((x^3-5*x^2+4*x)*'diff(y,x,1)+(-x^2+5*x-4)*y))/(x^3-2*x^2),y,x);
251 set ( x, (x-1)*x*%e^-x );
253 odelin('diff(y,x,2) = ((x^5-4*x^4+8*x^3+(-4)*x^2-x)*'diff(y,x,1)+(-x^4+4*x^3+(-8)*x^2+4*x+1)*y)/(x^5-3*x^4+2*x^3+(-4)*x^2+x-1),y,x);
254 set ( x, %e^x/(x^2+1) );
256 odelin('diff(y,x,2) = ((4*x^5-8*x^4+(15-4*b)*x^3+(4*b-15)*x^2+(4-b)*x)*'diff(y,x,1)+((8*a-8)*x^4+(16-12*a)*x^3+(8*b+6*a-26)*x^2+((-8)*b-a+24)*x+2*b-6)*y)/(2*x^4-3*x^3+x^2),y,x);
257 set ( kummer_m(a,b,(x-1)*x)*x^2, kummer_u(a,b,(x-1)*x)*x^2 );
259 odelin('diff(y,x,2) = ((4*a*x^4-8*a*x^3+(7*a-4)*x^2+(4-3*a)*x-1)*'diff(y,x,1)+(8*a^2*x^3-12*a^2*x^2+6*a^2*x-a^2)*y)/(2*a*x^3-3*a*x^2+a*x),y,x);
260 set ( kummer_m(a,1/a,(x-1)*x), kummer_u(a,1/a,(x-1)*x) );
262 odelin('diff(y,x,2) = (((8*a-6)*x^6+(24*a-18)*x^5+(42*a-34)*x^4+(44*a-38)*x^3+(30*a-27)*x^2+(12*a-11)*x+2*a-1)*'diff(y,x,1)+(8*a*x^3+12*a*x^2+6*a*x+a)*y)/(2*x^7+7*x^6+15*x^5+20*x^4+19*x^3+12*x^2+5*x+1),y,x);
264 bessel_y(-((2*a-1)/2),-(%i/(2*(x^2+x+1))))
265 *(x^2+x+1)^(a-1/2)*%e^(1/(2*x^2+2*x+2)),
266 ((-1)^((2*a-1)/2)*bessel_i(-((2*a-1)/2),-(1/(2*(x^2+x+1))))
267 *(x^2+x+1)^((-((2*a-1)/2))+a-1/2)*%e^(1/(2*x^2+2*x+2)))
268 /(-(%i/(x^2+x+1)))^((2*a-1)/2)
271 odelin('diff(y,x,2) = (-(((u+n+1)*x-k)*'diff(y,x,1)+n*u*y))/(x^2-x),y,x);
272 set (gauss_a(n,u,k,x),gauss_b(n,u,k,x));
274 odelin('diff(y,x,2) = (-(((u+n+1)*x-15*u+(-15)*n+3*k-15)*'diff(y,x,1)+n*u*y))/(x^2-27*x+180),y,x);
275 set ( gauss_a(n,u,u+n-k+1,(x-12)/3), gauss_b(n,u,u+n-k+1,(x-12)/3) );
277 odelin('diff(y,x,2) = (-((2*x^3-k*x^2+(u+n-1)*x)*'diff(y,x,1)+(x^3+(1-k)*x^2+(u+n-1)*x+(-n)*u)*y))/(x^3-x^2),y,x);
278 set (gauss_a(n-k+1,n,-u+n+1,x)*x^n*%e^-x,
279 gauss_b(n-k+1,n,-u+n+1,x)*x^n*%e^-x);
281 odelin('diff(y,x,2) = (-((18*x^3-69*x^2+96*x)*'diff(y,x,1)+(9*x^3-60*x^2+115*x-304)*y))/(9*x^3-9*x^2),y,x);
285 *(60*x^5*log(x)-240*x^4*log(x)+360*x^3*log(x)-240*x^2*log(x)
286 +60*x*log(x)-60*log(x-1)*x^5+240*log(x-1)*x^4
287 -60*x^4-360*log(x-1)*x^3+210*x^3
288 +240*log(x-1)*x^2-260*x^2-60*log(x-1)*x+125*x
293 odelin('diff(y,x,2) = (-((46*x^4-92*x^3+32*x^2+14*x-7)*'diff(y,x,1)+(240*x^3-360*x^2+180*x-30)*y))/(2*x^5-5*x^4+2*x^3+2*x^2-x),y,x);
296 (60*x^8*log(x^2-x-1)-240*x^7*log(x^2-x-1)+120*x^6*log(x^2-x-1)
297 +480*x^5*log(x^2-x-1)-300*x^4*log(x^2-x-1)
298 -480*x^3*log(x^2-x-1)+120*x^2*log(x^2-x-1)
299 +240*x*log(x^2-x-1)+60*log(x^2-x-1)+12*x^10-60*x^9
300 +72*x^8+72*x^7-276*x^6+324*x^5+60*x^4-456*x^3
302 / ((x-1)^6*x^6*(x^2-x-1)^4)
305 odelin('diff(y,x,2) = ((5*x^2-20*x+15)*'diff(y,x,1)+30*y)/(x^3-4*x^2+5*x-2),y,x);
308 ((x-1)^5*(60*log(x-1)*x^5-60*log(x-2)*x^5-540*log(x-1)*x^4
309 +540*log(x-2)*x^4-60*x^4+1920*log(x-1)*x^3
310 -1920*log(x-2)*x^3+450*x^3-3360*log(x-1)*x^2
311 +3360*log(x-2)*x^2-1250*x^2+2880*log(x-1)*x
312 -2880*log(x-2)*x+1515*x-960*log(x-1)
317 odelin('diff(y,x,2) = (-(((b+2*a+1)*x-b+(-2)*a-8)*'diff(y,x,1)+(a*b+a^2)*y))/(x^2-3*x+2),y,x);
318 set (gauss_a(a,b+a,7,x-1),gauss_b(a,b+a,7,x-1));
320 odelin('diff(y,x,2) = (-(((8*a+2)*x^4+(16*a+4)*x^3+(14*a+5)*x^2+(6*a+3)*x+a+1)*'diff(y,x,1)+(8*a^2*x^3+12*a^2*x^2+6*a^2*x+a^2)*y))/(2*x^5+5*x^4+6*x^3+4*x^2+x),y,x);
321 set ( 1/(x^a*(x+1)^a),
322 ('integrate((x^(a-1)*(x+1)^(a-1)*(2*x+1))/(x^2+x+1)^a,x))/(x^a*(x+1)^a)
325 odelin('diff(y,x,2) = (-(8*x*'diff(y,x,1)+(2*x^2-1)*y))/(2*x^2-2),y,x);
326 set (spherodialwave_a(1,1/2,1/4,-x),spherodialwave_b(1,1/2,1/4,-x));
328 odelin('diff(y,x,2) = (-((2*x^5+6*x^3)*'diff(y,x,1)+(6*x^2-28)*y))/(x^6-x^4),y,x);
330 spherodialwave_a(-3,12,7,-(1/x))*x^5*abs(x)/((x-1)^3*(x+1)^3),
331 spherodialwave_b(-3,12,7,-(1/x))*x^5*abs(x)/((x-1)^3*(x+1)^3)
334 odelin('diff(y,x,2) = (-((2*x^5-10*x^4+26*x^3+(-38)*x^2+28*x-8)*'diff(y,x,1)+(6*x^2-12*x-22)*y))/(x^6-6*x^5+14*x^4+(-16)*x^3+9*x^2+(-2)*x),y,x);
336 spherodialwave_a(-3,12,7,-(1/(x-1)))*(x-1)^6/((x-2)^3*x^3),
337 spherodialwave_b(-3,12,7,-(1/(x-1)))*(x-1)^6/((x-2)^3*x^3)
340 odelin('diff(y,x,2) = (-((8*x^4-16*x^3+12*x^2+(-4)*x)*'diff(y,x,1)+(8*x^5-20*x^4+(-6254)*x^3+9401*x^2+(-4703)*x+784)*y))/(8*x^5-20*x^4+16*x^3+(-4)*x^2),y,x);
341 set ( bessel_j(28,sqrt(x-1)*sqrt(x)),bessel_y(28,sqrt(x-1)*sqrt(x)));
343 odelin('diff(y,x,2) = ((-x^2)*'diff(y,x,1)-(2-933156*x)*y)/x^3,y,x);
344 set ( (bessel_j(1932,2^(3/2)/sqrt(x))*abs(x))/x,
345 (bessel_y(1932,2^(3/2)/sqrt(x))*abs(x))/x);
347 odelin('diff(y,x,2) = (x^6-x^5+x^4+(-4)*x^3-x^2+x-1)*'diff(y,x,1)/(x^6-x^2),y,x);
348 set ( 1, 'integrate(((x^2+1)*%e^(x-1/x))/(x*(x^2-1)),x) );
350 odelin('diff(y,x,2) = ((x^7-2*x^6+x^5+(-6)*x^4-x^3-x)*'diff(y,x,1)+(x^6+3*x^4+3*x^2+1)*y)/(x^7-x^3),y,x);
351 set ( x/((x-1)*(x+1)), (x*%e^(x-(1/x)))/((x-1)*(x+1)) );
353 odelin('diff(y,x,2) = ((2*x^7-x^6+2*x^5+(-6)*x^4+(-2)*x^3+3*x^2+(-2)*x)*'diff(y,x,1)+(2*x^6+6*x^4+6*x^2+2)*y)/(2*x^7-2*x^3),y,x);
355 (sqrt(x-1)*sqrt(x+1)*%e^(x-(1/x)))/sqrt(x),
356 (sqrt(x-1)*sqrt(x+1)*%e^(x-(1/x))
357 *'integrate(((x^2+1)*%e^(1/x-x))/(sqrt(x-1)*sqrt(x)*sqrt(x+1)*(x^2-1)),x))
361 odelin('diff(y,x,2) = (-(4*x^4*'diff(y,x,1)-8*a*x^3*'diff(y,x,1)+4*a^2*x^2*'diff(y,x,1)+a^2*'diff(y,x,1)+(-4)*x^3*y+6*a*x^2*y+(-2)*a^2*x*y+a^2*y))/(2*x*(x-a)*(2*x^2-2*a*x+2*x-a)),y,x);
364 %e^-x*'integrate(((2*x^2+(2-2*a)*x-a)*%e^x)/(sqrt(x)*sqrt(x-a)),x)
367 odelin('diff(y,x,2) = (((2*a+1)*x^3-4*a*x^2+(2*a-1)*x)*'diff(y,x,1)+(((-a-1)*a-a-1)*x^2+(a*(2*a+1)+a-1)*x-a^2)*y)/(x^4-2*x^3+x^2),y,x);
368 set ( (x-1)*x^a, (x-1)*x^a*log(x) );
370 odelin(4*x^2*'diff(y,x,2)+4*x*'diff(y,x,1)-y,y,x);
371 set (1/sqrt(x),sqrt(x));
373 odelin('diff(y,x,2)+2*'diff(y,x,1)+(-15)*y,y,x);
374 set (%e^-(5*x),%e^(3*x));
376 odelin(x*'diff(y,x,2)-(x+1)*'diff(y,x,1)+y,y,x);
379 odelin(x*'diff(y,x,2)+(1-2*x)*'diff(y,x,1)+(x-1)*y,y,x);
380 set (%e^x,%e^x*log(x));
382 odelin('diff(y,x,2)-2*x*'diff(y,x,1)+n*y,y,x);
383 set ( (kummer_m((n+2)/4,1/2,-x^2)*%e^x^2*sqrt(abs(x)))/sqrt(-x),
384 (kummer_u((n+2)/4,1/2,-x^2)*%e^x^2*sqrt(abs(x)))/sqrt(-x) );
386 odelin((1-x^2)*'diff(y,x,2)-2*x*'diff(y,x,1)+n*(n+1)*y,y,x);
387 set ( gauss_a(-n,n+1,1,-((x-1)/2)), gauss_b(-n,n+1,1,-((x-1)/2)) );
389 odelin(x*'diff(y,x,2)+(1-x)*'diff(y,x,1)+n*y,y,x);
390 set (kummer_m(n+1,1,-x)*%e^x,kummer_u(n+1,1,-x)*%e^x);