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)!
Swap the first and last columns
12694 Solvers
1274 Solvers
Project Euler: Problem 2, Sum of even Fibonacci
867 Solvers
Project Euler: Problem 4, Palindromic numbers
258 Solvers
Back to basics 3 - Temp Directory
330 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!