how G constant was calculated code example Example: what is the value of gravitational constant 6.67408 × 10-11 m3 kg-1 s-2