diff options
Diffstat (limited to '3754/CH19/EX19.11/19_11.sce')
-rw-r--r-- | 3754/CH19/EX19.11/19_11.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3754/CH19/EX19.11/19_11.sce b/3754/CH19/EX19.11/19_11.sce new file mode 100644 index 000000000..aba5bfd56 --- /dev/null +++ b/3754/CH19/EX19.11/19_11.sce @@ -0,0 +1,15 @@ +clear//
+
+//Variables
+
+Vdc = 30.0 //Average value of voltage (in volts)
+RL = 1.0 //Resistance (in kilo-ohm)
+gamma = 0.01 //Ripple factor
+f = 50 //Frequency (in Hertz)
+//Calculation
+
+C = 2890.0 / (gamma * RL) //Capacitance (in nano Farad)
+
+//Result
+
+printf("\n Value of capacitance is %0.3f micro-Farad.",C * 10**-3)
|