summaryrefslogtreecommitdiff
path: root/147/CH13/EX13.16/Example13_16.sce
blob: 957097c384af971c7d62a75bfeb4f12121ec0718 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Transformer frequency fr, Source frequency fs
close();
clear;
clc;
Pr = 500;//VA
ft = 25;//Hz
fs = 60;
V1 = 120;
V2 = 30;
//Maximum permissible primary voltage 'V1max'
V1max = fs/ft*V1;
V2r = fs/ft*V2;
I2r = Pr/V2;
mprintf('Maximum primary voltage = %0.0f V\nrated V2 = %0.0f V\nrated I2 = %0.2f A',V1max,V2r,I2r);