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)!
Find the sum of all the numbers of the input vector
32577 Solvers
Convert a numerical matrix into a cell array of strings
469 Solvers
Sum of diagonal of a square matrix
1331 Solvers
How many monitors are connected ?
128 Solvers
383 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!