blob: a6ec9ea7516a1bd8959337d82b95df625e7e55bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//Ex4_10 Pg-238
clc
f=60 //frequency in Hz
C=100*10^(-6) //capacitance in F
Rl=1*10^3 //load resistance
disp("Since the transformer is center tapped ,the rms value of voltage across half the secondary coil")
Vct=12.6 //voltage of center tapped transformer
Vrms=Vct/2 //rms voltage
disp("Peak voltage")
Vm=Vrms*sqrt(2) //peak voltage
printf(" = %.2f V\n ",Vm)
disp("(b) DC output voltage")
Vdc=Vm/(1+(1/(4*f*C*Rl))) //DC output voltage
printf(" = %.2f V \n ",Vdc)
disp("Ripple factor in case of capacitor filter ")
disp(" =2410/C*Rl")
r=2410/(100*Rl)*100 //ripple factor
printf("\n = %.1f %%\n ",r)
|