summaryrefslogtreecommitdiff
path: root/3673/CH1/EX1.a.6/Example_a_1_6.sce
blob: 90e3b7edda40ad706944a94d05fab4fdc935519f (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 1_6 page no:24
clc;
Vs=30;
R1=5;
R2=4;
R3=2;
R4=4;
R5=1/((1/(R2))+(1/(R3))+(1/(R4)));
Rt=R1+R5;
It=Vs/Rt;//calculating the total current
disp(It,"the total current is (in A)");