1require_relative "../physics"23question :a_dust_particle_s_wavelength do4 kind :numerical5 describes "%{wavelength} of a dust particle of mass %{mass} drifting with a speed of %{speed}, in m?"6 given mass: "1.0e-9 kg"7 given speed: "2.2 m/s"8 asks wavelength: "What is the de Broglie wavelength"9end
1require_relative "../questions/a_dust_particle_s_wavelength"2require_relative "../science/dual_nature_of_radiation_and_matter/matter_waves"34solve :a_dust_particle_s_wavelength, using: MatterWaves do5 objects :particle67 take mass: particle.mass8 take speed: particle.speed910 wavelength = particle.de_broglie_wavelength11 answer wavelength:, in: "m", figures: 31213 conclusion "A speck of dust is still far too massive for its wavelength to come near the size of anything we " \14 "could measure."15end
1require_relative "../solutions/a_dust_particle_s_wavelength"23play_with :a_dust_particle_s_wavelength do4 title "A Dust Particle's Wavelength"5end