Lesson 1 of 15
Coulomb's Law
Coulomb's Law
Every charged particle exerts a force on every other. Charles-Augustin de Coulomb measured this in 1785:
F = rac{k q_1 q_2}{r^2}
- k = — Coulomb's constant
- q₁, q₂ — charges in Coulombs (positive or negative)
- r — distance between charges (m)
- F — force in Newtons (positive = repulsive, negative = attractive)
The Inverse-Square Law
Coulomb's law has the same dependence as Newton's gravity — both are long-range forces that never reach zero. The crucial difference: gravity is always attractive, while electric force can attract or repel.
Examples (q₁ = q₂ = 1 μC)
| r (m) | F (N) |
|---|---|
| 1 | 0.008990 |
| 2 | 0.002247 |
| 3 | 0.000999 |
Your Task
Implement coulomb_force(q1, q2, r) returning the force in Newtons ().
Pyodide loading...
Loading...
Click "Run" to execute your code.