Re: Re: Integrate is driving me crazy, please help!

*To*: mathgroup at smc.vnet.net*Subject*: [mg56286] Re: [mg56221] Re: Integrate is driving me crazy, please help!*From*: DrBob <drbob at bigfoot.com>*Date*: Thu, 21 Apr 2005 05:36:04 -0400 (EDT)*References*: <d3vn1h$jm9$1@smc.vnet.net> <200504200929.FAA17783@smc.vnet.net>*Reply-to*: drbob at bigfoot.com*Sender*: owner-wri-mathgroup at wolfram.com

> I think you are misunderstanding functions in Mathematica. They are > called via "FunctionName[arguments]" (note the square brackets!) Several people have pointed this out, but actually, Jim's code is valid TraditionalForm input (except that pi should be Pi). That wouldn't explain the output he got, of course. Bobby On Wed, 20 Apr 2005 05:29:51 -0400 (EDT), Mischa Oliver ALtmann <moaltmann at gmail.com> wrote: > Jim Martin <jim.martin at utah.edu> wrote in message news:<d3vn1h$jm9$1 at smc.vnet.net>... >> Integrate[(hillb*((f0 + hilla)/(2*pi*f*a*Cos(ArcSin(x/a)) + hillb))) - >> hilla, {x, -a, a}] > I think you are misunderstanding functions in Mathematica. They are > called via "FunctionName[arguments]" (note the square brackets!) By > convention all built-in functions are capitalised (e.g. Cos[x]) and > user-defined ones are generally in lowercase. > >> Mathematica returns this: >> (-4 a ArcSin Cos f hilla pi + (f0 + hilla) hillb (-Log[hillb - 2 a >> ArcSin Cos f pi] + Log[hillb + 2 a ArcSin Cos f pi]))/(4 a ArcSin >> Cos f pi) > Here you can see that Mathematica treated Arcsin and Cos (note your > incorrect use of round brackets) as variables(!). > > If you have enough time it might be worth taking an hour to go through > the built-in basic tutorial in the included help file. > > Mischa > > > > -- DrBob at bigfoot.com

**References**:**Re: Integrate is driving me crazy, please help!***From:*moaltmann@gmail.com (Mischa Oliver ALtmann)