Problem 403. Einsteinium-253 decay
Solution Stats
Problem Comments
-
5 Comments
guess you mean minutes instead of seconds?
Hi, no I do mean seconds if you are referring to the constant, 29,476.8
I have readjusted it now so it is the correct value.
I believe you are always rounding up to the next highest integer rather than rounding to the nearest integer. In other words, you are using the ceil() function, not the round() function.
Hi Rick, yes you are quite right. I have made the correction as above. Thanks for your valuable input.
Solution Comments
-
2 Comments
I believe your second test case is incorrectly rounding.
Yes, you were right with my earlier incorrect "note well" remark but now with corrected remark in place this test is valid. Sorry if it has put you off a bit. I guess other issues may come to light as well but I hope not.
Problem Recent Solvers105
Suggested Problems
-
82521 Solvers
-
Back to basics 12 - Input Arguments
571 Solvers
-
Who knows the last digit of pi?
623 Solvers
-
382 Solvers
-
965 Solvers
More from this Author16
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!