summaryrefslogtreecommitdiff
path: root/2825/CH4/EX4.11/Ex4_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '2825/CH4/EX4.11/Ex4_11.sce')
-rwxr-xr-x2825/CH4/EX4.11/Ex4_11.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2825/CH4/EX4.11/Ex4_11.sce b/2825/CH4/EX4.11/Ex4_11.sce
new file mode 100755
index 000000000..8a07c838f
--- /dev/null
+++ b/2825/CH4/EX4.11/Ex4_11.sce
@@ -0,0 +1,22 @@
+//Ex4_11 Pg-238
+clc
+Vdc=9 //dc voltage
+Idc=100*10^(-3) //dc load current
+disp("Ripple factor with an L-C filter,r=(0.83/LC)")
+disp(" where L-> Henry,C->microFarad")
+gamm=0.02 //maximum ripple
+LC=0.83/gamm
+printf(" LC = %.1f \n ",LC) //let LC=42
+
+disp("LOad connected to the filter,")
+RL=Vdc/Idc //load resistance in ohm
+printf(" RL = %.0f ohm\n ",RL)
+
+disp("Critical value of inductor,")
+Lk=RL/900 //Critical value of inductor
+printf(" Lk = %.1f \n ",Lk)
+
+disp("Capacitance")
+LC=42 //rounding of 41.5 to 42
+C=LC/Lk //capacitance in microFarad
+printf(" C = %.0f uF\n ",C)