summaryrefslogtreecommitdiff
path: root/3754/CH19/EX19.9/19_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH19/EX19.9/19_9.sce')
-rw-r--r--3754/CH19/EX19.9/19_9.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3754/CH19/EX19.9/19_9.sce b/3754/CH19/EX19.9/19_9.sce
new file mode 100644
index 000000000..2ae6d3fbc
--- /dev/null
+++ b/3754/CH19/EX19.9/19_9.sce
@@ -0,0 +1,17 @@
+clear//
+
+//Variables
+
+Vs = 150.0 //Voltage (in volts)
+Idc = 2.0 //Average value of current (in Ampere)
+
+//Calculation
+
+Vdc = 2.34 * Vs //Average calue of voltage (in volts)
+Ipi = 1/0.955 * Idc //Peak current per diode (in Ampere)
+Iavg = 2.0/3.0 //Average current per diode (in AMpere)
+Pdc = Vdc * Idc //Average power delievered to the load (in watt)
+
+//Result
+
+printf("\n The value of Vdc is %0.3f V.\nPeak current through each diode is %0.1f A.\nAverage current through each diode is %0.2f A.\nAverage power delievered to the load is %0.3f W.",Vdc,Ipi,Iavg,Pdc)