summaryrefslogtreecommitdiff
path: root/182/CH9/EX9.9/example9_9.sce
blob: 3713ef3eca1319009992277bdb8f4d9b0de92cb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// to find the capacitance to compensate a probe and input capacitance
//example 9-9 in page 267
clc;
//data given
Ci=30D-12;// input capacitance in farad
Ccc=100D-12;// coaxial cable capacitance in farad
R1=9e+6; Ri=1e+6;// resistances in ohm
//calculation
C2=Ccc+Ci;// capacitance in farad
C1=C2*Ri/R1;// capacitance in farad
printf("C1=%.1f pF\n",C1*10^12);
printf("The probe input capacitance as seen from the source=%d pF",(C1*C2)*10^12/(C1+C2))
//result
//C1=14.4 pF
//The probe input capacitance as seen from the source=13 pF