blob: 3c3d9f6eef310ff735dbd92292f35a0d831be502 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//chapter9
//example9.14
//page157
rf=0
n=5
Vp=230 // V rms
Rl=100 //ohm
Vs=Vp/n // V rms
Vsm=Vs*2^0.5 // maximum voltage across secondary
Vm=Vsm/2 // maximum voltage across half secondary winding
Idc=2*Vm/(%pi*Rl)
Vdc=Idc*Rl
PIV=Vsm
efficiency=100*0.812/(1+rf/Rl)
printf("dc output voltage = %.3f V \n",Vdc)
printf("PIV = %.3f V \n",PIV)
printf("efficiency = %.3f percent \n",efficiency)
|