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)!
615 Solvers
Back to basics 13 - Input variables
235 Solvers
236 Solvers
423 Solvers
Reverse the elements of an array
692 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!