laplace.log 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856
  1. Codemist Standard Lisp 3.54 for DEC Alpha: May 23 1994
  2. Dump file created: Mon May 23 10:39:11 1994
  3. REDUCE 3.5, 15-Oct-93 ...
  4. Memory allocation: 6023424 bytes
  5. +++ About to read file tstlib.red
  6. % Title: Examples of Laplace Transforms.
  7. % Author: L. Kazasov.
  8. % Date: 24 October 1988.
  9. order p;
  10. % Elementary functions with argument k*x, where x is object var.
  11. laplace(1,x,p);
  12. 1
  13. ---
  14. p
  15. laplace(c,x,p);
  16. c
  17. ---
  18. p
  19. laplace(sin(k*x),x,p);
  20. k
  21. ---------
  22. 2 2
  23. p + k
  24. laplace(sin(x/a),x,p);
  25. 1
  26. -----------------
  27. -1 2 2
  28. a *(p *a + 1)
  29. laplace(sin(17*x),x,p);
  30. 17
  31. ----------
  32. 2
  33. p + 289
  34. laplace(sinh x,x,p);
  35. 1
  36. --------
  37. 2
  38. p - 1
  39. laplace(cosh(k*x),x,p);
  40. - p
  41. ------------
  42. 2 2
  43. - p + k
  44. laplace(x,x,p);
  45. 1
  46. ----
  47. 2
  48. p
  49. laplace(x**3,x,p);
  50. 6
  51. ----
  52. 4
  53. p
  54. off mcd;
  55. laplace(e**(c*x) + a**x, x, s);
  56. -1 -1
  57. - ((log(a) - s) + (c - s) )
  58. laplace(e**x - e**(a*x) + x**2, x, p);
  59. -3 -1 -1
  60. 2*p + (a - p) + (p - 1)
  61. laplace(one(k*t) + sin(a*t) - cos(b*t) - e**t, t, p);
  62. 2 2 -1 -1 2 2 -1 -1
  63. - p*(b + p ) + p + (a + p ) *a - (p - 1)
  64. laplace(sqrt(x),x,p);
  65. - 3/2
  66. 1/2*sqrt(pi)*p
  67. laplace(x**(1/2),x,p);
  68. - 3/2
  69. 1/2*sqrt(pi)*p
  70. on mcd;
  71. laplace(x**(-1/2),x,p);
  72. sqrt(pi)
  73. ----------
  74. sqrt(p)
  75. laplace(x**(5/2),x,p);
  76. 15*sqrt(pi)
  77. --------------
  78. 3
  79. 8*sqrt(p)*p
  80. laplace(-1/4*x**2*c*sqrt(x), x, p);
  81. - 15*sqrt(pi)*c
  82. ------------------
  83. 3
  84. 32*sqrt(p)*p
  85. % Elementary functions with argument k*x - tau,
  86. % where k>0, tau>=0, x is object var.
  87. laplace(cos(x-a),x,p);
  88. p
  89. ---------------
  90. p*a 2
  91. e *(p + 1)
  92. laplace(one(k*x-tau),x,p);
  93. 1
  94. --------------
  95. (p*tau)/k
  96. e *p
  97. laplace(sinh(k*x-tau),x,p);
  98. - k
  99. -------------------------
  100. (p*tau)/k 2 2
  101. e *( - p + k )
  102. laplace(sinh(k*x),x,p);
  103. - k
  104. ------------
  105. 2 2
  106. - p + k
  107. laplace((a*x-b)**c,x,p);
  108. c
  109. a *gamma(c + 1)
  110. -----------------
  111. c (p*b)/a
  112. p *e *p
  113. % But ...
  114. off mcd;
  115. laplace((a*x-b)**2,x,p);
  116. -3 2 2 2
  117. p *(p *b - 2*p*a*b + 2*a )
  118. on mcd;
  119. laplace(sin(2*x-3),x,p);
  120. 2
  121. -------------------
  122. (3*p)/2 2
  123. e *(p + 4)
  124. on lmon;
  125. laplace(sin(2*x-3),x,p);
  126. 2
  127. -------------------
  128. (3*p)/2 2
  129. e *(p + 4)
  130. off lmon;
  131. off mcd;
  132. laplace(cosh(t-a) - sin(3*t-5), t, p);
  133. - p*a 2 -1 - 5/3*p 2 -1
  134. e *p*(p - 1) - 3*e *(p + 9)
  135. on mcd;
  136. % More complicated examples - multiplication of functions.
  137. % We use here on lmon - a new switch that forces all
  138. % trigonometrical functions which depend on object var
  139. % to be represented as exponents.
  140. laplace(x*e**(a*x)*cos(k*x), x, p);
  141. 2 2 2 4 3 2 2 2 2 3
  142. (p - 2*p*a + a - k )/(p - 4*p *a + 6*p *a + 2*p *k - 4*p*a
  143. 2 4 2 2 4
  144. - 4*p*a*k + a + 2*a *k + k )
  145. laplace(x**(1/2)*e**(a*x), x, p);
  146. - sqrt(pi)
  147. -----------------------------
  148. 2*sqrt( - a + p)*( - p + a)
  149. laplace(-1/4*e**(a*x)*(x-k)**(-1/2), x, p);
  150. a*k
  151. - sqrt(pi)*e
  152. -----------------------
  153. p*k
  154. 4*e *sqrt( - a + p)
  155. laplace(x**(5/2)*e**(a*x), x, p);
  156. - 15*sqrt(pi)
  157. -------------------------------------------------
  158. 3 2 2 3
  159. 8*sqrt( - a + p)*( - p + 3*p *a - 3*p*a + a )
  160. laplace((a*x-b)**c*e**(k*x)*const/2, x, p);
  161. 1 (b*k)/a c
  162. - ---*e *a *gamma(c + 1)*const
  163. 2
  164. ---------------------------------------
  165. (p*b)/a c
  166. e *( - k + p) *( - p + k)
  167. off mcd;
  168. laplace(x*e**(a*x)*sin(7*x)/c*3, x, p);
  169. 2 2 -2 -1
  170. 42*(a - 2*a*p + p + 49) *c *(p - a)
  171. on mcd;
  172. laplace(x*e**(a*x)*sin(k*x-tau), x, p);
  173. (a*tau)/k 2 2 2
  174. (e *(p *tau - 2*p*a*tau + 2*p*k + a *tau - 2*a*k + k *tau))/(
  175. (p*tau)/k 4 3 2 2 2 2 3 2
  176. e *(p - 4*p *a + 6*p *a + 2*p *k - 4*p*a - 4*p*a*k
  177. 4 2 2 4
  178. + a + 2*a *k + k ))
  179. % The next is unknown if lmon is off.
  180. laplace(sin(k*x)*cosh(k*x), x, p);
  181. *** Laplace for cosh(x*k)*sin(x*k) not known - try ON LMON
  182. laplace(cosh(x*k)*sin(x*k),x,p)
  183. laplace(x**(1/2)*sin(k*x), x, p);
  184. *** Laplace for sqrt(x)*sin(x*k) not known - try ON LMON
  185. laplace(sqrt(x)*sin(x*k),x,p)
  186. on lmon;
  187. % But now is OK.
  188. laplace(x**(1/2)*sin(a*x)*cos(a*b), x, p);
  189. (sqrt(pi)*cos(a*b)*( - sqrt( - a*i + p)*p + sqrt(a*i + p)*p
  190. + sqrt( - a*i + p)*a*i + sqrt(a*i + p)*a*i))/(4*sqrt(a*i + p)
  191. 2 2
  192. *sqrt( - a*i + p)*i*(p + a ))
  193. laplace(sin(x)*cosh(x), x, p);
  194. 2
  195. p + 2
  196. --------
  197. 4
  198. p + 4
  199. laplace(sin(k*x)*cosh(k*x), x, p);
  200. 2 2
  201. k*(p + 2*k )
  202. ---------------
  203. 4 4
  204. p + 4*k
  205. off exp;
  206. laplace(sin(k*x-t)*cosh(k*x-t), x, p);
  207. 2*i*t ((p + i*k + k)*t)/k
  208. ( - (e *(e *(i*k + k + p)
  209. ((p + i*k - k)*t + 2*k*t)/k
  210. + e *(i*k - k + p))
  211. *(i*k + k - p)*(i*k - k - p) +
  212. ((p + i*k + k)*t + (p + i*k - k)*t)/k
  213. e *(
  214. ( - (p - i*k + k)*t + 2*k*t)/k
  215. e *(i*k + k - p)
  216. - ((p - i*k - k)*t)/k
  217. + e *(i*k - k - p))*(i*k + k + p)
  218. *(i*k - k + p)))/(4
  219. ((i + 1)*k*t + (p + i*k + k)*t + (p + i*k - k)*t)/k
  220. *e
  221. *(i*k + k + p)*(i*k + k - p)*(i*k - k + p)*(i*k - k - p)*i)
  222. on exp;
  223. laplace(cos(x)**2,x,p);
  224. 2
  225. p + 2
  226. ------------
  227. 2
  228. p*(p + 4)
  229. laplace(c*cos(k*x)**2,x,p);
  230. 2 2
  231. c*(p + 2*k )
  232. ---------------
  233. 2 2
  234. p*(p + 4*k )
  235. laplace(c*cos(2/3*x)**2, x, p);
  236. 2 8
  237. c*(p + ---)
  238. 9
  239. ---------------
  240. 2 16
  241. p*(p + ----)
  242. 9
  243. laplace(5*sinh(x)*e**(a*x)*x**3, x, p);
  244. 3 2 2 3 8 7 6 2
  245. (120*(p - 3*p *a + 3*p*a + p - a - a))/(p - 8*p *a + 28*p *a
  246. 6 5 3 5 4 4 4 2 4
  247. - 4*p - 56*p *a + 24*p *a + 70*p *a - 60*p *a + 6*p
  248. 3 5 3 3 3 2 6 2 4 2 2
  249. - 56*p *a + 80*p *a - 24*p *a + 28*p *a - 60*p *a + 36*p *a
  250. 2 7 5 3 8 6 4
  251. - 4*p - 8*p*a + 24*p*a - 24*p*a + 8*p*a + a - 4*a + 6*a
  252. 2
  253. - 4*a + 1)
  254. off exp;
  255. laplace(sin(2*x-3)*cosh(7*x-5), x, p);
  256. 2 11 2 11 11 (3*p + 1)/2
  257. (p *e + p + 14*p*e - 14*p + 53*e + 53)/(e
  258. 5
  259. *(2*i + p + 7)*(2*i + p - 7)*(2*i - p + 7)*(2*i - p - 7)*e )
  260. on exp;
  261. laplace(sin(a*x-b)*cosh(c*x-d), x, p);
  262. *** Laplace for - 1/4*one(x - a**(-1)*b)*one(x - c**(-1)*d)*i**(-1) not known
  263. *** Laplace for 1/4*one(x - a**(-1)*b)*one(x - c**(-1)*d)*i**(-1) not known
  264. 1 b*i + 2*c*x -1 -1 -1
  265. laplace(( - ---*e *one( - a *b + x)*one( - c *d + x)*i
  266. 4
  267. 1 b*i + 2*d -1 -1 -1
  268. - ---*e *one( - a *b + x)*one( - c *d + x)*i )/
  269. 4
  270. a*i*x + c*x + d
  271. e ,x,p) + laplace((
  272. a*i*x + 2*c*x a*x - b c*x - d
  273. e *one(---------)*one(---------)
  274. a c
  275. a*i*x + 2*d a*x - b c*x - d
  276. + e *one(---------)*one(---------))/(4
  277. a c
  278. b*i + c*x + d
  279. *e *i),x,p)
  280. % To solve this problem we must tell the program which one-function
  281. % is rightmost shifted. However, in REDUCE 3.4, this rule is still
  282. % not sufficient.
  283. for all x let one(x-b/a)*one(x-d/c) = one(x-b/a);
  284. laplace(sin(a*x-b)*cosh(c*x-d), x, p);
  285. (2*b*c)/a 2 2*d 2 (2*b*c)/a 2*d
  286. (a*(e *p + e *p + 2*e *p*c - 2*e *p*c
  287. (2*b*c)/a 2 (2*b*c)/a 2 2*d 2 2*d 2
  288. + e *a + e *c + e *a + e *c ))/(2
  289. (p*b + a*d + b*c)/a 4 2 2 2 2 4 2 2 4
  290. *e *(p + 2*p *a - 2*p *c + a + 2*a *c + c )
  291. )
  292. for all x clear one(x-b/a)*one(x-d/c) ;
  293. off lmon;
  294. % Floating point arithmetic.
  295. % laplace(3.5/c*sin(2.3*x-4.11)*e**(1.5*x), x, p);
  296. on rounded;
  297. laplace(3.5/c*sin(2.3*x-4.11)*e**(1.5*x), x, p);
  298. 117.461059957
  299. ----------------------------------------
  300. 1.78695652174*p 2
  301. e *c*(p - 3.0*p + 7.54)
  302. laplace(x**2.156,x,p);
  303. gamma(3.156)
  304. --------------
  305. 3.156
  306. p
  307. laplace(x**(-0.5),x,p);
  308. gamma(0.5)
  309. ------------
  310. 0.5
  311. p
  312. off rounded;
  313. laplace(x**(-0.5),x,p);
  314. sqrt(pi)
  315. ----------
  316. sqrt(p)
  317. on rounded;
  318. laplace(x*e**(2.35*x)*cos(7.42*x), x, p);
  319. 2
  320. p - 4.7*p - 49.5339
  321. ---------------------------------------------------------
  322. 4 3 2
  323. p - 9.4*p + 143.2478*p - 569.44166*p + 3669.80312521
  324. laplace(x*e**(2.35*x)*cos(7.42*x-74.2), x, p);
  325. 3 2
  326. (160664647206.0*p - 1.11661929808e+12*p + 1.14319162408e+13*p
  327. 10.0*p
  328. - 2.36681205089e+13)/(e
  329. 4 3 2
  330. *(p - 9.4*p + 143.2478*p - 569.44166*p + 3669.80312521))
  331. % Higher precision works, but uses more memory.
  332. % precision 20; laplace(x**2.156,x,p);
  333. % laplace(x*e**(2.35*x)*cos(7.42*x-74.2), x, p);
  334. off rounded;
  335. % Integral from 0 to x, where x is object var.
  336. % Syntax is intl(<expr>,<var>,0,<obj.var>).
  337. laplace(c1/c2*intl(2*y**2,y,0,x), x,p);
  338. 4*c1
  339. -------
  340. 4
  341. p *c2
  342. off mcd;
  343. laplace(intl(e**(2*y)*y**2+sqrt(y),y,0,x),x,p);
  344. -1 -3 - 3/2
  345. p *(2*(p - 2) + 1/2*sqrt(pi)*p )
  346. on mcd;
  347. laplace(-2/3*intl(1/2*y*e**(a*y)*sin(k*y),y,0,x), x, p);
  348. 2 2 4 3 2 2 2 2 3
  349. (k*( - ---*p + ---*a))/(p*(p - 4*p *a + 6*p *a + 2*p *k - 4*p*a
  350. 3 3
  351. 2 4 2 2 4
  352. - 4*p*a*k + a + 2*a *k + k ))
  353. % Use of delta function and derivatives.
  354. laplace(-1/2*delta(x), x, p);
  355. 1
  356. - ---
  357. 2
  358. laplace(delta(x-tau), x, p);
  359. 1
  360. --------
  361. p*tau
  362. e
  363. laplace(c*cos(k*x)*delta(x),x,p);
  364. c
  365. laplace(e**(a*x)*delta(x), x, p);
  366. 1
  367. laplace(c*x**2*delta(x), x, p);
  368. 0
  369. laplace(-1/4*x**2*delta(x-pi), x, p);
  370. 1 2
  371. - ---*pi
  372. 4
  373. ------------
  374. p*pi
  375. e
  376. laplace(cos(2*x-3)*delta(x-pi),x,p);
  377. cos(3)
  378. --------
  379. p*pi
  380. e
  381. laplace(e**(-b*x)*delta(x-tau), x, p);
  382. 1
  383. ----------------
  384. p*tau + b*tau
  385. e
  386. on lmon;
  387. laplace(cos(2*x)*delta(x),x,p);
  388. 1
  389. laplace(c*x**2*delta(x), x, p);
  390. 0
  391. laplace(c*x**2*delta(x-pi), x, p);
  392. 2
  393. c*pi
  394. -------
  395. p*pi
  396. e
  397. laplace(cos(a*x-b)*delta(x-pi),x,p);
  398. cos(a*pi - b)
  399. ---------------
  400. p*pi
  401. e
  402. laplace(e**(-b*x)*delta(x-tau), x, p);
  403. 1
  404. ----------------
  405. p*tau + b*tau
  406. e
  407. off lmon;
  408. laplace(2/3*df(delta x,x),x,p);
  409. 2
  410. ---*p
  411. 3
  412. off exp;
  413. laplace(e**(a*x)*df(delta x,x,5), x, p);
  414. 5
  415. - (a - p)
  416. on exp;
  417. laplace(df(delta(x-a),x), x, p);
  418. p
  419. ------
  420. p*a
  421. e
  422. laplace(e**(k*x)*df(delta(x),x), x, p);
  423. p - k
  424. laplace(e**(k*x)*c*df(delta(x-tau),x,2), x, p);
  425. k*tau 2 2
  426. e *c*(p - 2*p*k + k )
  427. ----------------------------
  428. p*tau
  429. e
  430. on lmon;
  431. laplace(e**(k*x)*sin(a*x)*df(delta(x-t),x,2),x,p);
  432. k*t 1 2*a*i*t 2 1 2 2*a*i*t 2*a*i*t
  433. (e *(---*e *p - ---*p - e *p*a*i - e *p*k
  434. 2 2
  435. 1 2*a*i*t 2 2*a*i*t
  436. - p*a*i + p*k - ---*e *a + e *a*i*k
  437. 2
  438. 1 2*a*i*t 2 1 2 1 2 p*t + a*i*t
  439. + ---*e *k + ---*a + a*i*k - ---*k ))/(e *i
  440. 2 2 2
  441. )
  442. off lmon;
  443. % But if tau is positive, Laplace transform is not defined.
  444. laplace(e**(a*x)*delta(x+tau), x, p);
  445. *** Laplace for delta(x + tau) not known - try ON LMON
  446. a*x
  447. laplace(e *delta(x + tau),x,p)
  448. laplace(2*c*df(delta(x+tau),x), x, p);
  449. *** Laplace for df(delta(x + tau),x) not known - try ON LMON
  450. laplace(2*df(delta(x + tau),x)*c,x,p)
  451. laplace(e**(k*x)*df(delta(x+tau),x,3), x, p);
  452. *** Laplace for df(delta(x + tau),x,3) not known - try ON LMON
  453. k*x
  454. laplace(e *df(delta(x + tau),x,3),x,p)
  455. % Adding new let rules for Laplace operator. Note the syntax.
  456. for all x let laplace(log(x),x) = -log(gam*il!&)/il!&;
  457. laplace(-log(x)*a/4, x, p);
  458. 1
  459. ---*log(gam*p)*a
  460. 4
  461. ------------------
  462. p
  463. laplace(-log(x),x,p);
  464. log(gam*p)
  465. ------------
  466. p
  467. laplace(a*log(x)*e**(k*x), x, p);
  468. log( - gam*k + gam*p)*a
  469. -------------------------
  470. - p + k
  471. for all x clear laplace(log(x),x);
  472. operator f;
  473. for all x let
  474. laplace(df(f(x),x),x) = il!&*laplace(f(x),x) - sub(x=0,f(x));
  475. for all x,n such that numberp n and fixp n let
  476. laplace(df(f(x),x,n),x) = il!&**n*laplace(f(x),x) -
  477. for i:=n-1 step -1 until 0 sum
  478. sub(x=0, df(f(x),x,n-1-i)) * il!&**i ;
  479. for all x let laplace(f(x),x) = f(il!&);
  480. laplace(1/2*a*df(-2/3*f(x)*c,x), x,p);
  481. 1 1
  482. a*c*( - ---*p*f(p) + ---*f(0))
  483. 3 3
  484. laplace(1/2*a*df(-2/3*f(x)*c,x,4), x,p);
  485. 1 4 1 3 1 2
  486. a*c*( - ---*p *f(p) + ---*p *f(0) + ---*p *sub(x=0,df(f(x),x))
  487. 3 3 3
  488. 1 1
  489. + ---*p*sub(x=0,df(f(x),x,2)) + ---*sub(x=0,df(f(x),x,3)))
  490. 3 3
  491. laplace(1/2*a*e**(k*x)*df(-2/3*f(x)*c,x,2), x,p);
  492. 2 2
  493. (a*c*( - p *f( - k + p) + 2*p*f( - k + p)*k + p*f(0) - f( - k + p)*k
  494. - f(0)*k + sub(x=0,df(f(x),x))))/3
  495. clear f;
  496. % Or if the boundary conditions are known and assume that
  497. % f(i,0)=sub(x=0,df(f(x),x,i)) the above may be overwritten as:
  498. operator f;
  499. for all x let
  500. laplace(df(f(x),x),x) = il!&*laplace(f(x),x) - f(0,0);
  501. for all x,n such that numberp n and fixp n let
  502. laplace(df(f(x),x,n),x) = il!&**n*laplace(f(x),x) -
  503. for i:=n-1 step -1 until 0 sum il!&**i * f(n-1-i,0);
  504. for all x let laplace(f(x),x) = f(il!&);
  505. let f(0,0)=0, f(1,0)=1, f(2,0)=2, f(3,0)=3;
  506. laplace(1/2*a*df(-2/3*f(x)*c,x), x,p);
  507. 1
  508. - ---*p*f(p)*a*c
  509. 3
  510. laplace(1/2*a*df(-2/3*f(x)*c,x,4), x,p);
  511. 1 4 1 2 2
  512. a*c*( - ---*p *f(p) + ---*p + ---*p + 1)
  513. 3 3 3
  514. clear f(0,0), f(1,0), f(2,0), f(3,0);
  515. clear f;
  516. % Very complicated examples.
  517. on lmon;
  518. laplace(sin(a*x-b)**2, x, p);
  519. (p*b)/a 2 (p*b)/a 2 (p*b)/a 2
  520. - e *p + e *p + 4*e *a
  521. ----------------------------------------------
  522. (2*p*b)/a 2 2
  523. 2*e *p*(p + 4*a )
  524. off mcd;
  525. laplace(x**3*(sin x)**4*e**(5*k*x)*c/2, x,p);
  526. -4 -4
  527. c*(3/16*(4*i + 5*k - p) + 3/16*(4*i - 5*k + p)
  528. -4 -4 -4
  529. - 3/4*(2*i + 5*k - p) - 3/4*(2*i - 5*k + p) + 9/8*(5*k - p)
  530. )
  531. a:=(sin x)**4*e**(5*k*x)*c/2;
  532. 5*k*x 4
  533. a := 1/2*e *sin(x) *c
  534. laplace(x**3*a,x,p);
  535. -4 -4
  536. c*(3/16*(4*i + 5*k - p) + 3/16*(4*i - 5*k + p)
  537. -4 -4 -4
  538. - 3/4*(2*i + 5*k - p) - 3/4*(2*i - 5*k + p) + 9/8*(5*k - p)
  539. )
  540. clear a;
  541. on mcd;
  542. % And so on, but is very time consuming.
  543. % laplace(e**(k*x)*x**2*sin(a*x-b)**2, x, p);
  544. % for all x let one(a*x-b)*one(c*x-d) = one(c*x-d);
  545. % laplace(x*e**(-2*x)*cos(a*x-b)*sinh(c*x-d), x, p);
  546. % for all x clear one(a*x-b)*one(c*x-d) ;
  547. % laplace(x*e**(c*x)*sin(k*x)**3*cosh(x)**2*cos(a*x), x, p);
  548. off lmon;
  549. % Error messages.
  550. laplace(sin(-x),x,p);
  551. ***** Laplace induces one( - x) which is not allowed
  552. laplace(0,x,p)
  553. on lmon;
  554. laplace(sin(-a*x), x, p);
  555. ***** Laplace induces one( - x*a) which is not allowed
  556. laplace(0,x,p)
  557. off lmon;
  558. laplace(e**(k*x**2), x, p);
  559. *** Laplace for e**(x**2*k) not known - try ON LMON
  560. 2
  561. k*x
  562. laplace(e ,x,p)
  563. laplace(sin(-a*x+b)*cos(c*x+d), x, p);
  564. *** Laplace for - cos(x*c + d)*sin(x*a - b) not known - try ON LMON
  565. laplace( - cos(x*c + d)*sin(x*a - b),x,p)
  566. laplace(x**(-5/2),x,p);
  567. *** Laplace for x**( - 1/2)*x**(-2) not known - try ON LMON
  568. - 1/2 -2
  569. laplace(x *x ,x,p)
  570. % With int arg, can't be shifted.
  571. laplace(intl(y*e**(a*y)*sin(k*y-tau),y,0,x), x, p);
  572. *** Laplace for sin(x*k - tau) not allowed
  573. a*x
  574. laplace(e *sin(k*x - tau)*x,x,p)
  575. ------------------------------------
  576. p
  577. laplace(cosh(x**2), x, p);
  578. *** Laplace for cosh(x**2) not known - try ON LMON
  579. 2
  580. laplace(cosh(x ),x,p)
  581. laplace(3*x/(x**2-5*x+6),x,p);
  582. *** Laplace for (x**2 - 5*x + 6)**(-1) not known - try ON LMON
  583. 2 -1
  584. laplace(3*(x - 5*x + 6) *x,x,p)
  585. laplace(1/sin(x),x,p);
  586. *** Laplace for sin(x)**(-1) not known - try ON LMON
  587. -1
  588. laplace(sin(x) ,x,p)
  589. % But ...
  590. laplace(x/sin(-3*a**2),x,p);
  591. - 1
  592. --------------
  593. 2 2
  594. p *sin(3*a )
  595. % Severe errors.
  596. % laplace(sin x,x,cos y);
  597. % laplace(sin x,x,y+1);
  598. % laplace(sin(x+1),x+1,p);
  599. Comment Examples of Inverse Laplace transformations;
  600. symbolic(ordl!* := nil);
  601. % To nullify previous order declarations.
  602. order t;
  603. % Elementary ratio of polynomials.
  604. invlap(1/p, p, t);
  605. 1
  606. invlap(1/p**3, p, t);
  607. 1 2
  608. ---*t
  609. 2
  610. invlap(1/(p-a), p, t);
  611. t*a
  612. e
  613. invlap(1/(2*p-a),p,t);
  614. 1 (t*a)/2
  615. ---*e
  616. 2
  617. invlap(1/(p/2-a),p,t);
  618. 2*t*a
  619. 2*e
  620. invlap(e**(-k*p)/(p-a), p, t);
  621. 1
  622. ---------------
  623. - t*a + a*k
  624. e
  625. invlap(b**(-k*p)/(p-a), p, t);
  626. 1
  627. ----------------------
  628. - t*a + log(b)*a*k
  629. e
  630. invlap(1/(p-a)**3, p, t);
  631. 1 t*a 2
  632. ---*e *t
  633. 2
  634. invlap(1/(c*p-a)**3, p, t);
  635. 1 (t*a)/c 2
  636. ---*e *t
  637. 2
  638. -----------------
  639. 3
  640. c
  641. invlap(1/(p/c-a)**3, p, t);
  642. 1 t*a*c 2 3
  643. ---*e *t *c
  644. 2
  645. invlap((c*p-a)**(-1)/(c*p-a)**2, p, t);
  646. 1 (t*a)/c 2
  647. ---*e *t
  648. 2
  649. -----------------
  650. 3
  651. c
  652. invlap(c/((p/c-a)**2*(p-a*c)), p, t);
  653. 1 t*a*c 2 3
  654. ---*e *t *c
  655. 2
  656. invlap(1/(p*(p-a)), p, t);
  657. t*a
  658. e - 1
  659. ----------
  660. a
  661. invlap(c/((p-a)*(p-b)), p, t);
  662. t*a t*b
  663. c*(e - e )
  664. -----------------
  665. a - b
  666. invlap(p/((p-a)*(p-b)), p, t);
  667. t*a t*b
  668. e *a - e *b
  669. -----------------
  670. a - b
  671. off mcd;
  672. invlap((p+d)/(p*(p-a)), p, t);
  673. t*a -1 t*a -1
  674. e *a *d + e - a *d
  675. invlap((p+d)/((p-a)*(p-b)), p, t);
  676. -1 t*a t*a t*b t*b
  677. (a - b) *(e *a + e *d - e *b - e *d)
  678. invlap(1/(e**(k*p)*p*(p+1)), p, t);
  679. - t + k
  680. - e + one(t - k)
  681. on mcd;
  682. off exp;
  683. invlap(c/(p*(p+a)**2), p, t);
  684. t*a
  685. - ((a*t + 1) - e )*c
  686. -------------------------
  687. t*a 2
  688. e *a
  689. on exp;
  690. invlap(1, p, t);
  691. delta(t)
  692. invlap(c1*p/c2, p, t);
  693. df(delta(t),t)*c1
  694. -------------------
  695. c2
  696. invlap(p/(p-a), p, t);
  697. t*a
  698. delta(t) + e *a
  699. invlap(c*p**2, p, t);
  700. df(delta(t),t,2)*c
  701. invlap(p**2*e**(-a*p)*c, p, t);
  702. sub(t= - (a - t),df(delta(t),t,2))*c
  703. off mcd;
  704. invlap(e**(-a*p)*(1/p**2-p/(p-1))+c/p, p, t);
  705. t - a
  706. t - delta( - (a - t)) - e - a + c
  707. on mcd;
  708. invlap(a*p**2-2*p+1, p, x);
  709. delta(x) + df(delta(x),x,2)*a - 2*df(delta(x),x)
  710. % P to non-integer power in denominator - i.e. gamma-function case.
  711. invlap(1/sqrt(p), p, t);
  712. 1
  713. ------------------
  714. sqrt(t)*sqrt(pi)
  715. invlap(1/sqrt(p-a), p, t);
  716. t*a
  717. e
  718. ------------------
  719. sqrt(t)*sqrt(pi)
  720. invlap(c/(p*sqrt(p)), p, t);
  721. 2*sqrt(t)*c
  722. -------------
  723. sqrt(pi)
  724. invlap(c*sqrt(p)/p**2, p, t);
  725. 2*sqrt(t)*c
  726. -------------
  727. sqrt(pi)
  728. invlap((p-a)**(-3/2), p, t);
  729. t*a
  730. 2*sqrt(t)*e
  731. ----------------
  732. sqrt(pi)
  733. invlap(sqrt(p-a)*c/(p-a)**2, p, t);
  734. t*a
  735. 2*sqrt(t)*e *c
  736. ------------------
  737. sqrt(pi)
  738. invlap(1/((p-a)*b*sqrt(p-a)), p, t);
  739. t*a
  740. 2*sqrt(t)*e
  741. ----------------
  742. sqrt(pi)*b
  743. invlap((p/(c1-3)-a)**(-3/2), p, t);
  744. t*a*c1
  745. 2*sqrt(t)*e *sqrt(c1 - 3)*(c1 - 3)
  746. -----------------------------------------
  747. 3*t*a
  748. sqrt(pi)*e
  749. invlap(1/((p/(c1-3)-a)*b*sqrt(p/(c1-3)-a)), p, t);
  750. t*a*c1
  751. 2*sqrt(t)*e *sqrt(c1 - 3)*(c1 - 3)
  752. -----------------------------------------
  753. 3*t*a
  754. sqrt(pi)*e *b
  755. invlap((p*2-a)**(-3/2), p, t);
  756. (t*a)/2
  757. sqrt(t)*e
  758. ------------------
  759. sqrt(pi)*sqrt(2)
  760. invlap(sqrt(2*p-a)*c/(p*2-a)**2, p, t);
  761. (t*a)/2
  762. sqrt(t)*e *sqrt(2)*c
  763. ----------------------------
  764. 2*sqrt(pi)
  765. invlap(c/p**(7/2), p, t);
  766. 2
  767. 8*sqrt(t)*t *c
  768. ----------------
  769. 15*sqrt(pi)
  770. invlap(p**(-7/3), p, t);
  771. 1/3
  772. t *t
  773. ------------
  774. 7
  775. gamma(---)
  776. 3
  777. invlap(gamma(b)/p**b,p,t);
  778. b
  779. t
  780. ----
  781. t
  782. invlap(c*gamma(b)*(p-a)**(-b),p,t);
  783. b t*a
  784. t *e *c
  785. -----------
  786. t
  787. invlap(e**(-k*p)/sqrt(p-a), p, t);
  788. t*a
  789. e
  790. ------------------------------
  791. a*k
  792. sqrt(pi)*e *sqrt( - k + t)
  793. % Images that give elementary object functions.
  794. % Use of new switches lmon, lhyp.
  795. invlap(k/(p**2+k**2), p, t);
  796. 1 2*t*i*k 1
  797. ---*e - ---
  798. 2 2
  799. --------------------
  800. t*i*k
  801. e *i
  802. % This is made more readable by :
  803. on ltrig;
  804. invlap(k/(p**2+k**2), p, t);
  805. sin(k*t)
  806. invlap(p/(p**2+1), p, t);
  807. cos(t)
  808. invlap((p**2-a**2)/(p**2+a**2)**2, p, t);
  809. t*cos(a*t)
  810. invlap(p/(p**2+a**2)**2, p, t);
  811. t*sin(a*t)
  812. ------------
  813. 2*a
  814. invlap((p-a)/((p-a)**2+b**2), p, t);
  815. t*a
  816. e *cos(b*t)
  817. off ltrig;
  818. on lhyp;
  819. invlap(s/(s**2-k**2), s, t);
  820. cosh(k*t)
  821. invlap(e**(-tau/k*p)*p/(p**2-k**2), p, t);
  822. cosh(k*t - tau)
  823. off lhyp;
  824. % But it is not always possible to convert expt. functions, e.g.:
  825. on lhyp;
  826. invlap(k/((p-a)**2-k**2), p, t);
  827. sinh(k*t)*(cosh(a*t) + sinh(a*t))
  828. off lhyp;
  829. on ltrig;
  830. invlap(e**(-tau/k*p)*k/(p**2+k**2), p, t);
  831. 1 2*t*i*k 1 2*i*tau
  832. ---*e - ---*e
  833. 2 2
  834. -----------------------------
  835. t*i*k + i*tau
  836. e *i
  837. off ltrig;
  838. % In such situations use the default switches:
  839. invlap(k/((p-a)**2-k**2), p, t);
  840. t*a 1 2*t*k 1
  841. e *(---*e - ---)
  842. 2 2
  843. -------------------------
  844. t*k
  845. e
  846. % i.e. e**(a*t)*cosh(k*t).
  847. invlap(e**(-tau/k*p)*k/(p**2+k**2), p, t);
  848. 1 2*t*i*k 1 2*i*tau
  849. ---*e - ---*e
  850. 2 2
  851. -----------------------------
  852. t*i*k + i*tau
  853. e *i
  854. % i.e. sin(k*t-tau).
  855. % More complicated examples.
  856. off exp,mcd;
  857. invlap((p+d)/(p**2*(p-a)), p, t);
  858. t*a -2
  859. (e *(a + d) - (d*t + 1)*a - d)*a
  860. invlap(e**(-tau/k*p)*c/(p*(p-a)**2), p, t);
  861. -1
  862. (t - k *tau)*a -1 -1 -2
  863. - (e *((k *tau - t)*a + 1) - one(t - k *tau))*a *c
  864. invlap(1/((p-a)*(p-b)*(p-c)), p, t);
  865. t*a 2 -1 t*b 2 -1
  866. e *(a - a*b - a*c + b*c) - e *(a*b - a*c - b + b*c)
  867. t*c 2 -1
  868. + e *(a*b - a*c - b*c + c )
  869. invlap((p**2+g*p+d)/(p*(p-a)**2), p, t);
  870. t*a -1 t*a -2 -2
  871. e *(a + a *d + g)*t - e *(a *d - 1) + a *d
  872. on exp,mcd;
  873. invlap(k*c**(-b*p)/((p-a)**2+k**2), p, t);
  874. t*a 2*b*i*k 2*t*i*k
  875. e *( - c + e )
  876. -------------------------------
  877. t*i*k a*b + b*i*k
  878. 2*e *c *i
  879. on ltrig;
  880. invlap(c/(p**2*(p**2+a**2)), p, t);
  881. c*(t*a - sin(a*t))
  882. --------------------
  883. 3
  884. a
  885. invlap(1/(p**2-p+1), p, t);
  886. t/2 sqrt(3)*t
  887. 2*e *sin(-----------)
  888. 2
  889. -------------------------
  890. sqrt(3)
  891. invlap(1/(p**2-p+1)**2, p, t);
  892. t/2 1 sqrt(3)*t
  893. 2*e *( - 3*t*cos(---*sqrt(3)*t) + 2*sqrt(3)*sin(-----------))
  894. 2 2
  895. -----------------------------------------------------------------
  896. 9
  897. invlap(2*a**2/(p*(p**2+4*a**2)), p, t);
  898. 1 1
  899. - ---*cos(2*a*t) + ---
  900. 2 2
  901. % This is (sin(a*t))**2 and you can get this by using the let rules :
  902. for all x let sin(2*x)=2*sin x*cos x, cos(2*x)=(cos x)**2-(sin x)**2,
  903. (cos x)**2 =1-(sin x)**2;
  904. invlap(2*a**2/(p*(p**2+4*a**2)), p, t);
  905. 2
  906. sin(a*t)
  907. for all x clear sin(2*x),cos(2*x),cos(x)**2;
  908. off ltrig;
  909. on lhyp;
  910. invlap((p**2-2*a**2)/(p*(p**2-4*a**2)),p,t);
  911. 1
  912. ---*(cosh(2*a*t) + 1)
  913. 2
  914. off lhyp;
  915. % Analogously, the above is (cosh(a*t))**2.
  916. % Floating arithmetic.
  917. invlap(2.55/((0.5*p-2.0)*(p-3.3333)), p, t);
  918. 51000 (33333*t)/10000 51000 4*t
  919. - -------*e + -------*e
  920. 6667 6667
  921. on rounded;
  922. invlap(2.55/((0.5*p-2.0)*(p-3.3333)), p, t);
  923. 4.0*t 3.3333*t
  924. 7.64961751912*e - 7.64961751912*e
  925. invlap(1.5/sqrt(p-0.5), p, t);
  926. 0.5*t
  927. 1.5*e
  928. -----------------
  929. 0.5
  930. t *gamma(0.5)
  931. invlap(2.75*p**2-0.5*p+e**(-0.9*p)/p, p, t);
  932. 2.75*df(delta(t),t,2) - 0.5*df(delta(t),t) + one(t - 0.9)
  933. invlap(1/(2.0*p-3.0)**3, p, t);
  934. 1.5*t 2
  935. 0.0625*e *t
  936. invlap(1/(2.0*p-3.0)**(3/2), p, t);
  937. 0.5 1.5*t
  938. 0.353553390593*t *e
  939. ----------------------------
  940. gamma(1.5)
  941. invlap(1/(p**2-5.0*p+6), p, t);
  942. 3.0*t 2.0*t
  943. e - e
  944. off rounded;
  945. % Adding new let rules for the invlap operator. note the syntax:
  946. for all x let invlap(log(gam*x)/x,x) = -log(lp!&);
  947. invlap(-1/2*log(gam*p)/p, p, t);
  948. log(t)
  949. --------
  950. 2
  951. invlap(-e**(-a*p)*log(gam*p)/(c*p), p, t);
  952. log( - (a - t))
  953. -----------------
  954. c
  955. for all x clear invlap(1/x*log(gam*x),x);
  956. % Very complicated examples and use of factorizer.
  957. off exp,mcd;
  958. invlap(c**(-k*p)*(p**2+g*p+d)/(p**2*(p-a)**3), p, t);
  959. (t - log(c)*k)*a -3
  960. (e *(a*g + 2*d) + d)*(log(c)*k - t)*a
  961. (t - log(c)*k)*a 2 -1 -2
  962. + 1/2*e *(log(c)*k - t) *(a *g + a *d + 1)
  963. (t - log(c)*k)*a -4 -3 -4
  964. + e *(a*g + 3*d)*a - a *g - 3*a *d
  965. on exp,mcd;
  966. invlap(1/(2*p**3-5*p**2+4*p-1), p, t);
  967. t t/2 t
  968. e *t + 2*e - 2*e
  969. on ltrig,lhyp;
  970. invlap(1/(p**4-a**4), p, t);
  971. - sin(a*t) + sinh(a*t)
  972. -------------------------
  973. 3
  974. 2*a
  975. invlap(1/((b-3)*p**4-a**4*(2+b-5)), p, t);
  976. - sin(a*t) + sinh(a*t)
  977. -------------------------
  978. 3
  979. 2*a *(b - 3)
  980. off ltrig,lhyp;
  981. % The next three examples are the same:
  982. invlap(c/(p**3/8-9*p**2/4+27/2*p-27)**2,p,t);
  983. 243 6*t 5
  984. -----*e *t *c
  985. 40
  986. invlap(c/(p/2-3)**6,p,t);
  987. 8 6*t 5
  988. ----*e *t *c
  989. 15
  990. off exp;
  991. a:=(p/2-3)**6;
  992. 6
  993. (p - 6)
  994. a := ----------
  995. 64
  996. on exp;
  997. invlap(c/a, p, t);
  998. 8 6*t 5
  999. ----*e *t *c
  1000. 15
  1001. clear a;
  1002. % The following two examples are the same :
  1003. invlap(c/(p**4+2*p**2+1)**2, p, t);
  1004. 1 2*t*i 3 1 3 1 2*t*i 2 1 2
  1005. (c*(----*e *t *i + ----*t *i - ----*e *t + ----*t
  1006. 96 96 16 16
  1007. 5 2*t*i 5 5 2*t*i 5 t*i
  1008. - ----*e *t*i - ----*t*i + ----*e - ----))/(e *i)
  1009. 32 32 32 32
  1010. invlap(c/((p-i)**4*(p+i)**4),p,t);
  1011. 1 2*t*i 3 1 3 1 2*t*i 2 1 2
  1012. (c*(----*e *t *i + ----*t *i - ----*e *t + ----*t
  1013. 96 96 16 16
  1014. 5 2*t*i 5 5 2*t*i 5 t*i
  1015. - ----*e *t*i - ----*t*i + ----*e - ----))/(e *i)
  1016. 32 32 32 32
  1017. % The following three examples are the same :
  1018. invlap(e**(-k*p)/(2*p-3)**6, p, t);
  1019. (3*t)/2 1 5 4 3 2 2 3 4 1 5
  1020. e *(---*t - t *k + 2*t *k - 2*t *k + t*k - ---*k )
  1021. 5 5
  1022. --------------------------------------------------------------
  1023. (3*k)/2
  1024. 1536*e
  1025. invlap(e**(-k*p)/(4*p**2-12*p+9)**3, p, t);
  1026. (3*t)/2 1 5 4 3 2 2 3 4 1 5
  1027. e *(---*t - t *k + 2*t *k - 2*t *k + t*k - ---*k )
  1028. 5 5
  1029. --------------------------------------------------------------
  1030. (3*k)/2
  1031. 1536*e
  1032. invlap(e**(-k*p)/(8*p**3-36*p**2+54*p-27)**2, p, t);
  1033. (3*t)/2 1 5 4 3 2 2 3 4 1 5
  1034. e *(---*t - t *k + 2*t *k - 2*t *k + t*k - ---*k )
  1035. 5 5
  1036. --------------------------------------------------------------
  1037. (3*k)/2
  1038. 1536*e
  1039. % Error messages.
  1040. invlap(e**(a*p)/p, p, t);
  1041. *** Invlap for e**(p*a)/p not known
  1042. a*p -1
  1043. invlap(e *p ,p,t)
  1044. invlap(c*p*sqrt(p), p, t);
  1045. *** Invlap for sqrt(p)*p not known
  1046. invlap(sqrt(p)*c*p,p,t)
  1047. invlap(sin(p), p, t);
  1048. *** Invlap for sin(p) not known
  1049. invlap(sin(p),p,t)
  1050. invlap(1/(a*p**3+b*p**2+c*p+d),p,t);
  1051. *** Invlap for (p**3*a + p**2*b + p*c + d)**(-1) not known
  1052. 3 2 -1
  1053. invlap((a*p + b*p + c*p + d) ,p,t)
  1054. invlap(1/(p**2-p*sin(p)+a**2),p,t);
  1055. *** Invlap for (p**2 - p*sin(p) + a**2)**(-1) not known
  1056. 2 2 -1
  1057. invlap((a + p - p*sin(p)) ,p,t)
  1058. on rounded;
  1059. invlap(1/(p**3-1), p, t);
  1060. *** Invlap for (p**3 - 1)**(-1) not known
  1061. 3 -1
  1062. invlap((p - 1) ,p,t)
  1063. off rounded;
  1064. % Severe errors:
  1065. %invlap(1/(p**2+1), p+1, sin(t) );
  1066. %invlap(p/(p+1)**2, sin(p), t);
  1067. end;
  1068. (laplace 28216 1066)
  1069. End of Lisp run after 28.23+1.74 seconds