Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I need to get the quantity of gravitational constant: QuantityMagnitude[GravitationalConstant] why this is not work? Already load the PhysicalConstants package.

share|improve this question
1  
QuantityMagnitude@UnitConvert[Quantity["GravitationalConstant"]] –  RunnyKine Nov 16 '13 at 3:05
    
@RunnyKine Great! –  van abel Nov 16 '13 at 3:07
    
you do not need to load the PhysicalConstants package –  becko Nov 27 '13 at 20:43
    
man its irritating the docs just say "physical constant functionality is built into mathematica" without providing any clue how to access. Even if you find the Quantity page it doesn't say anything about physical constants. –  george2079 Apr 4 at 15:58
add comment

1 Answer 1

up vote 4 down vote accepted
QuantityMagnitude@UnitConvert[Quantity["GravitationalConstant"]] 

6.67*10^-11

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.