Please check the answers for the test suite, as I think there may be a unit discrepancy here with c in km/sec and G in N*(m/kg)^2.
Thanks James and Vitor for noticing the mistake! All fixed and rescored...
The Schwarzschild radius is of the order of milimiters for the Earth (8.881e-3 meters) and the order of kilometers for the Sun (2,97024415e3 meters)!
9831 Solvers
1421 Solvers
Project Euler: Problem 2, Sum of even Fibonacci
835 Solvers
Cell Counting: How Many Draws?
581 Solvers
360 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!