-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathitab.cpp
337 lines (325 loc) · 11.7 KB
/
itab.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
/* Table of integrals
The symbol f is just a dummy symbol for creating a list f(A,B,C,C,...) where
A is the template expression
B is the result expression
C is an optional list of conditional expressions
*/
#include "stdafx.h"
#include "defs.h"
const char *itab[] = {
// 1
"f(a,a*x)",
// 9 (need a caveat for 7 so we can put 9 after 7)
"f(1/x,log(x))",
// 7
"f(x^a,x^(a+1)/(a+1))",
// 12
"f(exp(a*x),1/a*exp(a*x))",
"f(exp(a*x+b),1/a*exp(a*x+b))",
"f(x*exp(a*x^2),exp(a*x^2)/(2*a))",
"f(x*exp(a*x^2+b),exp(a*x^2+b)/(2*a))",
// 14
"f(log(a*x),x*log(a*x)-x)",
// 15
"f(a^x,a^x/log(a),or(not(number(a)),a>0))",
// 16
"f(1/(a+x^2),1/sqrt(a)*arctan(x/sqrt(a)),or(not(number(a)),a>0))",
// 17
"f(1/(a-x^2),1/sqrt(a)*arctanh(x/sqrt(a)))",
// 19
"f(1/sqrt(a-x^2),arcsin(x/(sqrt(a))))",
// 20
"f(1/sqrt(a+x^2),log(x+sqrt(a+x^2)))",
// 27
"f(1/(a+b*x),1/b*log(a+b*x))",
// 28
"f(1/(a+b*x)^2,-1/(b*(a+b*x)))",
// 29
"f(1/(a+b*x)^3,-1/(2*b)*1/(a+b*x)^2)",
// 30
"f(x/(a+b*x),x/b-a*log(a+b*x)/b/b)",
// 31
"f(x/(a+b*x)^2,1/b^2*(log(a+b*x)+a/(a+b*x)))",
// 33
"f(x^2/(a+b*x),1/b^2*(1/2*(a+b*x)^2-2*a*(a+b*x)+a^2*log(a+b*x)))",
// 34
"f(x^2/(a+b*x)^2,1/b^3*(a+b*x-2*a*log(a+b*x)-a^2/(a+b*x)))",
// 35
"f(x^2/(a+b*x)^3,1/b^3*(log(a+b*x)+2*a/(a+b*x)-1/2*a^2/(a+b*x)^2))",
// 37
"f(1/x*1/(a+b*x),-1/a*log((a+b*x)/x))",
// 38
"f(1/x*1/(a+b*x)^2,1/a*1/(a+b*x)-1/a^2*log((a+b*x)/x))",
// 39
"f(1/x*1/(a+b*x)^3,1/a^3*(1/2*((2*a+b*x)/(a+b*x))^2+log(x/(a+b*x))))",
// 40
"f(1/x^2*1/(a+b*x),-1/(a*x)+b/a^2*log((a+b*x)/x))",
// 41
"f(1/x^3*1/(a+b*x),(2*b*x-a)/(2*a^2*x^2)+b^2/a^3*log(x/(a+b*x)))",
// 42
"f(1/x^2*1/(a+b*x)^2,-(a+2*b*x)/(a^2*x*(a+b*x))+2*b/a^3*log((a+b*x)/x))",
// 60
"f(1/(a+b*x^2),1/sqrt(a*b)*arctan(x*sqrt(a*b)/a),or(not(number(a*b)),a*b>0))",
// 61
"f(1/(a+b*x^2),1/(2*sqrt(-a*b))*log((a+x*sqrt(-a*b))/(a-x*sqrt(-a*b))),or(not(number(a*b)),a*b<0))",
// 62 is the same as 60
// 63
"f(x/(a+b*x^2),1/2*1/b*log(a+b*x^2))",
//64
"f(x^2/(a+b*x^2),x/b-a/b*integral(1/(a+b*x^2),x))",
//65
"f(1/(a+b*x^2)^2,x/(2*a*(a+b*x^2))+1/2*1/a*integral(1/(a+b*x^2),x))",
//66 is covered by 61
//70
"f(1/x*1/(a+b*x^2),1/2*1/a*log(x^2/(a+b*x^2)))",
//71
"f(1/x^2*1/(a+b*x^2),-1/(a*x)-b/a*integral(1/(a+b*x^2),x))",
//74
"f(1/(a+b*x^3),1/3*1/a*(a/b)^(1/3)*(1/2*log(((a/b)^(1/3)+x)^3/(a+b*x^3))+sqrt(3)*arctan((2*x-(a/b)^(1/3))*(a/b)^(-1/3)/sqrt(3))))",
//76
"f(x^2/(a+b*x^3),1/3*1/b*log(a+b*x^3))",
//77
"f(1/(a+b*x^4),1/2*1/a*(a/b/4)^(1/4)*(1/2*log((x^2+2*(a/b/4)^(1/4)*x+2*(a/b/4)^(1/2))/(x^2-2*(a/b/4)^(1/4)*x+2*(a/b/4)^(1/2)))+arctan(2*(a/b/4)^(1/4)*x/(2*(a/b/4)^(1/2)-x^2))),or(not(number(a*b)),a*b>0))",
//78
"f(1/(a+b*x^4),1/2*(-a/b)^(1/4)/a*(1/2*log((x+(-a/b)^(1/4))/(x-(-a/b)^(1/4)))+arctan(x*(-a/b)^(-1/4))),or(not(number(a*b)),a*b<0))",
//79
"f(x/(a+b*x^4),1/2*sqrt(b/a)/b*arctan(x^2*sqrt(b/a)),or(not(number(a*b)),a*b>0))",
//80
"f(x/(a+b*x^4),1/4*sqrt(-b/a)/b*log((x^2-sqrt(-a/b))/(x^2+sqrt(-a/b))),or(not(number(a*b)),a*b<0))",
//81
"f(x^2/(a+b*x^4),1/4*1/b*(a/b/4)^(-1/4)*(1/2*log((x^2-2*(a/b/4)^(1/4)*x+2*sqrt(a/b/4))/(x^2+2*(a/b/4)^(1/4)*x+2*sqrt(a/b/4)))+arctan(2*(a/b/4)^(1/4)*x/(2*sqrt(a/b/4)-x^2))),or(not(number(a*b)),a*b>0))",
//82
"f(x^2/(a+b*x^4),1/4*1/b*(-a/b)^(-1/4)*(log((x-(-a/b)^(1/4))/(x+(-a/b)^(1/4)))+2*arctan(x*(-a/b)^(-1/4))),or(not(number(a*b)),a*b<0))",
//83
"f(x^3/(a+b*x^4),1/4*1/b*log(a+b*x^4))",
//124
"f(sqrt(a+b*x),2/3*1/b*sqrt((a+b*x)^3))",
//125
"f(x*sqrt(a+b*x),-2*(2*a-3*b*x)*sqrt((a+b*x)^3)/15/b^2)",
//126
"f(x^2*sqrt(a+b*x),2*(8*a^2-12*a*b*x+15*b^2*x^2)*sqrt((a+b*x)^3)/105/b^3)",
//128
"f(sqrt(a+b*x)/x,2*sqrt(a+b*x)+a*integral(1/x*1/sqrt(a+b*x),x))",
//129
"f(sqrt(a+b*x)/x^2,-sqrt(a+b*x)/x+b/2*integral(1/x*1/sqrt(a+b*x),x))",
//131
"f(1/sqrt(a+b*x),2*sqrt(a+b*x)/b)",
//132
"f(x/sqrt(a+b*x),-2/3*(2*a-b*x)*sqrt(a+b*x)/b^2)",
//133
"f(x^2/sqrt(a+b*x),2/15*(8*a^2-4*a*b*x+3*b^2*x^2)*sqrt(a+b*x)/b^3)",
//135
"f(1/x*1/sqrt(a+b*x),1/sqrt(a)*log((sqrt(a+b*x)-sqrt(a))/(sqrt(a+b*x)+sqrt(a))),or(not(number(a)),a>0))",
//136
"f(1/x*1/sqrt(a+b*x),2/sqrt(-a)*arctan(sqrt(-(a+b*x)/a)),or(not(number(a)),a<0))",
//137
"f(1/x^2*1/sqrt(a+b*x),-sqrt(a+b*x)/a/x-1/2*b/a*integral(1/x*1/sqrt(a+b*x),x))",
//156
"f(sqrt(x^2+a),1/2*(x*sqrt(x^2+a)+a*log(x+sqrt(x^2+a))))",
//157
"f(1/sqrt(x^2+a),log(x+sqrt(x^2+a)))",
//158
"f(1/x*1/sqrt(x^2+a),arcsec(x/sqrt(-a))/sqrt(-a),or(not(number(a)),a<0))",
//159
"f(1/x*1/sqrt(x^2+a),-1/sqrt(a)*log((sqrt(a)+sqrt(x^2+a))/x),or(not(number(a)),a>0))",
//160
"f(sqrt(x^2+a)/x,sqrt(x^2+a)-sqrt(a)*log((sqrt(a)+sqrt(x^2+a))/x),or(not(number(a)),a>0))",
//161
"f(sqrt(x^2+a)/x,sqrt(x^2+a)-sqrt(-a)*arcsec(x/sqrt(-a)),or(not(number(a)),a<0))",
//162
"f(x/sqrt(x^2+a),sqrt(x^2+a))",
//163
"f(x*sqrt(x^2+a),1/3*sqrt((x^2+a)^3))",
//164 need an unexpanded version?
"f(sqrt(a+x^6+3*a^(1/3)*x^4+3*a^(2/3)*x^2),1/4*(x*sqrt((x^2+a^(1/3))^3)+3/2*a^(1/3)*x*sqrt(x^2+a^(1/3))+3/2*a^(2/3)*log(x+sqrt(x^2+a^(1/3)))))",
// match doesn't work for the following
"f(sqrt(-a+x^6-3*a^(1/3)*x^4+3*a^(2/3)*x^2),1/4*(x*sqrt((x^2-a^(1/3))^3)-3/2*a^(1/3)*x*sqrt(x^2-a^(1/3))+3/2*a^(2/3)*log(x+sqrt(x^2-a^(1/3)))))",
//165
"f(1/sqrt(a+x^6+3*a^(1/3)*x^4+3*a^(2/3)*x^2),x/a^(1/3)/sqrt(x^2+a^(1/3)))",
//166
"f(x/sqrt(a+x^6+3*a^(1/3)*x^4+3*a^(2/3)*x^2),-1/sqrt(x^2+a^(1/3)))",
//167
"f(x*sqrt(a+x^6+3*a^(1/3)*x^4+3*a^(2/3)*x^2),1/5*sqrt((x^2+a^(1/3))^5))",
//168
"f(x^2*sqrt(x^2+a),1/4*x*sqrt((x^2+a)^3)-1/8*a*x*sqrt(x^2+a)-1/8*a^2*log(x+sqrt(x^2+a)))",
//169
"f(x^3*sqrt(x^2+a),(1/5*x^2-2/15*a)*sqrt((x^2+a)^3),and(number(a),a>0))",
//170
"f(x^3*sqrt(x^2+a),sqrt((x^2+a)^5)/5-a*sqrt((x^2+a)^3)/3,and(number(a),a<0))",
//171
"f(x^2/sqrt(x^2+a),1/2*x*sqrt(x^2+a)-1/2*a*log(x+sqrt(x^2+a)))",
//172
"f(x^3/sqrt(x^2+a),1/3*sqrt((x^2+a)^3)-a*sqrt(x^2+a))",
//173
"f(1/x^2*1/sqrt(x^2+a),-sqrt(x^2+a)/a/x)",
//174
"f(1/x^3*1/sqrt(x^2+a),-1/2*sqrt(x^2+a)/a/x^2+1/2*log((sqrt(a)+sqrt(x^2+a))/x)/a^(3/2),or(not(number(a)),a>0))",
//175
"f(1/x^3*1/sqrt(x^2-a),1/2*sqrt(x^2-a)/a/x^2+1/2*1/(a^(3/2))*arcsec(x/(a^(1/2))),or(not(number(a)),a>0))",
//176+
"f(x^2*sqrt(a+x^6+3*a^(1/3)*x^4+3*a^(2/3)*x^2),1/6*x*sqrt((x^2+a^(1/3))^5)-1/24*a^(1/3)*x*sqrt((x^2+a^(1/3))^3)-1/16*a^(2/3)*x*sqrt(x^2+a^(1/3))-1/16*a*log(x+sqrt(x^2+a^(1/3))),or(not(number(a)),a>0))",
//176-
"f(x^2*sqrt(-a-3*a^(1/3)*x^4+3*a^(2/3)*x^2+x^6),1/6*x*sqrt((x^2-a^(1/3))^5)+1/24*a^(1/3)*x*sqrt((x^2-a^(1/3))^3)-1/16*a^(2/3)*x*sqrt(x^2-a^(1/3))+1/16*a*log(x+sqrt(x^2-a^(1/3))),or(not(number(a)),a>0))",
//177+
"f(x^3*sqrt(a+x^6+3*a^(1/3)*x^4+3*a^(2/3)*x^2),1/7*sqrt((x^2+a^(1/3))^7)-1/5*a^(1/3)*sqrt((x^2+a^(1/3))^5),or(not(number(a)),a>0))",
//177-
"f(x^3*sqrt(-a-3*a^(1/3)*x^4+3*a^(2/3)*x^2+x^6),1/7*sqrt((x^2-a^(1/3))^7)+1/5*a^(1/3)*sqrt((x^2-a^(1/3))^5),or(not(number(a)),a>0))",
//196
"f(1/(x-a)/sqrt(x^2-a^2),-sqrt(x^2-a^2)/a/(x-a))",
//197
"f(1/(x+a)/sqrt(x^2-a^2),sqrt(x^2-a^2)/a/(x+a))",
//200+
"f(sqrt(a-x^2),1/2*(x*sqrt(a-x^2)+a*arcsin(x/sqrt(abs(a)))))",
//201 (seems to be handled somewhere else)
//202
"f(1/x*1/sqrt(a-x^2),-1/sqrt(a)*log((sqrt(a)+sqrt(a-x^2))/x),or(not(number(a)),a>0))",
//203
"f(sqrt(a-x^2)/x,sqrt(a-x^2)-sqrt(a)*log((sqrt(a)+sqrt(a-x^2))/x),or(not(number(a)),a>0))",
//204
"f(x/sqrt(a-x^2),-sqrt(a-x^2))",
//205
"f(x*sqrt(a-x^2),-1/3*sqrt((a-x^2)^3))",
//210
"f(x^2*sqrt(a-x^2),-x/4*sqrt((a-x^2)^3)+1/8*a*(x*sqrt(a-x^2)+a*arcsin(x/sqrt(a))),or(not(number(a)),a>0))",
//211
"f(x^3*sqrt(a-x^2),(-1/5*x^2-2/15*a)*sqrt((a-x^2)^3),or(not(number(a)),a>0))",
//214
"f(x^2/sqrt(a-x^2),-x/2*sqrt(a-x^2)+a/2*arcsin(x/sqrt(a)),or(not(number(a)),a>0))",
//215
"f(1/x^2*1/sqrt(a-x^2),-sqrt(a-x^2)/a/x,or(not(number(a)),a>0))",
//216
"f(sqrt(a-x^2)/x^2,-sqrt(a-x^2)/x-arcsin(x/sqrt(a)),or(not(number(a)),a>0))",
//217
"f(sqrt(a-x^2)/x^3,-1/2*sqrt(a-x^2)/x^2+1/2*log((sqrt(a)+sqrt(a-x^2))/x)/sqrt(a),or(not(number(a)),a>0))",
//218
"f(sqrt(a-x^2)/x^4,-1/3*sqrt((a-x^2)^3)/a/x^3,or(not(number(a)),a>0))",
// 273
"f(sqrt(a*x^2+b),x*sqrt(a*x^2+b)/2+b*log(x*sqrt(a)+sqrt(a*x^2+b))/2/sqrt(a),and(number(a),a>0))",
// 274
"f(sqrt(a*x^2+b),x*sqrt(a*x^2+b)/2+b*arcsin(x*sqrt(-a/b))/2/sqrt(-a),and(number(a),a<0))",
// 290
"f(sin(a*x),-cos(a*x)/a)",
// 291
"f(cos(a*x),sin(a*x)/a)",
// 292
"f(tan(a*x),-log(cos(a*x))/a)",
// 293
"f(1/tan(a*x),log(sin(a*x))/a)",
// 294
"f(1/cos(a*x),log(tan(pi/4+a*x/2))/a)",
// 295
"f(1/sin(a*x),log(tan(a*x/2))/a)",
// 296
"f(sin(a*x)^2,x/2-sin(2*a*x)/(4*a))",
// 297
"f(sin(a*x)^3,-cos(a*x)*(sin(a*x)^2+2)/(3*a))",
// 298
"f(sin(a*x)^4,3/8*x-sin(2*a*x)/(4*a)+sin(4*a*x)/(32*a))",
// 302
"f(cos(a*x)^2,x/2+sin(2*a*x)/(4*a))",
// 303
"f(cos(a*x)^3,sin(a*x)*(cos(a*x)^2+2)/(3*a))",
// 304
"f(cos(a*x)^4,3/8*x+sin(2*a*x)/(4*a)+sin(4*a*x)/(32*a))",
// 308
"f(1/sin(a*x)^2,-1/(a*tan(a*x)))",
// 312
"f(1/cos(a*x)^2,tan(a*x)/a)",
// 318
"f(sin(a*x)*cos(a*x),sin(a*x)^2/(2*a))",
// 320
"f(sin(a*x)^2*cos(a*x)^2,-sin(4*a*x)/(32*a)+x/8)",
// 326
"f(sin(a*x)/cos(a*x)^2,1/(a*cos(a*x)))",
// 327
"f(sin(a*x)^2/cos(a*x),(log(tan(pi/4+a*x/2))-sin(a*x))/a)",
// 328
"f(cos(a*x)/sin(a*x)^2,-1/(a*sin(a*x)))",
// 329
"f(1/(sin(a*x)*cos(a*x)),log(tan(a*x))/a)",
// 330
"f(1/(sin(a*x)*cos(a*x)^2),(1/cos(a*x)+log(tan(a*x/2)))/a)",
// 331
"f(1/(sin(a*x)^2*cos(a*x)),(log(tan(pi/4+a*x/2))-1/sin(a*x))/a)",
// 333
"f(1/(sin(a*x)^2*cos(a*x)^2),-2/(a*tan(2*a*x)))",
// 335
"f(sin(a+b*x),-cos(a+b*x)/b)",
// 336
"f(cos(a+b*x),sin(a+b*x)/b)",
// 337+ (with the addition of b)
"f(1/(b+b*sin(a*x)),-tan(pi/4-a*x/2)/a/b)",
// 337- (with the addition of b)
"f(1/(b-b*sin(a*x)),tan(pi/4+a*x/2)/a/b)",
// 338 (with the addition of b)
"f(1/(b+b*cos(a*x)),tan(a*x/2)/a/b)",
// 339 (with the addition of b)
"f(1/(b-b*cos(a*x)),-1/tan(a*x/2)/a/b)",
// 340
"f(1/(a+b*sin(x)),1/sqrt(b^2-a^2)*log((a*tan(x/2)+b-sqrt(b^2-a^2))/(a*tan(x/2)+b+sqrt(b^2-a^2))),b^2-a^2)", // check that b^2-a^2 is not zero
// 341
"f(1/(a+b*cos(x)),1/sqrt(b^2-a^2)*log((sqrt(b^2-a^2)*tan(x/2)+a+b)/(sqrt(b^2-a^2)*tan(x/2)-a-b)),b^2-a^2)", // check that b^2-a^2 is not zero
// 389
"f(x*sin(a*x),sin(a*x)/a^2-x*cos(a*x)/a)",
// 390
"f(x^2*sin(a*x),2*x*sin(a*x)/a^2-(a^2*x^2-2)*cos(a*x)/a^3)",
// 393
"f(x*cos(a*x),cos(a*x)/a^2+x*sin(a*x)/a)",
// 394
"f(x^2*cos(a*x),2*x*cos(a*x)/a^2+(a^2*x^2-2)*sin(a*x)/a^3)",
// 441
"f(arcsin(a*x),x*arcsin(a*x)+sqrt(1-a^2*x^2)/a)",
// 442
"f(arccos(a*x),x*arccos(a*x)+sqrt(1-a^2*x^2)/a)",
// 443
"f(arctan(a*x),x*arctan(a*x)-1/2*log(1+a^2*x^2)/a)",
// 485 (with addition of a)
"f(log(a*x),x*log(a*x)-x)",
// 486 (with addition of a)
"f(x*log(a*x),x^2*log(a*x)/2-x^2/4)",
// 487 (with addition of a)
"f(x^2*log(a*x),x^3*log(a*x)/3-1/9*x^3)",
// 489
"f(log(x)^2,x*log(x)^2-2*x*log(x)+2*x)",
// 493 (with addition of a)
"f(1/x*1/(a+log(x)),log(a+log(x)))",
// 499
"f(log(a*x+b),(a*x+b)*log(a*x+b)/a-x)",
// 500
"f(log(a*x+b)/x^2,a/b*log(x)-(a*x+b)*log(a*x+b)/b/x)",
// 554
"f(sinh(x),cosh(x))",
// 555
"f(cosh(x),sinh(x))",
// 556
"f(tanh(x),log(cosh(x)))",
// 560
"f(x*sinh(x),x*cosh(x)-sinh(x))",
// 562
"f(x*cosh(x),x*sinh(x)-cosh(x))",
// 566
"f(sinh(x)^2,sinh(2*x)/4-x/2)",
// 569
"f(tanh(x)^2,x-tanh(x))",
// 572
"f(cosh(x)^2,sinh(2*x)/4+x/2)",
// ?
"f(x^3*exp(a*x^2),exp(a*x^2)*(x^2/a-1/(a^2))/2)",
// ?
"f(x^3*exp(a*x^2+b),exp(a*x^2)*exp(b)*(x^2/a-1/(a^2))/2)",
// ?
"f(exp(a*x^2),-i*sqrt(pi)*erf(i*sqrt(a)*x)/sqrt(a)/2)",
// ?
"f(erf(a*x),x*erf(a*x)+exp(-a^2*x^2)/a/sqrt(pi))",
// these are needed for the surface integral in the manual
"f(x^2*(1-x^2)^(3/2),(x*sqrt(1-x^2)*(-8*x^4+14*x^2-3)+3*arcsin(x))/48)",
"f(x^2*(1-x^2)^(5/2),(x*sqrt(1-x^2)*(48*x^6-136*x^4+118*x^2-15)+15*arcsin(x))/384)",
"f(x^4*(1-x^2)^(3/2),(-x*sqrt(1-x^2)*(16*x^6-24*x^4+2*x^2+3)+3*arcsin(x))/128)",
"f(x*exp(a*x),exp(a*x)*(a*x-1)/(a^2))",
"f(x*exp(a*x+b),exp(a*x+b)*(a*x-1)/(a^2))",
"f(x^2*exp(a*x),exp(a*x)*(a^2*x^2-2*a*x+2)/(a^3))",
"f(x^2*exp(a*x+b),exp(a*x+b)*(a^2*x^2-2*a*x+2)/(a^3))",
"f(x^3*exp(a*x),exp(a*x)*x^3/a-3/a*integral(x^2*exp(a*x),x))",
"f(x^3*exp(a*x+b),exp(a*x+b)*x^3/a-3/a*integral(x^2*exp(a*x+b),x))",
NULL,
};