When resistors are connected end-to-end (in a single path), they are said to be connected in series.
Key Characteristics:
Same Current flows through all resistors.
Voltage is divided across the resistors.
Total resistance is the sum of all individual resistances.
2. Formula for Series Resistors
Let’s say we have n resistors:
R1,R2,R3,...,Rn
Total Resistance:
RTotal=R1+R2+R3+...+Rn
Current in Circuit (Ohm's Law):
I=RTotalV
Voltage Across Each Resistor:
Vi=Ri×I
3. Example Problem (Manual Calculation)
Example 1:
You have 3 resistors in series:
R1=10 Ω
R2=20 Ω
R3=30 Ω
And the total voltage supplied is 𝑉 = 60 V .
1. Find total resistance:
Rtotal=10+20+30=60Ω
Find the current:
I=RTotalV=6060=1(A)
Voltage across each resistor:
V1=10×1=10V2=20×1=20V3=30×1=30
4. Python Code Example
Let’s now simulate this using Python.
Python Code:
Output
5. Visualization (Optional)
Let’s plot the voltage drop:
Output
Keywords
series resistors, total resistance, ohm's law, voltage drop, current flow, resistors in series, electrical circuit, circuit analysis, resistance calculation, voltage division, current calculation, resistor network, Python circuit simulation, series circuit, voltage across resistors, total voltage, resistive circuit, circuit formula, electric current, electronics basics, nerd cafe
# Series resistor circuit calculator
# Given resistor values in ohms
resistors = [10, 20, 30]
# Total voltage supplied (Volts)
V_total = 60
# Calculate total resistance
R_total = sum(resistors)
# Calculate current using Ohm's law
I = V_total / R_total
# Calculate voltage across each resistor
voltages = [I * R for R in resistors]
# Display results
print(f"Resistor values: {resistors} ohms")
print(f"Total Resistance: {R_total} ohms")
print(f"Total Current: {I:.2f} A")
print("Voltages across each resistor:")
for idx, V in enumerate(voltages, start=1):
print(f" V{idx} = {V:.2f} V")
Resistor values: [10, 20, 30] ohms
Total Resistance: 60 ohms
Total Current: 1.00 A
Voltages across each resistor:
V1 = 10.00 V
V2 = 20.00 V
V3 = 30.00 V
import matplotlib.pyplot as plt
def plot_voltage_drops(resistors, V_total):
R_total = sum(resistors)
I = V_total / R_total
voltages = [I * R for R in resistors]
plt.figure(figsize=(8, 4))
plt.bar([f'R{i+1}' for i in range(len(resistors))], voltages, color='skyblue')
plt.title('Voltage Drop Across Series Resistors')
plt.ylabel('Voltage (V)')
plt.grid(True, axis='y')
plt.show()
# Example
plot_voltage_drops([10, 20, 30], 60)