DEV Community

Cover image for Finding a galvanometer's own resistance safely: the half-deflection method in JavaScript
Surendra Singh Kamboj
Surendra Singh Kamboj

Posted on AI-assisted

Finding a galvanometer's own resistance safely: the half-deflection method in JavaScript

You cannot put a multimeter straight across a moving-coil galvanometer's terminals to find its resistance — a sensitive coil can bend or burn out from more current than it is rated for. The half-deflection method finds that resistance using only the galvanometer's own safe current.

The formula and the code

With a series resistance R giving full deflection θ₁, then a shunt S (across the galvanometer) giving exactly half that deflection:

G = S·R / (R − S)

function G(R, S) { return (S * R) / (R - S); }

console.log('R=9710, S=10 ->', G(9710, 10).toFixed(3), 'ohm');
console.log('R=4990, S=5  ->', G(4990, 5).toFixed(3), 'ohm');
Enter fullscreen mode Exit fullscreen mode

Both cases land very close to G ≈ S (10.01 Ω and 5.005 Ω) — a common classroom shortcut, valid only when R >> S. The exact formula has a minus sign in the denominator, not a plus — easy to mix up with the ordinary parallel-resistance formula, which it resembles but is not.

Why minus, not plus

At full deflection only R limits the current. Closing the shunt key splits the current between S and the galvanometer; setting the galvanometer's share equal to exactly half of its full-deflection current, then solving for G, is what produces that minus sign — it falls out of current division, not resistor combination.

Why this method is safer than a direct reading: the galvanometer's own current never exceeds its full-scale value at any point in the procedure, since both readings (θ₁ and θ₁/2) are within its rated range by construction.

Try it yourself: PractiSci's galvanometer half-deflection lab lets you dial in R and S and read both deflections on a simulated scale. More free labs: Class 12 physics practicals.

Full disclosure: I build PractiSci, a virtual physics and chemistry lab for Class 11-12.

Top comments (0)