APPLYSYM.TST 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. off echo;
  2. lisp(depl!*:=nil)$ % clearing of all dependences
  3. setcrackflags()$
  4. lisp <<
  5. write"-------------------------------------------------------"$terpri()$
  6. write"This file is supposed to provide an automatic test of"$terpri()$
  7. write"the program APPLYSYM. On the other hand the application"$terpri()$
  8. write"of APPLYSYM is an interactive process, therefore the"$terpri()$
  9. write"interested user should inspect the example described"$terpri()$
  10. write"in APPLYSYM.TEX which demonstrates the application"$terpri()$
  11. write"of symmetries to integrate a 2nd order ODE."$terpri()$
  12. write"Here the program QUASILINPDE for integrating first"$terpri()$
  13. write"order quasilinear PDE is demonstrated."$terpri()$terpri()$
  14. write"The following equation comes up in the elimination"$terpri()$
  15. write"of resonant terms in normal forms of singularities"$terpri()$
  16. write"of vector fields (C.Herssens, P.Bonckaert, Limburgs"$terpri()$
  17. write"Universitair Centrum/Belgium, private communication)."$terpri()$
  18. write"-------------------------------------------------------"$terpri()$
  19. >>$
  20. depend w,x,y,z$
  21. QUASILINPDE( df(w,x)*x+df(w,y)*y+2*df(w,z)*z-2*w-x*y, w, {x,y,z} )$
  22. nodepend w,x,y,z$
  23. lisp <<terpri()$
  24. write"-------------------------------------------------------"$terpri()$
  25. write"Comment:"$terpri()$
  26. write"The result means that w is defined implicitly through "$terpri()$
  27. write" "$terpri()$
  28. write" - log(z)*x*y + 2*w sqrt(z)*x sqrt(z)*y "$terpri()$
  29. write"0 = ff(---------------------,-----------,-----------) "$terpri()$
  30. write" z z z "$terpri()$
  31. write" "$terpri()$
  32. write"with an arbitrary function ff of 3 arguments. As the PDE"$
  33. terpri()$
  34. write"was linear, the arguments of ff are such that we can "$terpri()$
  35. write"solve for w: "$terpri()$
  36. write" "$terpri()$
  37. write" sqrt(z)*x sqrt(z)*y "$terpri()$
  38. write"w = log(z)*x*y/2 + z*f(-----------,-----------)"$terpri()$
  39. write" z z "$terpri()$
  40. write""$terpri()$
  41. write"with an arbitrary function f of 2 arguments."$terpri()$terpri()$
  42. write"-------------------------------------------------------"$terpri()$
  43. write"The following PDEs are taken from E. Kamke,"$terpri()$
  44. write"Loesungsmethoden und Loesungen von Differential-"$terpri()$
  45. write"gleichungen, Partielle Differentialgleichungen"$terpri()$
  46. write"erster Ordnung, B.G. Teubner, Stuttgart (1979)."$terpri()$
  47. >>$
  48. write"------------------- equation 1.4 ----------------------"$
  49. lisp(depl!*:=nil);
  50. depend z,x,y$
  51. QUASILINPDE( x*df(z,x)-y, z, {x,y})$
  52. write"------------------- equation 2.5 ----------------------"$
  53. lisp(depl!*:=nil);
  54. depend z,x,y$
  55. QUASILINPDE( x**2*df(z,x)+y**2*df(z,y), z, {x,y})$
  56. write"------------------- equation 2.6 ----------------------"$
  57. lisp(depl!*:=nil);
  58. depend z,x,y$
  59. QUASILINPDE( (x**2-y**2)*df(z,x)+2*x*y*df(z,y), z, {x,y})$
  60. write"------------------- equation 2.7 ----------------------"$
  61. lisp(depl!*:=nil);
  62. depend z,x,y$
  63. QUASILINPDE( (a0*x-a1)*df(z,x)+(a0*y-a2)*df(z,y), z, {x,y})$
  64. write"------------------- equation 2.14 ---------------------"$
  65. lisp(depl!*:=nil);
  66. depend z,x,y$
  67. QUASILINPDE( a*df(z,x)+b*df(z,y)-x**2+y**2, z, {x,y})$
  68. write"------------------- equation 2.16 ---------------------"$
  69. lisp(depl!*:=nil);
  70. depend z,x,y$
  71. QUASILINPDE( x*df(z,x)+y*df(z,y)-a*x, z, {x,y})$
  72. write"------------------- equation 2.20 ---------------------"$
  73. lisp(depl!*:=nil);
  74. depend z,x,y$
  75. QUASILINPDE( df(z,x)+df(z,y)-a*z, z, {x,y})$
  76. write"------------------- equation 2.21 ---------------------"$
  77. lisp(depl!*:=nil);
  78. depend z,x,y$
  79. QUASILINPDE( df(z,x)-y*df(z,y)+z, z, {x,y})$
  80. write"------------------- equation 2.22 ---------------------"$
  81. lisp(depl!*:=nil);
  82. depend z,x,y$
  83. QUASILINPDE( 2*df(z,x)-y*df(z,y)+z, z, {x,y})$
  84. write"------------------- equation 2.23 ---------------------"$
  85. lisp(depl!*:=nil);
  86. depend z,x,y$
  87. QUASILINPDE( a*df(z,x)+y*df(z,y)-b*z, z, {x,y})$
  88. write"------------------- equation 2.24 ---------------------"$
  89. lisp(depl!*:=nil);
  90. depend z,x,y$
  91. QUASILINPDE( x*(df(z,x)-df(z,y))-y*df(z,y), z,{x,y})$
  92. write"------------------- equation 2.25 ---------------------"$
  93. lisp(depl!*:=nil);
  94. depend z,x,y$
  95. QUASILINPDE( x*df(z,x)+y*df(z,y)-az, z, {x,y})$
  96. write"------------------- equation 2.26 ---------------------"$
  97. lisp(depl!*:=nil);
  98. depend z,x,y$
  99. QUASILINPDE( x*df(z,x)+y*df(z,y)-z+x**2+y**2-1, z, {x,y})$
  100. write"------------------- equation 2.39 ---------------------"$
  101. lisp(depl!*:=nil);
  102. depend z,x,y$
  103. QUASILINPDE( a*x**2*df(z,x)+b*y**2*df(z,y)-c*z**2, z, {x,y})$
  104. write"------------------- equation 2.40 ---------------------"$
  105. lisp(depl!*:=nil);
  106. depend z,x,y$
  107. QUASILINPDE( x*y**2*df(z,x)+2*y**3*df(z,y)-2*(y*z-x**2)**2, z,
  108. {x,y})$
  109. write"------------------- equation 3.12 ---------------------"$
  110. lisp(depl!*:=nil);
  111. depend w,x,y,z$
  112. QUASILINPDE( x*df(w,x)+(a*x+b*y)*df(w,y)+(c*x+d*y+f*z)*df(w,z), w,
  113. {x,y,z})$
  114. write"------------------------ end --------------------------"$
  115. lisp(depl!*:=nil);
  116. end;