summaryrefslogtreecommitdiff
path: root/3769/CH14/EX14.14/Ex14_14.sce
blob: eff82b3e9b42cfa18536919ca915559ec77a469a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//Given
Np=5000
Vp=2200                       //V
Vs=220                         //V
Pout=8                         //K W
n=0.9

//Calculation
Ns=(Vs*Np)/Vp
Pin=Pout/n

//Result
printf("\n (ii) Input power is %0.1f  K W",Pin)