summaryrefslogtreecommitdiff
path: root/3769/CH27/EX27.4/Ex27_4.sce
blob: 47d2cbc36ede8a0377b5636d6095987f40046e49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//Given
N=10.0
V=230                    //V

//Calculation
//
Vrpm=sqrt(2)*V
Vsm=Vrpm/N
Vdc=Vsm/%pi 

//Result
printf("\n (i) The output dc voltage is %0.2f  V",Vdc)
printf("\n (ii) Peak inverse voltage is %0.2f  V",Vsm)