MathGroup Archive 1993

[Date Index] [Thread Index] [Author Index]

Search the Archive

Simple Integrations in Mathematica


Hello, I am helping with a couple calculus classes in which we are  
trying to encourage beginning students to use Mathematica to their  
benefit.  Unfortunately students tend to be daunted when they  
encounter the following:
============================================
In[1]:= Integrate[(1+Sin[x])/Cos[x]^2,x]

                 x
           2 Sin[-]
                 2
Out[1]= ---------------
            x        x
        Cos[-] - Sin[-]
            2        2

In[2]:= Integrate[(1+Sin[x])/Cos[x]^2,{x,0,Pi/4}]

                         5/4
        (1 + I) (1 + (-1)   )
Out[2]= ---------------------
                     1/4
            -I + (-1)
============================================
As opposed to the simpler expected results Tan[x] + Sec[x] and  
Sqrt[2] respectively. Is there an easy way to force these solutions?   
(This by the way is only one example--it is not the only instance).   
I recall a while ago someone had a similar question relating to the  
suppression of special functions.  I don't recall the answer to that  
question, but I seem to remember it wasn't trivial.  Well, anyways  
any suggestions to make the answers look slightly more friendly for  
students would be greatly appreciated.

Michael Ibrahim
wasfy at nic.gac.edu
NeXT Mail accepted 






  • Prev by Date: Looking for information
  • Next by Date: Re: Lists
  • Previous by thread: Re: Looking for information
  • Next by thread: Re: Simple Integrations in Mathematica