rlfi.tst 715 B

1234567891011121314151617181920212223242526272829303132
  1. off echo,msg;
  2. on latex;
  3. (a+b)**5\(a-b)**4;
  4. x:=(a+b)**3;
  5. {x,DF(x,a),DF(x,a,2)};
  6. {{a,x},x};
  7. ON VERBATIM;
  8. SOLVE(a^7-13*a+5);
  9. SOLVE(a**(2*y)-3*a**y+2,y);
  10. OFF VERBATIM;
  11. DEPEND a,c;
  12. DF(x,c,2);
  13. DEFID al,NAME=alpha;
  14. DEFID be,NAME=beta;
  15. SIN al**2+COS al**2=1;
  16. SIN(al+be)=SIN al*COS be+COS al*SIN be;
  17. OFF LASIMP;
  18. DEFID u,FONT=bold,ACCENT=tilde;
  19. DEFID f,FONT=bold;
  20. DEFID d,NAME=Delta;
  21. DEFINDEX u(UP,DOWN,DOWN),f(UP),i(DOWN);
  22. PDF(u e,t)+c*PDF(u e,x,2)+b*PDF(u i,x)=f e;
  23. (u(e,j+1,k)-u(e,j,k))\ d t +c*(u(e,j,k+1)-2*u(e,j,k)+u(e,j,
  24. k-1))\d(x)**2+ b*(u(i,j,k+1/2)-u(i,j,k-1/2))\d x=f e;
  25. ON VERBATIM;
  26. PRODUCT(k=1,2*n+1,f(2*i k+1)\(i(2*k+1)-1));
  27. INT(u(e,j,k,x)*f(e,x),x);
  28. SUM(i=0,n,SQRT u(e,i));
  29. OFF LATEX,VERBATIM;
  30. on lasimp;
  31. end;