Services & Resources / Wolfram Forums / MathGroup Archive
-----

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: [mg87975] Re: function not evaluating question tia sal2
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Mon, 21 Apr 2008 06:39:12 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <fuhf9h$ia3$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

you should try to read the manual and learn to
set the brackets on the right positions:

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

Regards
   Jens

ratullochjk2 at gmail.com wrote:
> function not evaluating question tia sal2
> 
> Greetings All
> 
> 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]]
> 
> 
> In[241]:= Evaluate [f[2.5]]
> Out[241]:= 0.680232 Cos 6.28319[2.5]
> 
> Why am I not getting a numerical value?  tia sal2
> 


  • Prev by Date: Re: Sorting 3 points
  • Next by Date: Re: function not evaluating question tia sal2
  • Previous by thread: Re: function not evaluating question tia sal2
  • Next by thread: Re: function not evaluating question tia sal2