You will write three functions that turn atomic masses into binding energies.
The idea. The mass defect is , with atomic masses in u. The binding energy is MeV. All three functions take the number of protons, the number of neutrons and the atomic mass mass in u.
Your tasks.
mass_defect, return the mass defect in u.binding_energy, return the binding energy in MeV.per_nucleon, return the binding energy per nucleon in MeV.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…