Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Integrate is driving me crazy, please help!

  • To: mathgroup at smc.vnet.net
  • Subject: [mg56221] Re: Integrate is driving me crazy, please help!
  • From: moaltmann at gmail.com (Mischa Oliver ALtmann)
  • Date: Wed, 20 Apr 2005 05:29:51 -0400 (EDT)
  • References: <d3vn1h$jm9$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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


  • Prev by Date: Re: assigning functions
  • Next by Date: Re: match 1, replace 2
  • Previous by thread: Re: Re: Integrate is driving me crazy, please help!
  • Next by thread: Re: Re: Integrate is driving me crazy, please help!