Problem 1382. Schwarzschild radius
Solution Stats
Problem Comments
-
3 Comments
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 problem doesn't mention it, but you should round the result to four decimal digits.
Solution Comments
-
1 Comment
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)!
Problem Recent Solvers47
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
2587 Solvers
-
The Hitchhiker's Guide to MATLAB
3142 Solvers
-
Given a window, how many subsets of a vector sum positive
831 Solvers
-
609 Solvers
-
Find the Oldest Person in a Room
12466 Solvers
More from this Author13
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!