summaryrefslogtreecommitdiff
path: root/3754/CH19/EX19.4/19_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH19/EX19.4/19_4.sce')
-rw-r--r--3754/CH19/EX19.4/19_4.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3754/CH19/EX19.4/19_4.sce b/3754/CH19/EX19.4/19_4.sce
new file mode 100644
index 000000000..84912e72c
--- /dev/null
+++ b/3754/CH19/EX19.4/19_4.sce
@@ -0,0 +1,18 @@
+clear//
+
+//Variables
+
+Vdc = 30.0 //Average value of voltage (in volts)
+RL = 600.0 //Load resistance (in ohm)
+Rf = 25.0 //forward resistance (in ohm)
+
+//Calculation
+
+Idc = Vdc / RL //Average value of load current (in Ampere)
+Im = (%pi * Idc) //Maximum value of load current (in Ampere)
+
+Vinmax = Im * (Rf + RL) //Maximum a.c. voltage required at the input (in volts)
+
+//Result
+
+printf("\n Maximum a.c. voltage required at the input is %0.3f V.",Vinmax)