diff options
Diffstat (limited to '3754/CH31/EX31.1/31_1.sce')
-rw-r--r-- | 3754/CH31/EX31.1/31_1.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3754/CH31/EX31.1/31_1.sce b/3754/CH31/EX31.1/31_1.sce new file mode 100644 index 000000000..75e7163d8 --- /dev/null +++ b/3754/CH31/EX31.1/31_1.sce @@ -0,0 +1,14 @@ +clear//
+
+//Variables
+
+fo = 22.0 * 10**3 //Frequency (in Hertz)
+C = 2.0 * 10**-9 //Capacitance (in Farad)
+
+//Calculation
+
+L = (0.159/fo)**2/C //Inductance (in Henry)
+
+//Result
+
+printf("\n Inductance is %0.3f H.",L)
|