rlfi.rlg 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. Tue Apr 15 00:34:22 2008 run on win32
  2. off echo,msg;
  3. \documentstyle{article}
  4. \begin{document}
  5. \begin{displaymath}
  6. \frac{a^{5}+5 a^{4} b+10 a^{3} b^{2}+10 a^{2} b^{3}+5 a b^{4}+b^{5}}{a^{4}-4 a
  7. ^{3} b+6 a^{2} b^{2}-4 a b^{3}+b^{4}}
  8. \end{displaymath}
  9. \begin{displaymath}
  10. x=a^{3}+3 a^{2} b+3 a b^{2}+b^{3}
  11. \end{displaymath}
  12. \begin{displaymath}
  13. \left\{
  14. a^{3}+3 a^{2} b+3 a b^{2}+b^{3} , 3 \left(a^{2}+2 a b+b^{2}\right) , 6 \left(a
  15. +b\right)
  16. \right\}
  17. \end{displaymath}
  18. \begin{displaymath}
  19. \left\{
  20. \left\{
  21. a , a^{3}+3 a^{2} b+3 a b^{2}+b^{3}
  22. \right\} , a^{3}+3 a^{2} b+3 a b^{2}+b^{3}
  23. \right\}
  24. \end{displaymath}
  25. \begin{verbatim}
  26. REDUCE Input:
  27. solve(a^7-13*a+5);
  28. Unknown: a
  29. \end{verbatim}
  30. \begin{displaymath}
  31. \left\{
  32. a={\rm root\_of} \left(a\_^{7}-13 a\_+5,a\_,tag\_1\right)
  33. \right\}
  34. \end{displaymath}
  35. \begin{verbatim}
  36. REDUCE Input:
  37. solve(a**(2*y)-3*a**y+2,y);
  38. \end{verbatim}
  39. \begin{displaymath}
  40. \left\{
  41. y=\left(2 {\rm arbint} _{2} i \pi +\log \,2\right)/\log \,a , y=\left(2
  42. {\rm arbint} _{1} i \pi \right)/\log \,a
  43. \right\}
  44. \end{displaymath}
  45. \begin{verbatim}
  46. REDUCE Input:
  47. off verbatim;
  48. \end{verbatim}
  49. \begin{displaymath}
  50. 3 \left(\frac{{\rm d}^{2}a}{{\rm d}c^{2}} a^{2}+2 \frac{{\rm d}^{2}a}{{\rm d}c
  51. ^{2}} a b+\frac{{\rm d}^{2}a}{{\rm d}c^{2}} b^{2}+2 \left(\frac{{\rm d}\,a}{
  52. {\rm d}\,c}\right)^{2} a+2 \left(\frac{{\rm d}\,a}{{\rm d}\,c}\right)^{2} b
  53. \right)
  54. \end{displaymath}
  55. \begin{displaymath}
  56. \cos ^{2}\,\alpha +\sin ^{2}\,\alpha =1
  57. \end{displaymath}
  58. \begin{displaymath}
  59. \sin \left(\alpha +\beta \right)=\cos \,\alpha \: \sin \,\beta \:+\cos \,
  60. \beta \: \sin \,\alpha \:
  61. \end{displaymath}
  62. \begin{displaymath}
  63. \frac{\partial \,{\bf \tilde{u}}^{e}}{\partial \,t}+c \frac{\partial ^{2}{\bf
  64. \tilde{u}}^{e}}{\partial x^{2}}+b \frac{\partial \,{\bf \tilde{u}}^{i}}{
  65. \partial \,x}={\bf f}^{e}
  66. \end{displaymath}
  67. \begin{displaymath}
  68. \frac{{\bf \tilde{u}}^{e}_{j+1,k}-{\bf \tilde{u}}^{e}_{jk}}{\delta \,t}+c
  69. \frac{{\bf \tilde{u}}^{e}_{j,k+1}-2 {\bf \tilde{u}}^{e}_{jk}+{\bf \tilde{u}}^{
  70. e}_{j,k-1}}{\delta ^{2}\,x}+b \frac{{\bf \tilde{u}}^{i}_{j,k+1/2}-{\bf \tilde{
  71. u}}^{i}_{j,k-1/2}}{\delta \,x}={\bf f}^{e}
  72. \end{displaymath}
  73. \begin{verbatim}
  74. REDUCE Input:
  75. product(k=1,2*n+1,f(2*i k+1)\(i(2*k+1)-1));
  76. \end{verbatim}
  77. \begin{displaymath}
  78. \prod _{k=1}^{2 n+1}\frac{{\bf f}^{2 i_{k}+1}}{i_{2 k+1}-1}
  79. \end{displaymath}
  80. \begin{verbatim}
  81. REDUCE Input:
  82. int(u(e,j,k,x)*f(e,x),x);
  83. \end{verbatim}
  84. \begin{displaymath}
  85. \int {\bf \tilde{u}}^{e}_{jk}\left(x\right) {\bf f}^{e}\left(x\right)\:d\,x
  86. \end{displaymath}
  87. \begin{verbatim}
  88. REDUCE Input:
  89. sum(i=0,n,sqrt u(e,i));
  90. \end{verbatim}
  91. \begin{displaymath}
  92. \sum _{i=0}^{n}\sqrt {{\bf \tilde{u}}^{e}_{i}}
  93. \end{displaymath}
  94. \begin{verbatim}
  95. REDUCE Input:
  96. off latex,verbatim;
  97. \end{verbatim}
  98. \end{document}
  99. Time for test: 6 ms, plus GC time: 8 ms