MathGroup Archive 2008

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

Search the Archive

Re: Mathematica syntax


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