mrvlimit.tst 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. off exp; off mcd;
  2. mrv_limit(e^x,x,infinity);
  3. ex:=log(log(x)+log(log(x)))-log(log(x));
  4. ex:=ex/(log(log(x)+log(log(log(x)))));
  5. ex:=ex*log(x);
  6. mrv_limit(e^-x,x,infinity);
  7. mrv_limit(log(x),x,infinity);
  8. mrv_limit(1/log(x),x,infinity);
  9. a:=e^(1/x-e^-x)-e^(1/x);
  10. a:=a/e^(-x);
  11. mrv_limit(a,x,infinity) ; % all of these are correct
  12. mrv_limit(e^-x,x,infinity) ;
  13. mrv_limit(log(x),x,infinity) ;
  14. mrv_limit(1/log(x),x,infinity) ;
  15. a:=e^(1/x-e^-x)-e^(1/x);
  16. a:=a/e^(-x);
  17. b:=e^x*(e^(1/x-e^-x)-e^(1/x));
  18. %c:=e^x*(e^(1/x+e^(-x)+e^(-x^2))-e^(1/x-e^(-e^x)))
  19. maxi1({e^(-x^2)},{e^x});
  20. cc:= e^(log(log(x+e^(log(x)*log(log(x)))))/log(log(log(e^x+x+log(x)))));
  21. b:=e^x*(e^(1/x-e^-x)-e^(1/x));
  22. c:=e^x*(e^(1/x+e^(-x)+e^(-x^2))-e^(1/x-e^(-e^x)));
  23. e^(log(log(x+e^(log(x)*log(log(x)))))/(log(log(log(e^x+x+log(x))))));
  24. %% mrv_limit(ws,x,infinity);
  25. aa:=e^(e^(e^x));
  26. bb:=e^(e^(e^(x-e^(-e^x))));
  27. ex1:=(e^x)*(e^((1/x)-e^(-x))-e^(1/x)); % returns -1 correct
  28. ex2:=(e^x)*(e^((1/x)-e^(-x)-e^(-x^2))-e^((1/x)-e^(-e^x))); % returns infinity
  29. ex3:=e^(e^(x-e^-x)/(1-1/x))-e^(e^x); % returns - infinity
  30. ex4:=e^(e^((e^x)/(1-1/x)))-e^(e^((e^x)/(1-1/x-(log(x))^(-log(x)))));
  31. ex5:=(e^(e^(e^(x+e^-x))))/(e^(e^(e^x)));
  32. ex6:=(e^(e^(e^x)))/(e^(e^(e^(x-e^(-e^x)))));
  33. ex7:=(e^(e^(e^x)))/(e^(e^(e^(x-e^(e^x)))));
  34. ex8:=(e^(e^x))/(e^(e^(x-e^(-e^(e^x)))));
  35. ex9:=((log(x)^2)*e^(sqrt(log(x))*((log(log(x)))^2)*e^((sqrt(log(log(x))))*(log(log(log(x)))^3))))/sqrt(x);
  36. ex10:=((x*log(x))*(log(x*e^x-x^2))^2)/(log(log(x^2+2*e^(3*x^3*log(x)))));
  37. misc1:=1/(e^(-x+e^-x))-e^x; % returns -1 correct
  38. misc2:=(e^(1/x-e^-x)-e^(1/x))/(e^-x); % returns -1 correct
  39. misc3:=e^(-log(x+e^-x)); % returns 0 correct
  40. misc4:=e^(x-e^x); % returns 0 correct
  41. % bb limit is infinity correct
  42. mrv_limit(ex,x,infinity); %1
  43. mrv_limit(ex1,x,infinity); % -1
  44. %% mrv_limit(ex2,x,infinity); % -1
  45. %% mrv_limit(b,x,infinity); % -1
  46. mrv_limit(a,x,infinity);
  47. %% mrv_limit(ex3,x,infinity);
  48. %% mrv_limit(ex4,x,infinity);
  49. %% mrv_limit(ex5,x,infinity); % 0
  50. %% mrv_limit(ex6,x,infinity);
  51. mrv_limit(misc1,x,infinity);
  52. mrv_limit(misc2,x,infinity);
  53. mrv_limit(misc3,x,infinity);
  54. mrv_limit(misc4,x,infinity);
  55. end;