bug48 728 B

123456789101112131415161718192021222324252627282930
  1. %From: jpff@maths.bath.ac.uk
  2. %Date: Tue, 27 Aug 96 15:06:30 BST
  3. %Subject: Another integration failure
  4. load_package defint;
  5. f := (2*exp(x) - x^2 - 2*x -2)/(exp(x)*x^3);
  6. g := e^(-i*n*phi) * sub(x=b*t*phi^2,f);
  7. % 2
  8. % b*phi *t 2 4 2 2
  9. % 2*e - b *phi *t - 2*b*phi *t - 2
  10. %g := -------------------------------------------
  11. % 2
  12. % b*phi *t + i*n*phi 3 6 3
  13. % e *b *phi *t
  14. int(g,phi,-infinity, infinity);
  15. % repart(n)
  16. %***** abs(atan(-----------)) - 1.57079632679 invalid as number
  17. % impart(n)
  18. %***** Substitution for log(i) not allowed
  19. % Not a very helpful error message I think!
  20. end;