Problem with Integration
- To: mathgroup at smc.vnet.net
- Subject: [mg22496] Problem with Integration
- From: hans.steffani at e-technik.tu-chemnitz.de (Hans Friedrich Steffani)
- Date: Wed, 8 Mar 2000 02:22:37 -0500 (EST)
- Organization: Chemnitz University of Technology
- Sender: owner-wri-mathgroup at wolfram.com
In[1]:= U[f_]:=1.0*Integrate[Cos[(f*Pi)/(180*2) + alpha],{alpha,-(Pi/3), Pi/3}] In[2]:= U[60] -16 Out[2]= 1.5 - 6.08617 10 I In[3]:= Integrate[Cos[(f*Pi)/(180*2) + alpha],{alpha, -(Pi/3), Pi/3}] f Pi Out[3]= Sqrt[3] Cos[----] 360 Cos[f Pi/360] should be real vor any real f. How can I avoid results like Out[2] (exepct using Chop[] or Re[])? Hans Friedrich Steffani PS: Thanks for the help with my other problems last week. h.f.s. -- Hans Friedrich Steffani Institut fuer Elektrische Maschinen und Antriebe, TU Chemnitz mailto:hans.steffani at e-technik.tu-chemnitz.de http://www.tu-chemnitz.de/~hfst/