summaryrefslogtreecommitdiff
path: root/3754/CH32/EX32.9/32_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH32/EX32.9/32_9.sce')
-rw-r--r--3754/CH32/EX32.9/32_9.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3754/CH32/EX32.9/32_9.sce b/3754/CH32/EX32.9/32_9.sce
new file mode 100644
index 000000000..5937b81f2
--- /dev/null
+++ b/3754/CH32/EX32.9/32_9.sce
@@ -0,0 +1,15 @@
+clear//
+
+//Variables
+
+C = 1000.0 * 10**-12 //Capacitance (in Farad)
+tp = 10.0 * 10**-6 //Pulse width (in seconds)
+T = 60.0 * 10**-6 //time period (in seconds)
+
+//Calculation
+
+R1 = tp / (1.1 * C) //Resistance (in ohm)
+
+//Result
+
+printf("\n Resistance required is %0.2f kilo-ohm.",R1 * 10**-3)