summaryrefslogtreecommitdiff
path: root/978/CH8/EX8.9/Example8_9.sce
blob: f3e208287c91d88ff7eb283bda8fee04ca9673bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//chapter-8,Example8_9,pg 500

ar=1//gain of rectifier

nc=40//turns ratio (1:40)

Vm=4//peak load voltage

PF=0.85//power factor

f=(1/%pi)*ar*Vm*nc*PF//frequency

printf("frequency of digital power meter \n")

printf("f=%.2f Hz",f)