summaryrefslogtreecommitdiff
path: root/226/CH12/EX12.24/example24_sce.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /226/CH12/EX12.24/example24_sce.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 '226/CH12/EX12.24/example24_sce.sce')
-rwxr-xr-x226/CH12/EX12.24/example24_sce.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/226/CH12/EX12.24/example24_sce.sce b/226/CH12/EX12.24/example24_sce.sce
new file mode 100755
index 000000000..ca1c93c10
--- /dev/null
+++ b/226/CH12/EX12.24/example24_sce.sce
@@ -0,0 +1,18 @@
+//chapter 12
+//example 12.24
+//page 530
+printf("\n")
+printf("given")
+f=1*10^6;L2=50*10^-6;K=.015;L1=75*10^-6;rs=5;Rw=1;Lp=100*10^-6;Cp=330*10^-12;Cc=5*10^-12;Rc=100*10^3;hfe=50;hie=1*10^3;
+C2=1/(((2*3.14*f)^2)*L2)
+M=K*sqrt(L1*L2)
+Rs=(((2*3.14*f)^2)*(M)^2)/rs
+Rp=Rs+Rw
+Zp=Lp/((Cp+Cc)*Rp)
+Rl=(Zp*Rc)/(Zp+Rc)
+disp("voltage gain from the input to primary winding")
+Avp=(hfe*Rl)/hie
+Vsp=12.2*10^-3;
+Vos=((2*3.14*f)*L2)/rs
+disp("overall voltage gain from the input to secondary winding ")
+Av=Avp*Vos*Vsp \ No newline at end of file