play phryzby with physics

A Bulb on the Mains

solved ResistorOnAc

Q. A light bulb is rated at 100 WP=100W for a 220 VV=220V supply. What is the peak voltage of the source, in volts?

RV = 220 VP = 100 W
Inputs
P
100 W
V
220 V
Outputs
peakvm?

How it's solved

Solved with ResistorOnAc

Given

  • P=100W
  • V=220V

Find vm.

Working
  1. peak is root two times rms(bulb)vm=2⋅V
  2. vm=2⋅220
  3. vm=311.1V
  4. vm≈311Vto 3 significant figures
Conclusion

A supply is rated by its rms voltage, the steady voltage that heats a resistor as much; the sine wave peaks higher by the square root of two.

The web of concepts

given read from the words equation asked

The Ruby that solves it

The question and its solution are small Ruby files. The engine runs them.

question.rb
1require_relative "../physics"23question :a_bulb_on_the_mains do4  kind :numerical5  describes "A light bulb is rated at %{power} for a %{supply} supply. %{peak}, in volts?"6  given power: "100 W"7  given supply: "220 V"8  asks peak: "What is the peak voltage of the source"9end
solution.rb
1require_relative "../questions/a_bulb_on_the_mains"2require_relative "../science/alternating_current/resistor_on_ac"34solve :a_bulb_on_the_mains, using: ResistorOnAc do5  objects :bulb67  take power: bulb.power_drawn8  take supply: bulb.rms_voltage910  peak = bulb.peak_voltage11  answer peak:, in: "V", figures: 31213  conclusion "A supply is rated by its rms voltage, the steady voltage that heats a resistor as much; the " \14             "sine wave peaks higher by the square root of two."15end
playground.rb
1require_relative "../solutions/a_bulb_on_the_mains"23play_with :a_bulb_on_the_mains do4  title "A Bulb on the Mains"5end
The laws it drew on
quantitywrittenunitswithinfrom
rms voltageVV0 … ∞PeakAndRms
peak voltagevmV—PeakAndRms
rms currentIA0 … ∞PeakAndRms
peak currentimA—PeakAndRms
resistanceRΩ0 … ∞ResistorOnAc
power drawnPW—ResistorOnAc
peak voltage of groundvm,gV—
rms voltage of groundVgV0 … ∞
peak voltage of bulbvmV—
rms voltage of bulbVV0 … ∞
peak current of groundim,gA—
rms current of groundIgA0 … ∞
peak current of bulbimA—
rms current of bulbIA0 … ∞
power drawn of groundPgW—
resistance of groundRgΩ0 … ∞
power drawn of bulbPW—
resistance of bulbRΩ0 … ∞
vm,c=2⋅Vc
peak is root two times rms
im,c=2⋅Ic
peak current is root two times rms
Pl=Vl2Rl
power of a resistor
Vl=Il⋅Rl
current through a resistor
vm,g=2⋅Vg
peak is root two times rms(ground)
vm=2⋅V
peak is root two times rms(bulb)
im,g=2⋅Ig
peak current is root two times rms(ground)
im=2⋅I
peak current is root two times rms(bulb)
Pg=Vg2Rg
power of a resistor(ground)
P=V2R
power of a resistor(bulb)
Vg=Ig⋅Rg
current through a resistor(ground)
V=I⋅R
current through a resistor(bulb)