home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   sci.math.symbolic      Symbolic algebra discussion      10,432 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,841 of 10,432   
   none) (Rouben Rostamian to maple@rogers.com   
   Re: how does your CAS handle this integr   
   05 Mar 18 06:40:32   
   
   From: rouben@x301-1.   
      
   In article <84fdfdbe-d1f6-4693-8faa-8ba283372e71@googlegroups.com>,   
   acer   wrote:   
   >restart;   
   >integrand := cos(x)* sin(x)^2*cos(n*x):   
   >int(integrand,x=0..2*Pi,allsolutions) assuming n::integer, n>0;   
   >   
   >                     /  1   
   >                     |  - Pi         n = 1   
   >                     |  4   
   >                     |   
   >                    <    1   
   >                     | - - Pi        n = 3   
   >                     |   4   
   >                     |   
   >                     \   0         otherwise   
   >   
      
   Let's look at a simpler case:   
   restart;   
   > kernelopts(version);   
              Maple 2017.3, X86 64 LINUX, Sep 27 2017, Build ID 1265877   
      
   > int(cos(n*x), x=0..2*Pi, allsolutions) assuming n::integer;   
                               { 2 Pi          n = 0   
                               {   
                               {  0          otherwise   
      
   That's good. But this one doesn't work -- the n=0 case should give 2 Pi:   
   > int(exp(n*I*x), x=0..2*Pi, allsolutions) assuming n::integer;   
                                          0   
      
   --   
   Rouben Rostamian   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca