A stone of mass
is dropped on the moon from a height h. Given a gravity force
, find the time t it takes to reach the ground.
Solution Stats
Problem Comments
4 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers91
Suggested Problems
-
30954 Solvers
-
999 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2588 Solvers
-
Project Euler: Problem 10, Sum of Primes
2131 Solvers
-
Find my daddy long leg (No 's')
2861 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
please fix, your test suite. For instance
h = 1.5;
y_correct = 1;
assert(isequal(your_fcn_name(x),y_correct = 1.3608))
Should be
h = 1.5;
y_correct = 1;
assert(isequal(your_fcn_name(x),1.3608))
Please ensure that you have offered a valid reference solution that can pass your test suites before publishing the problem. Be responsible, thank you.
A fileread hack is the most convenient solution we impose to irresponsible problems, but I'd like to pay you some patience since it's the first time you create a problem.
Thank you, Daniele.