summaryrefslogtreecommitdiff
path: root/3673/CH1/EX1.16/Ex1_16.sce
blob: 91557b9cfdff2325e53bc21f510445d41fd62c40 (plain)
1
2
3
4
5
6
7
8
9
//Example 1_16 page no:18
clc
R1=10;//Resistance in ohm
R2=20;//Resistance in ohm
R3=30;//Resistance in ohm
R4=40;//Resistance in ohm
R=(1/R1+1/R2+1/R3+1/R4)
Rt=1/R
disp(Rt,"Total resistance (in ohm)")