summaryrefslogtreecommitdiff
path: root/2459/CH4/EX4.2/Ex4_2.sce
blob: c31699d8005a1e8d81f9c5f309b87aeb29bf5adc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//chapter4
//example4.2
//page68

rp=200 // ohm
Rl=800 // ohm
Edc=100 // V

// if maximum ac voltage required=Vm then
// Edc=Idc*Rl i.e. Edc=Vm*Rl/(%pi*(rp+Rl))
// thus

Vm=Edc*%pi*(rp+Rl)/Rl
efficiency=(0.406/(1+(rp/Rl)))*100

printf("required ac voltage = %.3f V \n",Vm)
printf("rectification efficiency = %.3f percentage",efficiency)