summaryrefslogtreecommitdiff
path: root/2360/CH5/EX5.7/ex5_7.sce
blob: 675410c079c3038122b66b45ef0db4b5498dfa19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Exa 5.7
format('v',7);clc;clear;close;
// Given data
R = 500;// in ohm
del_r = 20;// in ohm
E = 10;// in V
Rg = 125;// in ohm
V_TH = (E*del_r)/(4*R);// in V
Req = R;// in ohm
// The current through the galvanometer 
Ig = V_TH/(Req+Rg);// in A
Ig = Ig * 10^6;// in µA
disp(Ig,"The current through the galvanometer in µA is");