summaryrefslogtreecommitdiff
path: root/226/CH15/EX15.7/example7_sce.sce
blob: 071e1bda7a5a9a4a76821399473f717692b06f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
//chapter 15
//example 15.7
//page 656
printf("\n")
printf("given")
rs=600;R1=1*10^3;R2=10*10^3;f=800*10^3;
disp(" stray capacitance")
Cs=1/(2*3.14*f*10*(((rs+R1)*R2)/(rs+R1+R2)))
disp("compensation capacitor")
C2=((Cs*(rs+R1))/R2)*10^12;
printf("compensation capacitor is %3.2fpF\n",C2)