play phryzby with physics

A Resistor's Power over a Cycle

solved ResistorOnAc

Q. A 100 ΩR=100Ω resistor is connected to a 220 VV=220V, 50 Hz ac supply. What is the net power consumed over a full cycle, in watts?

R = 100 ΩV = 220 VI = ?P = ?
Inputs
R
100 Ω
V
220 V
Outputs
powerP?

How it's solved

Solved with ResistorOnAc

Given

  • R=100Ω
  • V=220V

Find P.

Working
  1. power of a resistor(resistor)P=V2R
  2. P=2202100
  3. P=484W
  4. P≈484Wto 3 significant figures
Conclusion

The rms voltage is the steady voltage that would heat the resistor as much, so the average power over a cycle is its square over the resistance.

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_resistor_s_power_over_a_cycle do4  kind :numerical5  describes "A %{resistance} resistor is connected to a %{supply}, 50 Hz ac supply. %{power}, in watts?"6  given resistance: "100 Ω"7  given supply: "220 V"8  asks power: "What is the net power consumed over a full cycle"9end
solution.rb
1require_relative "../questions/a_resistor_s_power_over_a_cycle"2require_relative "../science/alternating_current/resistor_on_ac"34solve :a_resistor_s_power_over_a_cycle, using: ResistorOnAc do5  objects :resistor67  take resistance: resistor.resistance8  take supply: resistor.rms_voltage910  power = resistor.power_drawn11  answer power:, in: "W", figures: 31213  conclusion "The rms voltage is the steady voltage that would heat the resistor as much, so the average " \14             "power over a cycle is its square over the resistance."15end
playground.rb
1require_relative "../solutions/a_resistor_s_power_over_a_cycle"23play_with :a_resistor_s_power_over_a_cycle do4  title "A Resistor's Power over a Cycle"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 resistorvmV—
rms voltage of resistorVV0 … ∞
peak current of groundim,gA—
rms current of groundIgA0 … ∞
peak current of resistorimA—
rms current of resistorIA0 … ∞
power drawn of groundPgW—
resistance of groundRgΩ0 … ∞
power drawn of resistorPW—
resistance of resistorRΩ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(resistor)
im,g=2⋅Ig
peak current is root two times rms(ground)
im=2⋅I
peak current is root two times rms(resistor)
Pg=Vg2Rg
power of a resistor(ground)
P=V2R
power of a resistor(resistor)
Vg=Ig⋅Rg
current through a resistor(ground)
V=I⋅R
current through a resistor(resistor)