summaryrefslogtreecommitdiff
path: root/275/CH2/EX2.2.42/Ch2_2_42.sce
diff options
context:
space:
mode:
Diffstat (limited to '275/CH2/EX2.2.42/Ch2_2_42.sce')
-rwxr-xr-x275/CH2/EX2.2.42/Ch2_2_42.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/275/CH2/EX2.2.42/Ch2_2_42.sce b/275/CH2/EX2.2.42/Ch2_2_42.sce
new file mode 100755
index 000000000..1cdf7d648
--- /dev/null
+++ b/275/CH2/EX2.2.42/Ch2_2_42.sce
@@ -0,0 +1,21 @@
+clc
+disp("Example 2.42")
+printf("\n")
+disp("Find Ripple factor,Dc output voltage,Ripple voltage,DC load current")
+printf("Given\n")
+Vm=282.84
+f=50
+C=500*10^-6
+RL=2*10^3
+//Ripple factor
+r=1/(4*sqrt(3)*RL*f*C)
+//Dc output voltage
+Vdc=Vm/(1+(1/(4*f*C*RL)))
+//Ripple voltage on capacitor
+Vac=r*Vdc
+//DC load current
+Idc=Vdc/RL
+printf("Ripple factor \n%f\n",r)
+printf("dc ouput voltage \n%f volt\n",Vdc)
+printf("Ripple voltage on capacitor \n%f volt\n",Vac)
+printf("DC load current \n %f ampere\n",Idc)