crack.tst 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. % Initial load up list
  2. off echo$
  3. lisp(depl!*:=nil)$ % clearing of all dependences
  4. setcrackflags()$
  5. lisp write
  6. "...................................................................",
  7. "......."$
  8. write "An example of the determination of point symmetries for ODEs"$
  9. depend y,x$
  10. de := {df(y,x,2) = (df(y,x)*(2*x*y+x**3) - 4*y**2)/x**4,
  11. y, x}$
  12. mo := {0,nil,nil}$
  13. LIEPDE(de,mo)$
  14. nodepend y,x$
  15. lisp write
  16. "...................................................................",
  17. "......."$
  18. write "An example of the determination of point symmetries for PDEs"$
  19. depend u,x,y$
  20. de := {df(u,x,x)-df(u,y),u,{x,y}}$
  21. mo := {0,nil,nil}$
  22. LIEPDE(de,mo)$
  23. nodepend u,x,y$
  24. lisp write
  25. "...................................................................",
  26. "......."$
  27. write "An example of the determination of first integrals of ODEs"$
  28. depend y,x$
  29. de := {df(y,x,2)=x*df(y,x)**2-2*df(y,x)/x-y**2/x, y, x}$
  30. mo := {0,{},2}$
  31. FIRINT(de,mo)$
  32. nodepend y,x$
  33. lisp write
  34. "...................................................................",
  35. "......."$
  36. write "An example of the determination of a Lagrangian for an ODE "$
  37. depend f,x$
  38. depend y,x$
  39. de := {df(y,x,2) = 6*y**2 + x, y, x}$
  40. mo := {0,{}}$
  41. LAGRAN(de,mo)$
  42. nodepend f,x$
  43. nodepend y,x$
  44. lisp write
  45. "...................................................................",
  46. "......."$
  47. write "An example of the factorization of an ODE " $
  48. depend f,x$
  49. depend y,x$
  50. depend q,x$
  51. de := {df(y,x,2) = df(y,x)**2/y - f*df(y,x) - y*q, y, x}$
  52. mo := {2,{}}$
  53. DECOMP(de,mo)$
  54. nodepend f,x$
  55. nodepend y,x$
  56. nodepend q,x$
  57. end$
  58. --