Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Turning on numerical computation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62763] Re: [mg62756] Turning on numerical computation
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Mon, 5 Dec 2005 03:37:02 -0500 (EST)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Default behavior is exact

{E,Pi,GoldenRatio}

{\[ExponentialE], ?, ?}

%//N

{2.71828, 3.14159, 1.61803}

?$Post

$Post is a global variable whose value, if set, is applied to every output 
expression."

$Post=N;

{E, Pi, GoldenRatio}

{2.71828, 3.14159, 1.61803}

Restore default behavior to exact using

$Post=.

{E, Pi, GoldenRatio}

{\[ExponentialE], ?, ?}

%//N

{2.71828, 3.14159, 1.61803}


Bob Hanlon

> 
> From: New Guy <NewGuy at yahoo.com>
To: mathgroup at smc.vnet.net
> Date: 2005/12/04 Sun AM 05:57:36 EST
> Subject: [mg62763] [mg62756] Turning on numerical computation
> 
> Mathematica outputs answers in symbolic form as the exact answer.
> 
> I can force numeric output by N or using a decimal.
> 
> Can I make numeric answers the default until I want to go back to
> symbolic.  In other words, can I turn numeric on and off as my default
> output?
> 
> Thank you.
> 
> 


  • Prev by Date: Re: How would you evaluate this limit in Mathmatica
  • Next by Date: Re: Re: Types in Mathematica
  • Previous by thread: Re: Turning on numerical computation
  • Next by thread: Re: Turning on numerical computation