MathGroup Archive 2008

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

Search the Archive

Re: Mathematica syntax

  • To: mathgroup at smc.vnet.net
  • Subject: [mg87928] Re: [mg87877] Mathematica syntax
  • From: "W_Craig Carter" <ccarter at mit.edu>
  • Date: Sat, 19 Apr 2008 23:54:41 -0400 (EDT)
  • References: <200804190734.DAA09787@smc.vnet.net>

On Sat, Apr 19, 2008 at 3:34 AM,  <c.justin88 at gmail.com> wrote:
> An error is yielded with the below segment:
>
>  l4**2*m1*phidd - l3**2*m2*psidd +
>  - l1**2*m1*thdd + l4**2*m1*thdd + l2**2*m2*thdd +
>  - l3**2*m2*thdd + (l1**2*mb*thdd)/3. -
>  - (l1*l2*mb*thdd)/3. + (l2**2*mb*thdd)/3. -
>  - l1*l4*m1*(phidd + 2*thdd)*Cos(phi) +

I believe it may arise from, among other things, Cos(phi) where you
probably mean Cos[phi]. Also, I don't think Mathematica recognizes the
** as exponentiation as I think you intend: n.b. 2^3 is 8
Regards. Craog

-- 
W. Craig Carter


  • Prev by Date: Re: Problems to find the local extrema of an InterpolatingFunction
  • Next by Date: Re: Problems to find the local extrema of an InterpolatingFunction
  • Previous by thread: Mathematica syntax
  • Next by thread: Re: Mathematica syntax