Re: Get numbers out of PhysicalConstants?
- To: mathgroup at smc.vnet.net
- Subject: [mg62594] Re: Get numbers out of PhysicalConstants?
- From: bghiggins at ucdavis.edu
- Date: Tue, 29 Nov 2005 04:44:37 -0500 (EST)
- References: <dme8l6$inj$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Try the following: << Miscellaneous`PhysicalConstants` Times @@ Cases[VacuumPermeability, x_?NumericQ :> x] Cheers, Brian Wonseok Shin wrote: > 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?