1require_relative "../physics"23question :the_ground_state_s_potential_energy do4 kind :numerical5 describes "The ground state energy of hydrogen atom is %{energy}. %{potential} of the electron in this state, in eV?"6 given energy: "-13.6 eV"7 asks potential: "What is the potential energy"8end
1require_relative "../questions/the_ground_state_s_potential_energy"2require_relative "../science/atoms/bohr_model"34solve :the_ground_state_s_potential_energy, using: BohrModel do5 objects :electron67 take energy: electron.total_energy89 potential = electron.potential_energy10 answer potential:, in: "eV", figures: 31112 conclusion "Held in a circle by the proton's pull, the electron's potential energy is twice as deep as the " \13 "atom's energy, half of it given back as the energy of its motion."14end
1require_relative "../solutions/the_ground_state_s_potential_energy"23play_with :the_ground_state_s_potential_energy do4 title "The Ground State's Potential Energy"5end