rlfi.tst 748 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;