summaryrefslogtreecommitdiff
path: root/275/CH2/EX2.2.42/Ch2_2_42.sce
blob: 1cdf7d648e9f0671583254785f2ea7068081dcf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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)