Compute the Schwarzschild radius for objects of mass m (kg). Use c = 299,792.458 km/s and G = 6.6738*10^-11 N*(m/kg)^2. Your function should give the result in m.
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers55
Suggested Problems
-
7862 Solvers
-
Find the two most distant points
2953 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
399 Solvers
-
301 Solvers
-
Write a code that will follow the equation y = x * (x + x) * x.
358 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!
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.