MathGroup Archive 2000

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

Search the Archive

Re: Problem with Integration

  • To: mathgroup at smc.vnet.net
  • Subject: [mg22556] Re: Problem with Integration
  • From: hans.steffani at e-technik.tu-chemnitz.de (Hans Friedrich Steffani)
  • Date: Sat, 11 Mar 2000 17:52:33 -0500 (EST)
  • Organization: Chemnitz University of Technology
  • References: <8a53ai$dln@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On 8 Mar 2000 03:34:26 -0500, 
Hans Friedrich Steffani <hans.steffani at e-technik.tu-chemnitz.de> wrote:

>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

The 1.0 was only a placeholder for some magic numeric value. I am now
using
U[f_]:=1.0*Simplify[Integrate[Cos[(f*Pi)/(180*2) + alpha],
                              {alpha,-(Pi/3), Pi/3}]]
which leads to real results for real f.

Thanks for any help.

Hans Friedrich Steffani


  • Prev by Date: TCl interface to Mathematica
  • Next by Date: MathLink Speed.
  • Previous by thread: Re: Problem with Integration
  • Next by thread: Continuous Wavelet Transform?