play phryzby with physics

A Resistor on an AC Supply

solved ResistorOnAc

Q. A 100 ΩR=100Ω resistor is connected to a 220 VV=220V, 50 Hz ac supply. What is the rms value of current in the circuit, in amperes?

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

How it's solved

Solved with ResistorOnAc

Given

  • R=100Ω
  • V=220V

Find I.

Working
  1. current through a resistor(resistor)V=I⋅R
  2. 220=I⋅100
  3. I=2.2A
  4. I≈2.20Ato 3 significant figures
Conclusion

A resistor follows the source from instant to instant, so its rms current is the rms voltage over its resistance, whatever the frequency.

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_on_an_ac_supply do4  kind :numerical5  describes "A %{resistance} resistor is connected to a %{supply}, 50 Hz ac supply. %{current}, in amperes?"6  given resistance: "100 Ω"7  given supply: "220 V"8  asks current: "What is the rms value of current in the circuit"9end
solution.rb
1require_relative "../questions/a_resistor_on_an_ac_supply"2require_relative "../science/alternating_current/resistor_on_ac"34solve :a_resistor_on_an_ac_supply, using: ResistorOnAc do5  objects :resistor67  take resistance: resistor.resistance8  take supply: resistor.rms_voltage910  current = resistor.rms_current11  answer current:, in: "A", figures: 31213  conclusion "A resistor follows the source from instant to instant, so its rms current is the rms voltage " \14             "over its resistance, whatever the frequency."15end
playground.rb
1require_relative "../solutions/a_resistor_on_an_ac_supply"23play_with :a_resistor_on_an_ac_supply do4  title "A Resistor on an AC Supply"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)