diff options
Diffstat (limited to '3754/CH31/EX31.6/31_6.sce')
-rw-r--r-- | 3754/CH31/EX31.6/31_6.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3754/CH31/EX31.6/31_6.sce b/3754/CH31/EX31.6/31_6.sce new file mode 100644 index 000000000..281d6723c --- /dev/null +++ b/3754/CH31/EX31.6/31_6.sce @@ -0,0 +1,18 @@ +clear//
+
+//Variables
+
+L1 = 2.0 * 10**-3 //Inductance1 (in Henry)
+L2 = 20.0 * 10**-6 //Inductance2 (in Henry)
+fomin = 950.0 * 10**3 //Frequency minimum (in Hertz)
+fomax = 2050.0 * 10**3 //Frequency maximum (in Hertz)
+
+//Calculation
+
+L = L1 + L2 //Net inductance (in Henry)
+C1 = 1.0/(4 * %pi**2*(L*fomin**2)) //Capacitance1 (in Farad)
+C2 = 1.0/(4 * %pi**2*(L*fomax**2)) //Capacitance2 (in Farad)
+
+//Result
+
+printf("\n Range of capacitance required is %0.2f pF and %0.1f pF.",C2*10**12,C1*10**12)
|