summaryrefslogtreecommitdiff
path: root/3636/CH14/EX14.2/Ex14_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3636/CH14/EX14.2/Ex14_2.sce')
-rw-r--r--3636/CH14/EX14.2/Ex14_2.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3636/CH14/EX14.2/Ex14_2.sce b/3636/CH14/EX14.2/Ex14_2.sce
new file mode 100644
index 000000000..ffd94d35b
--- /dev/null
+++ b/3636/CH14/EX14.2/Ex14_2.sce
@@ -0,0 +1,16 @@
+clear;
+clc;
+Vm=200 //voltage in V
+Rf=500 //resistance in series in ohm
+Rl=1000 //load resistance in ohm
+
+//Calculation
+Im=Vm/(Rf+Rl)
+Idc=(2*Im)/%pi
+Irms=Im/sqrt(2)
+Y=sqrt((Irms/Idc)^2-1)
+
+mprintf("(a)Maximum current Im= %0.3f A\n",Im)
+mprintf("(b)dc component of current Idc= %1.4f A\n",Idc)
+mprintf("(c)rms value of current Irms= %1.3f A\n",Irms)
+mprintf("(d)Ripple Factor Y= %1.3f",Y) //The answers vary due to round off error