summaryrefslogtreecommitdiff
path: root/2672/CH6/EX6.22/Ex6_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '2672/CH6/EX6.22/Ex6_22.sce')
-rwxr-xr-x2672/CH6/EX6.22/Ex6_22.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2672/CH6/EX6.22/Ex6_22.sce b/2672/CH6/EX6.22/Ex6_22.sce
new file mode 100755
index 000000000..ceea97230
--- /dev/null
+++ b/2672/CH6/EX6.22/Ex6_22.sce
@@ -0,0 +1,19 @@
+//Example 6_22
+clc;
+clear;
+close;
+format('v',7);
+//given data :
+IL=50;//micro A
+C=4;///micro F
+C1=4;///micro F
+L=20;///H(Choke Inductance)
+R=200;//ohm(Choke Resistance)
+V=300;//V
+Idc=IL/1000;//mA
+Vdc=V*sqrt(2)-4170*Idc/C-Idc*R;//V
+disp(Vdc,"Output Voltage(V) : " );
+r=3300*Idc/C/C1/L/R;//Ripple factor
+Vrms=r*Vdc;//V
+disp(Vrms,"Ripple Voltage(V) : ");
+//Answer in the textbook is wrong. calculation & value putting mistake.