blob: faa0de2cc879a768307ff19374e7206f13d75f38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
//chapter9
//example9.15
//page158
n=4
Rl=200 // ohm
fin=50 // Hz
Vp=230 // V rms
Vs=Vp/n // V rms
Vsm=Vs*2^0.5 // maximum voltage across secondary
Idc=2*Vsm/(%pi*Rl)
Vdc=Idc*Rl
PIV=Vsm
// in full wave rectifier, output frequency is twice input frequency since there are two ouput pulses for each cycle of input
fout=2*fin
printf("dc output voltage = %.3f V \n",Vdc)
printf("peak inverse voltage = %.3f V \n",PIV)
printf("output frequency = %.3f Hz",fout)
// the accurate answer for dc output voltage is 51.768 V but in book it is given as 52 V
|