summaryrefslogtreecommitdiff
path: root/3754/CH31/EX31.19/31_19.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH31/EX31.19/31_19.sce')
-rw-r--r--3754/CH31/EX31.19/31_19.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3754/CH31/EX31.19/31_19.sce b/3754/CH31/EX31.19/31_19.sce
new file mode 100644
index 000000000..cfc727391
--- /dev/null
+++ b/3754/CH31/EX31.19/31_19.sce
@@ -0,0 +1,14 @@
+clear//
+
+//Variables
+
+fo = 10.0 * 10**3 //Frequency (in Hertz)
+R = 100.0 * 10**3 //Resistance (in ohm)
+
+//Calculation
+
+C = 1/(2*%pi*R*fo) //Capacitance (in Farad)
+
+//Result
+
+printf("\n Value of the capacitor C is %0.0f pico-Farad.",C * 10**12)