question.rb
solution.rb
playground.rb
1 require_relative "../physics" 2 3 question :splitting_an_iron_nucleus do 4 kind :numerical 5 describes "Suppose, we think of fission of an iron nucleus, ⁵⁶₂₆Fe, into two equal fragments, ²⁸₁₃Al. Given " \ 6 "m(⁵⁶₂₆Fe) = %{iron} and m(²⁸₁₃Al) = %{aluminium}, %{q} of the process, in MeV?" 7 given iron: "55.93494 u" 8 given aluminium: "27.98191 u" 9 asks q: "what is the Q-value" 10 end
1 require_relative "../questions/splitting_an_iron_nucleus" 2 require_relative "../science/nuclei/mass_energy" 3 4 solve :splitting_an_iron_nucleus , using: MassEnergy do 5 objects :fission , :iron , :aluminium 6 7 take iron: iron . mass 8 take aluminium: aluminium . mass 9 10 deduce_from "into two equal fragments" , fission . mass_defect => iron . mass - 2 * aluminium . mass 11 12 q = fission . q_value 13 answer q :, in: "MeV" , figures: 3 14 15 conclusion "The two fragments together weigh more than the iron nucleus, so splitting it would need energy " \ 16 "rather than give it: the fission is not energetically possible." 17 end
1 require_relative "../solutions/splitting_an_iron_nucleus" 2 3 play_with :splitting_an_iron_nucleus do 4 title "Splitting an Iron Nucleus" 5 end