MathGroup Archive 2008

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

Search the Archive

Re: function not evaluating question tia sal2

  • To: mathgroup at smc.vnet.net
  • Subject: [mg87990] Re: [mg87933] function not evaluating question tia sal2
  • From: "W_Craig Carter" <ccarter at mit.edu>
  • Date: Mon, 21 Apr 2008 14:36:09 -0400 (EDT)
  • References: <200804210721.DAA18787@smc.vnet.net>

>  I trying to evaluate this function to a numerical value but it doesn;t
>  seem to work I replace the expression with t sin t and it works what
>  am I doing wrong?
>
>  In[240]:= f = Function[{t}, 0.680232  Cos 6.28319 [t]]
>  Out[240]:= Function[{t}, 0.680232 Cos 6.28319[t]]

f = Function[{t}, 0.680232 Cos [6.28319 t]]
f[2.5] yields -0.680232

I suspect you may want:
f2 = Function[{t}, 0.680232 Cos [2 Pi t]]
f2[2.5] also yields -0.680232
but is not numerically "=" to f[2.5]


  • Prev by Date: Re: Tilted decimals - Mathematica 6
  • Next by Date: Re: Player Pro and Packages
  • Previous by thread: function not evaluating question tia sal2
  • Next by thread: Re: function not evaluating question tia sal2