summaryrefslogtreecommitdiff
path: root/3673/CH3/EX3.a.15/Example_a_3_15.sce
blob: f3a811bae41697d3c16aa7f4785c4b555784eb1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Example_a_3_15 page no:144
clc;
I=10;
R1=1;
R2=2;
R3=3;
R=3;
I3=10*(2/(2+3));
V=I3*R;
disp(V,"the voltage in first method is (in V)");
R=2;
I2=10*(3/5);
V=I2*R;
disp(V,"the voltage in second method is (in V)");
disp("In both cases, the ratio of current to voltage is the same")
ratio=0.833;
disp(ratio,"the voltage to current ration is");
disp("the reciprocity theroem is verified");