summaryrefslogtreecommitdiff
path: root/2360/CH5/EX5.6/ex5_6.sce
blob: 4a0bfd79bde7bca4832760d1b69feb0f59cb9347 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Exa 5.6
format('v',7);clc;clear;close;
// Given data
R1 = 1000;// in ohm
R2 = 1000;// in ohm
R3 = 121;// in ohm
R4 = 119;// in ohm
Rg = 200;// in ohm
E = 5;// in V
S = 1;// in mm/µA
// Calculation of Thevenin's equivalent due to change in R3 and R4
V_TH = E*( (R3/(R3+R1)) - (R4/(R4+R2)) );// in V
Req = ((R1*R3)/(R1+R3)) + ((R2*R4)/(R2+R4));// in ohm
Ig = V_TH/(Req+Rg);// in A 
Ig = Ig * 10^6;// in µA
// S = D/I;
D = S*Ig;//deflection of the galvanometer  in mm
disp(D,"The deflection of the galvanometer in mm is");