question.rb
solution.rb
playground.rb
1 require_relative "../physics" 2 3 question :an_alpha_particle_turned_back do 4 kind :numerical 5 describes "In a Geiger-Marsden experiment, a %{energy} α-particle heads straight for a gold nucleus (Z = " \ 6 "%{atomic_number}). %{distance} before it comes momentarily to rest and reverses its direction, in metres?" 7 given energy: "7.7 MeV" 8 given atomic_number: "79" 9 asks distance: "What is its distance of closest approach to the nucleus" 10 end
1 require_relative "../questions/an_alpha_particle_turned_back" 2 require_relative "../science/atoms/alpha_scattering" 3 4 solve :an_alpha_particle_turned_back , using: AlphaScattering do 5 objects :alpha 6 7 take energy: alpha . kinetic_energy 8 take atomic_number: alpha . atomic_number 9 10 distance = alpha . closest_approach 11 answer distance :, in: "m" , figures: 2 12 13 conclusion "All the α-particle's kinetic energy goes into pushing against the nucleus's charge, so it gets " \ 14 "only as close as that energy allows: far smaller than an atom, which is how the nucleus was found." 15 end
1 require_relative "../solutions/an_alpha_particle_turned_back" 2 3 play_with :an_alpha_particle_turned_back do 4 title "An α-Particle Turned Back" 5 end