#1069 integrate(%e^(%i*phi) * A + %e^(-%i*phi) * A, phi, 0,2*%pi)

closed
nobody
5
2007-06-21
2007-01-15
No

integrate(%e^(%i*phi) * A + %e^(-%i*phi) * A, phi, 0,2*%pi)

unnessecary ask whether A is pos, neg or zero::

kirr@roro-510:~/study/maxima$ maxima -q
(%i1) f: %e^(%i*phi) * A + %e^(-%i*phi) * A;
%i phi - %i phi
(%o1) %e A + %e A
(%i2) integrate(f, phi, 0,2*%pi);
Is A positive, negative, or zero?

pos;
(%o2) 0
(%i3) build_info();

Maxima version: 5.11.0cvs
Maxima build date: 19:58 1/12/2007
host type: i686-pc-linux-gnu
lisp-implementation-type: GNU Common Lisp (GCL)
lisp-implementation-version: GCL 2.6.6

Discussion

  • Raymond Toy

    Raymond Toy - 2007-01-16

    Logged In: YES
    user_id=28849
    Originator: NO

    FWIW, it asks this question because maxima is looking at limit(2*a*sin(phi), phi, 0, 'plus). I think maxima has already computed the antiderivative and is now substituting the limits of integration (carefully).

     
  • Raymond Toy

    Raymond Toy - 2007-06-21

    Logged In: YES
    user_id=28849
    Originator: NO

    The change to EASY-SUBS fixes this issue and maxima doesn't ask questions anymore.

     
  • Raymond Toy

    Raymond Toy - 2007-06-21
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks