summaryrefslogtreecommitdiff
path: root/3769/CH27/EX27.9/Ex27_9.sce
blob: 39c00ce82ee8eb5401c82f4bc5d27ee6a985b518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clear
//Given
Vf=0.3            //V
If=4.3*10**-3     //A
Vc=0.35
Va=0.25
Ic=6*10**-3
Ia=3*10**-3

//Calculation
Rdc=Vf/If
Vf1=Vc-Va
If1=Ic-Ia
Rac=Vf1/If1

//Result
printf("\n (i) D.C. resistance is %0.2f  ohm",Rdc)
printf("\n (ii) A.C. resistance is %0.2f  ohm",Rac)