Re: question
- To: mathgroup at smc.vnet.net
- Subject: [mg21147] Re: [mg21039] question
- From: "Tomas Garza" <tgarza at mail.internet.com.mx>
- Date: Fri, 17 Dec 1999 01:21:50 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Alexandru Tintea [alext at pluto.qteam.ici.ro] 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? Try writing a decimal point after any of the arguments: In[1]:= Cos[2.]*Sin[3] Out[1]= -0.0587266 Alternatively, In[2]:= Cos[2]*Sin[3] // N Out[2]= -0.0587266 Tomas Garza Mexico City