1require_relative "../physics"23question :caesium_s_threshold do4 kind :numerical5 describes "The work function of caesium is %{work_function}. %{threshold}, in hertz?"6 given work_function: "2.14 eV"7 asks threshold: "What is the threshold frequency for caesium"8end
1require_relative "../questions/caesium_s_threshold"2require_relative "../science/dual_nature_of_radiation_and_matter/photoelectric_effect"34solve :caesium_s_threshold, using: PhotoelectricEffect do5 objects :caesium67 take work_function: caesium.work_function89 threshold = caesium.threshold_frequency10 answer threshold:, in: "Hz", figures: 31112 conclusion "A photon frees an electron only if it brings at least the work function; that sets the lowest " \13 "frequency that can do it."14end
1require_relative "../solutions/caesium_s_threshold"23play_with :caesium_s_threshold do4 title "Caesium's Threshold"5end