summaryrefslogtreecommitdiff
path: root/3769/CH27/EX27.7/Ex27_7.sce
blob: ff7a2718f82c8c6285153efce247a6d8e4a550ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clear
//Given
N=5.0
A=230                   //V
B=2
Rl=100

//Calculation
//
V1=A/N
V2=V1*sqrt(2)
Vm=V2/B
Idc=2*Vm/(%pi*Rl)
Vdc=Idc*Rl

//Result
printf("\n (i) d.c voltage output is %0.1f  V",Vdc)
printf("\n (ii) peak inverse voltage is %0.0f  V",V2)