diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3169/CH6/EX6.8 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3169/CH6/EX6.8')
-rw-r--r-- | 3169/CH6/EX6.8/Ex6_8.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3169/CH6/EX6.8/Ex6_8.sce b/3169/CH6/EX6.8/Ex6_8.sce new file mode 100644 index 000000000..78db47bd0 --- /dev/null +++ b/3169/CH6/EX6.8/Ex6_8.sce @@ -0,0 +1,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
|