1require_relative "../physics"23question :polythene_rubbed_with_wool do4 kind :numerical5 describes "A polythene piece rubbed with wool is found to have a negative charge of %{charge}. %{electrons}?"6 given charge: "3e-7 C"7 asks electrons: "Estimate the number of electrons transferred"8end
1require_relative "../questions/polythene_rubbed_with_wool"2require_relative "../science/electric_charges_and_fields/electric_charge"34solve :polythene_rubbed_with_wool, using: ElectricCharge do5 objects :polythene67 take charge: polythene.charge89 electrons = polythene.number_of_charges10 answer electrons:, figures: 11112 conclusion "Charge comes in whole electrons, so the charge divided by one electron's charge counts the " \13 "electrons rubbed off the wool onto the polythene."14end
1require_relative "../solutions/polythene_rubbed_with_wool"23play_with :polythene_rubbed_with_wool do4 title "Polythene Rubbed with Wool"5end