summaryrefslogtreecommitdiff
path: root/226/CH3/EX3.18/example18_sce.sce
diff options
context:
space:
mode:
Diffstat (limited to '226/CH3/EX3.18/example18_sce.sce')
-rwxr-xr-x226/CH3/EX3.18/example18_sce.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/226/CH3/EX3.18/example18_sce.sce b/226/CH3/EX3.18/example18_sce.sce
new file mode 100755
index 000000000..4c2034542
--- /dev/null
+++ b/226/CH3/EX3.18/example18_sce.sce
@@ -0,0 +1,17 @@
+//chapter 3
+//example 3.18
+//page 112
+printf("\n")
+printf("given")
+Zz=7;Es=16;Vo=6.2;Il=59.5*10^-3;
+es=(10*Es)/100//10% os Es
+Rl=Vo/Il
+disp("es*Zz||Rl/R1+Zz||Rl")
+V0=es*((Zz*Rl)/(Zz+Rl))/(R1+((Zz*Rl)/(Zz+Rl)))
+lineregulation=(V0*100)/Vo;
+printf("line regulation voltage is %3.3fpercentage\n",lineregulation)
+V0=Il*((Zz*R1)/(Zz+R1))
+loadregulation=(V0*100)/Vo;
+printf("loadregulation voltage is %3.3fpercentage\n",loadregulation)
+Rr=((Zz*Rl)/(Zz+Rl))/(R1+(Zz*Rl)/(Zz+Rl));
+printf("ripple rejection is %3.3f\n",Rr) \ No newline at end of file