summaryrefslogtreecommitdiff
path: root/3169/CH6/EX6.7/Ex6_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3169/CH6/EX6.7/Ex6_7.sce
downloadScilab-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.7/Ex6_7.sce')
-rw-r--r--3169/CH6/EX6.7/Ex6_7.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/3169/CH6/EX6.7/Ex6_7.sce b/3169/CH6/EX6.7/Ex6_7.sce
new file mode 100644
index 000000000..a082eadaa
--- /dev/null
+++ b/3169/CH6/EX6.7/Ex6_7.sce
@@ -0,0 +1,28 @@
+//developed in windows XP operating system
+//platform Scilab 5.4.1
+clc;clear all;
+//example 6.7
+//calculation of peak value of output voltage and highest resonant frequency produced
+
+//given data
+V=10*10^3//voltage(in V) at primary winding
+L1=10*10^-3//inductance(in H)
+L2=200*10^-3//inductance(in H)
+K=0.6//coefficient of coupling
+C1=2*10^-6//capacitance(in Farad) on primary side
+C2=1*10^-9//capacitance(in Farad) on secondary side
+
+//calculation
+M=K*sqrt(L1*L2)
+omega1=1/sqrt(L1*C1)
+sigma=sqrt(1-(K^2))
+omega2=1/sqrt(L2*C2)
+gama2=sqrt(((omega1^2+omega2^2)/2)+sqrt(((omega1^2+omega2^2)/2)-(sigma^2*omega1^2*omega2^2)))
+gama1=sqrt(((omega1^2+omega2^2)/2)-sqrt(((omega1^2+omega2^2)/2)-(sigma^2*omega1^2*omega2^2)))
+fh=gama2/(2*%pi)//highest frequency
+V2p=(V*M)/(sigma*L1*L2*C2*(gama2^2-gama1^2))
+
+printf('The value of highest resonant frequency produced is %3.2f kHz',fh*10^-3)
+printf('\nThe peak value of output voltage is %3.2f kV',V2p*10^-3)
+
+//gama1 and gama2 are imaginary numbers....Moreover their magnitudes will also be same....so peak value of output voltage from equation is zero