blob: a9c311f2159f3f25bb08dc15f47f06c14bb418b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear
//
//case a
i=60
eb1=450
ia=15.18 //derived from problem
//using formula n2/n1=(eb2*phy1)/(eb1*phy2)
eb2=45.54
rse=(eb1-eb2)/ia
printf("\n rse= %0.1f ohm",rse)
//case b
ia=38.97 //derived
//using the above used formula
eb2=219.21
rse=(eb1-eb2)/ia
printf("\n rse= %0.1f ohm",rse)
|