Problem 52065. Nuclear Binding Energy
Solution Stats
Problem Comments
-
6 Comments
Nice with a problem that is not purely mathematical!
Using the parameters for Least Squares Fit(1) from Wikipedia, I get values that differ from yours by up to 2 MeV (except for Li-7, where I get 38, while you get 34). Do you use a different parameter set, or have I made a mistake?
I apologize, I messed up the polarity. Should be fixed now.
Thanks. I now pass every test except 6:
bindingEnergy({'Tl-203','Pb-208','Po-209','Ra-228'})
ans =
1596 1628 1632 1750
>> be
be =
1595 1628 1633 1749
Any ideas?
I assume you are rounding at the end. Before rounding
[1595.950245381877 1628.458256218912 1632.283183807810 1750.279872731407]
I checked that my Z and N are correct, coefficients are correct, last term is correct. All answers should be correct.
I get the answers in the test suite.
My fault. Somehow I was still testing against the old test values. Sorry for the inconvenience.
Solution Comments
Show commentsProblem Recent Solvers5
Suggested Problems
-
39 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
11767 Solvers
-
Magic is simple (for beginners)
9589 Solvers
-
61 Solvers
-
Return fibonacci sequence do not use loop and condition
684 Solvers
More from this Author56
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!