summaryrefslogtreecommitdiff
path: root/3850/CH36/EX36.8/Ex36_8.sce
blob: 533ad2e4e1558c764ec54349f110b25902be865c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

//To Calculate the Shunt Resistance for Galvanometer

//Example 36.8

clear;

clc;

i=2;//Maximumm Current in Amperes

ig=20*10^-3;//Minimum current required for one full scale deflection in Galvanometer in Amperes

Rg=20;//Resistance of Galvanometer Coil in ohms

Rs=(ig*Rg)/(i-ig);//Shunt Resistance for Galvanometer in order to pass a maximum current of 2A 

printf("Shunt Resistance for Galvanometer in order to pass a maximum current of 2A = %.1f ohms",Rs);