blob: 5e5f5b803e665e22c3344d45dd0320751d960915 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
clear
//
//given and derived
rm=75
im=300*(10**-6)
//case a
i=5
rsh=(rm*im)/(i-im)
printf("\n rsh= %e ohm",rsh)
//case b
i=7.5
rsh=(rm*im)/(i-im)
printf("\n rsh= %e ohm",rsh)
//case c
i=10
rsh=(rm*im)/(i-im)
printf("\n rsh= %e ohm",rsh)
|