summaryrefslogtreecommitdiff
path: root/1376/CH7/EX7.7/7_7.sci
blob: 0ccc54a3258ac27189d792d78d39de3448003c8f (plain)
1
2
3
4
5
6
7
8
9
10
//7.7
clc;
S=0.875;
P=1.35*10^3;
Q=1*10^3;
Cs=0.1*10^-6;
rx=S*P/Q;
printf("Resistance=%.2f ohm",rx)
Lx=P*Cs*S*10^3;
printf("\nInductance=%.3f mH",Lx)