summaryrefslogtreecommitdiff
path: root/3041/CH8/EX8.7/Ex8_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3041/CH8/EX8.7/Ex8_7.sce')
-rwxr-xr-x3041/CH8/EX8.7/Ex8_7.sce4
1 files changed, 2 insertions, 2 deletions
diff --git a/3041/CH8/EX8.7/Ex8_7.sce b/3041/CH8/EX8.7/Ex8_7.sce
index 8f4909ff8..9524775e6 100755
--- a/3041/CH8/EX8.7/Ex8_7.sce
+++ b/3041/CH8/EX8.7/Ex8_7.sce
@@ -5,7 +5,7 @@ V=240 //dc source(V)
d=17/50. //duty cycle
d1=0.6 //duty cycle
eta1=0.8 //efficiency
-
+Vdc = 12
//Calculations
P=VL*I //average load power(W)
Isav=(1*d)/2 //average supply current(A)
@@ -18,4 +18,4 @@ Po=Il*Vdc //power output(W)
//Results
printf ("regulator efficiency is %.1f %%",eta)
printf ("average supply current is %.1f A",Il)
-printf ("power output is %.1f W",Po)
+printf ("power output is %.1f W",Po) \ No newline at end of file