summaryrefslogtreecommitdiff
path: root/1994/CH8/EX8.13/Example8_13.sce
blob: 6a72a57d30d27dbd7041fa020dbefb5e8a13d34b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Chapter-8,Example8_13,pg 59
R1=1000
R2=1000
R3=119
R4=121
Rg=200
S1=1
E=5
Vth=E*((R4/(R3+R4))-(R1/(R1+R2)))
Req=(R1*R2/(R1+R2))+(R3*R4/(R3+R4))
Ig=Vth/(Rg+Req)
theta=S1*Ig*10^6//deflection of galvanometer(mm)
printf("deflection of galvanometer\n")
printf("theta=%.4f mm",theta)