summaryrefslogtreecommitdiff
path: root/3169/CH6/EX6.8/Ex6_8.sce
blob: 78db47bd0be6a93c6088e7322b4f5c2836ead36c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//developed in windows XP operating system
//platform Scilab 5.4.1
clc;clear all;
//example 6.8
//calculation of output voltage

//given data
V1=10//voltage(in kV) at primary winding 
C1=2*10^-6//capacitance(in Farad) on primary side
C2=1*10^-9//capacitance(in Farad) on secondary side
pern=5//energy efficiency(in percentage)

//calculation
n=pern/100
V2=V1*sqrt(n*C1/C2)

printf('The value of output voltage is %3.1f kV',V2)
//correct answer is 100 kV