MathGroup Archive 1999

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

Search the Archive

Re: question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg21203] Re: question
  • From: David Pearson <david.pearson at mail.nerc-essc.ac.uk>
  • Date: Fri, 17 Dec 1999 01:24:53 -0500 (EST)
  • Organization: ESSC
  • References: <831sjn$fj2@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Use N like this:

In[5]:= Cos[2]*Sin[3]

Out[5]= Cos[2] Sin[3]

In[6]:= N[Cos[2]*Sin[3]]

Out[6]= -0.0587266

In[7]:= N[Cos[2]*Sin[3],50]

Out[7]= -0.058726644927620981120326042262847486864949241583115


Alexandru Tintea wrote:
> 
> In Mathematica Version 2.2. I can't write_and_evaluate Cos[2]*Sin[3] because
> I receive a simple result: Cos[2]*Sin[3]
> If I write Cos[0.2]*Sin[3.3] I receive a numeric result: 0.05756;
> If I write Evaluate[Cos[0.2]]*Evaluate[Sin[3.3]] I receive a numeric result:
> 0.05756;
> If I write Evaluate[Cos[2]]*Evaluate[Sin[3]] I receive a literal result:
> Evaluate[Cos[2]]*Evaluate[Sin[3]]
> I set the path in the "init.m" file and I receive the same answers.
> What can I do?
> Thank You!

-- 
David Pearson,              Phone: +44 (0)118  9318741
ESSC,                       Fax:   +44 (0)118  9316413 
University of Reading,      Email: dwcp at mail.nerc-essc.ac.uk
Reading RG6 6AL,            
UK.                         www.nerc-essc.ac.uk/~dwcp/Home.html


  • Prev by Date: Re: Solve transcendental functions
  • Next by Date: Re: Integration question
  • Previous by thread: Re: question
  • Next by thread: Re: question