MathGroup Archive 2005

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

Search the Archive

Re: Get numbers out of PhysicalConstants?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62581] Re: Get numbers out of PhysicalConstants?
  • From: Peter Pein <petsie at dordos.net>
  • Date: Tue, 29 Nov 2005 04:44:13 -0500 (EST)
  • References: <dme8l6$inj$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Wonseok Shin schrieb:
> Hello,
> 
> Is there any way to get numbers out of the constants defined in
> Miscellaneous`PhysicalConstants` package?  Carrying units all the time
> is inconvenient in calculation.
> 
> For example,
> In[1]:= << Miscellaneous`PhysicalConstants`
> In[2]:= VacuumPermeability
> Out[2]= \!\(\(p\ Second\ Volt\)\/\(2500000\ Ampere\ Meter\)\)
> 
> I want to get the number p/2500000 out of VacuumPermeability, without
> units.  How can I do this?
> 

DeleteCases[VacuumPermeability, s_Symbol /; Not[NumericQ[s]], â??]

(It's faster to enter Pi/2500000 ;-) )


  • Prev by Date: Re: Built-In fuctions redefined---How?
  • Next by Date: Re: How to define and plot a periodic signal?
  • Previous by thread: Re: Get numbers out of PhysicalConstants?
  • Next by thread: Re: Get numbers out of PhysicalConstants?