Problem 361. Energy of a photon
Solution Stats
Problem Comments
-
9 Comments
The test suite is just silly/broken.
I agree. I think the test suite needs to be modified.
it looks fine to me (it sets some bounds without giving away the actual value, perhaps I am missing something?)
good
Improve the test suite..
The top solutions are not even solving the actual problem.
Test suite is very badly made. And the problem is pointless. I hope people who post problems think a little a bit before creating a new problem.
Photon energy calculation is well known equation to the person who learned physics. This problem using not "J" but "eV" as the unit. Take care!
E=hf. The test cases are just wrong.
Solution Comments
-
1 Comment
Good.
-
1 Comment
Test Suite needs major improvement. This problem requires way too much research on the part of the user.
Either this should be moved out of the Cody easy section or specific variables should be standardized and provided to the user.
-
1 Comment
Cannot say enough about how lacking the test suite is.
Problem Recent Solvers1349
Suggested Problems
-
Select every other element of a vector
27485 Solvers
-
Find the peak 3n+1 sequence value
1773 Solvers
-
2385 Solvers
-
1513 Solvers
-
Find out sum and carry of Binary adder
967 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!