MathGroup Archive 2006

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

Search the Archive

how to define a constant like Pi in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63936] how to define a constant like Pi in Mathematica
  • From: "John Smith" <doesnotexist at dread13.news.tele.dk>
  • Date: Mon, 23 Jan 2006 04:11:51 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

I would like to define a constant in mathematica for example c=1.2345 in
such a way that it behaves exactly like Pi or E.
That is when I type c then I get the output c and not 1.2345.
If I do integration[Exp[-c*x^2],{x,-oo,oo}] then I should get sqrt[Pi/c] and
not If[c<0...]



  • Prev by Date: show workings
  • Next by Date: Re: Simplifying the root of a quadratic
  • Previous by thread: Re: Re: show workings
  • Next by thread: Re: how to define a constant like Pi in Mathematica