Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: number dot (with space)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99806] Re: number dot (with space)
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Fri, 15 May 2009 04:17:34 -0400 (EDT)
  • References: <gugars$ekm$1@smc.vnet.net>

Emin Gahramanov wrote:
> Hi guys,
> sorry for the silly question (I am a Mathematica dummy). I have integrated 
> out an expression, and I do not know how to interpret the term like this:
> (-1. g + r)^4)
> What throws me off is "1. g" (g is a parameter), what is that dot after one
>  and there is also a SPACE after the dot and before "g" symbol. Sometimes I
>  get smth. like "1. r" what is that supposed to mean? If r=2, then how to
>  interpret the latter? Is it 1.2?? Or? Thanks.
> 

It means -1.0*g.  Avoid inexact numbers when doing symbolic 
calculations.  Of course 1*g is just g, but in Mathematica 1.0 means 1 
with a certain precision, not necessarily precisely 1.  Use Rationalize 
to convert floating point numbers to rationals.


  • Prev by Date: Re: number dot (with space)
  • Next by Date: Re: Problem with strings and backslashes
  • Previous by thread: Re: number dot (with space)
  • Next by thread: Re: number dot (with space)