play phryzby with physics

A Car Battery Shorted

solved OhmsLaw

Q. The storage battery of a car has an emf of 12 VV=12V. If the internal resistance of the battery is 0.4 ΩR=0.4Ω, what is the maximum current that can be drawn from the battery, in amperes?

R = 0.4 ΩV = 12 VI = ?
Inputs
V
12 V
R
0.4 Ω
Outputs
currentI?

How it's solved

Solved with OhmsLaw

Given

  • V=12V
  • R=0.4Ω

Find I.

Working
  1. ohms law(battery)V=I⋅R
  2. 12=I⋅0.4
  3. I=30A
  4. I≈30Ato 2 significant figures
Conclusion

The most current flows when nothing outside the battery resists it, so the whole emf drives the current through the battery's own internal 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_car_battery_shorted do4  kind :numerical5  describes "The storage battery of a car has an emf of %{emf}. If the internal resistance of the battery is " \6            "%{internal}, %{current}, in amperes?"7  given emf: "12 V"8  given internal: "0.4 Ω"9  asks current: "what is the maximum current that can be drawn from the battery"10end
solution.rb
1require_relative "../questions/a_car_battery_shorted"2require_relative "../science/current_electricity/ohms_law"34solve :a_car_battery_shorted, using: OhmsLaw do5  objects :battery67  take emf: battery.voltage8  take internal: battery.resistance910  current = battery.current11  answer current:, in: "A", figures: 21213  conclusion "The most current flows when nothing outside the battery resists it, so the whole emf drives the " \14             "current through the battery's own internal resistance."15end
playground.rb
1require_relative "../solutions/a_car_battery_shorted"23play_with :a_car_battery_shorted do4  title "A Car Battery Shorted"5end
The laws it drew on
quantitywrittenunitswithinfrom
voltageVV—OhmsLaw
currentIA—OhmsLaw
resistanceRΩ0 … ∞OhmsLaw
length of the conductorlm—OhmsLaw
cross sectionAm²—OhmsLaw
resistivityρΩ m—OhmsLaw
voltage of groundVgV—
current of groundIgA—
resistance of groundRgΩ0 … ∞
voltage of batteryVV—
current of batteryIA—
resistance of batteryRΩ0 … ∞
resistivity of groundρgΩ m—
length of the conductor of groundlgm—
cross section of groundAgm²—
resistivity of batteryρΩ m—
length of the conductor of batterylm—
cross section of batteryAm²—
Vc=Ic⋅Rc
ohms law
Rc=ρc⋅lcAc
resistance from resistivity
Vg=Ig⋅Rg
ohms law(ground)
V=I⋅R
ohms law(battery)
Rg=ρg⋅lgAg
resistance from resistivity(ground)
R=ρ⋅lA
resistance from resistivity(battery)