summaryrefslogtreecommitdiff
path: root/1511/CH3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1511/CH3
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 '1511/CH3')
-rwxr-xr-x1511/CH3/EX3.1/ex3_1.sce21
-rwxr-xr-x1511/CH3/EX3.10/ex3_10.sce8
-rwxr-xr-x1511/CH3/EX3.11/ex3_11.sce20
-rwxr-xr-x1511/CH3/EX3.12/ex3_12.sce14
-rwxr-xr-x1511/CH3/EX3.13/ex3_13.sce27
-rwxr-xr-x1511/CH3/EX3.2/ex3_2.sce28
-rwxr-xr-x1511/CH3/EX3.4/ex3_4.sce8
-rwxr-xr-x1511/CH3/EX3.5/ex3_5.sce19
-rwxr-xr-x1511/CH3/EX3.6/ex3_6.sce18
-rwxr-xr-x1511/CH3/EX3.7/ex3_7.sce13
-rwxr-xr-x1511/CH3/EX3.8/ex3_8.sce17
-rwxr-xr-x1511/CH3/EX3.9/ex3_9.sce13
12 files changed, 206 insertions, 0 deletions
diff --git a/1511/CH3/EX3.1/ex3_1.sce b/1511/CH3/EX3.1/ex3_1.sce
new file mode 100755
index 000000000..56c1c698a
--- /dev/null
+++ b/1511/CH3/EX3.1/ex3_1.sce
@@ -0,0 +1,21 @@
+// Example 3.1 page no-155
+clear
+clc
+
+//(1)
+Rl=2000
+f=50
+l=20
+V1=0.074
+w=2*%pi*f
+V=Rl/(3*2*sqrt(w*2))
+printf("\n1.One Inductor Filter,\nV = %.3f\n",V1)
+//(2)
+Idc=1
+c=16*10^-6
+gam=Idc/(4*sqrt(3)*f*c*Rl)
+printf("\n2.Capacitor filter, \nGamma = %.2f\n",gam)
+
+//(3)
+gam2=(sqrt(2)/3)*(1/4*l*c*(w^2))
+printf("\n3. L Type filter,\nGamma = %.4f",gam2/1000)
diff --git a/1511/CH3/EX3.10/ex3_10.sce b/1511/CH3/EX3.10/ex3_10.sce
new file mode 100755
index 000000000..1684f45d1
--- /dev/null
+++ b/1511/CH3/EX3.10/ex3_10.sce
@@ -0,0 +1,8 @@
+// Example 3.10 page no-170
+clear
+clc
+
+Vdc=(100/(2*%pi))*(-cos(5*%pi/6)+cos(%pi/6))
+printf("\nVdc=%.1f V",Vdc)
+Vrms=sqrt(3.1)*Vdc
+printf("\nVrms=%.1fV",Vrms)
diff --git a/1511/CH3/EX3.11/ex3_11.sce b/1511/CH3/EX3.11/ex3_11.sce
new file mode 100755
index 000000000..bf62a42c9
--- /dev/null
+++ b/1511/CH3/EX3.11/ex3_11.sce
@@ -0,0 +1,20 @@
+// Example 3.11 page no-172
+clear
+clc
+
+
+//(a)
+vdc=30 //V
+idc=0.05 //A
+rl=vdc/idc
+f=50 ///Hz
+c=80*10^-6 //F
+vm=vdc+(idc/(4*f*c))
+printf("\n(a)\nRL=%.0f Ohm\nVm=%.3fV\nVrms=%.1fV",rl,vm,vm/sqrt(2))
+//(b)
+is=vm*2*%pi*f*c
+printf("\n\n(b)\nI_diode swing/I_diode mean = %.2f",is/idc)
+//(c)
+gam=4*sqrt(3)*f*c*rl
+gam=1/gam
+printf("\n\n(c)\ngamma=%.2f",gam)
diff --git a/1511/CH3/EX3.12/ex3_12.sce b/1511/CH3/EX3.12/ex3_12.sce
new file mode 100755
index 000000000..299dba598
--- /dev/null
+++ b/1511/CH3/EX3.12/ex3_12.sce
@@ -0,0 +1,14 @@
+// Example 3.12 page no-173
+clear
+clc
+
+vm=25
+vp=35.4 //V
+vdc=2*vp/%pi //V
+vrms=sqrt(vm^2-vdc^2)
+
+rl=25
+im= vp/rl
+idc=2*im/%pi
+irms=sqrt(1-idc^2)
+printf("\nVdc=%.1f V\nVrms=%.2f V\nIm=%.2f A\nIdc=%.2f A\nIrms=%.3f A",vdc,vrms,im,idc,irms)
diff --git a/1511/CH3/EX3.13/ex3_13.sce b/1511/CH3/EX3.13/ex3_13.sce
new file mode 100755
index 000000000..d7797fb79
--- /dev/null
+++ b/1511/CH3/EX3.13/ex3_13.sce
@@ -0,0 +1,27 @@
+// Example 3.13 page no-176
+clear
+clc
+veb=0.2 //V
+hfe=49
+vz=6.3 //V
+i=5*10^-3
+vi=8
+//(1)
+y=veb+vz
+printf("\n1. The nominal output voltage is the sum of the transistor V_EB and zener voltage.\nV0=%.1f V\n",y)
+//(2)
+r1=(vi-vz)/i
+printf("\n2. R1 must supply 5mA to the zener diode\nR1=%.0f Ohm",r1)
+//(3)
+k=veb/vz
+printf("\n\n3. The maximum allowable zener current is\nIz=%f A",k)
+ibmax=k-i
+it=ibmax*(1+hfe)
+printf("\nTotal current range = %.2f A",it)
+//(4)
+pd=y*it
+printf("\n\n(4)\nThe maximum power dissipation,\nPd=%.1f W",pd)
+//(5)
+rs=(vi-y)/it
+pdr=it^2*rs
+printf("\n\n(5)\nRs=%.2f Ohm\nPower dissipated by Rs is P = %dW",rs,pdr)
diff --git a/1511/CH3/EX3.2/ex3_2.sce b/1511/CH3/EX3.2/ex3_2.sce
new file mode 100755
index 000000000..71f147ad3
--- /dev/null
+++ b/1511/CH3/EX3.2/ex3_2.sce
@@ -0,0 +1,28 @@
+// Example 3.2 page no-156
+clear
+clc
+
+vm=110 //rms
+x=1020 //Rf+Rl
+rl=1000
+//(a)
+Im=vm*sqrt(2)/x
+printf("\n(a)\nIm = %.1f mA",Im*1000)
+//(b)
+Idc=Im*1000/%pi
+printf("\n(b)\nIdc = %.1f mA",Idc)
+
+//(c)
+Ir=Im*1000/2
+printf("\n(c)\nIrms = %.1f mA",Ir)
+//(d)
+v=-(Im*rl/%pi)
+printf("\n(d)\n Vdc = %.1f V",v)
+
+//(e)
+p=Ir*x/1000
+printf("\n(e)\nPi = %.2f W",p)
+//(f)
+rl=1
+lr=((vm*sqrt(2)/%pi)-(Idc*rl))/(Idc*rl)
+printf("\n(f)\n%% regulation = %.2f %%",lr*100)
diff --git a/1511/CH3/EX3.4/ex3_4.sce b/1511/CH3/EX3.4/ex3_4.sce
new file mode 100755
index 000000000..5d438b6fa
--- /dev/null
+++ b/1511/CH3/EX3.4/ex3_4.sce
@@ -0,0 +1,8 @@
+// Example 3.4 page no-157
+clear
+clc
+
+Rl=5010 //ohm
+idc=0.001
+Vrms=idc*%pi*Rl/(2*sqrt(2))
+printf("\nVrms = %.2f V",Vrms)
diff --git a/1511/CH3/EX3.5/ex3_5.sce b/1511/CH3/EX3.5/ex3_5.sce
new file mode 100755
index 000000000..148090e3b
--- /dev/null
+++ b/1511/CH3/EX3.5/ex3_5.sce
@@ -0,0 +1,19 @@
+// Example 3.5 page no-164
+clear
+clc
+rf=0.02
+f=60
+w=2*%pi*f
+lc=sqrt(2)/(rf*12*w^2)
+printf("\nLC=%.1f micro",lc*10^6)
+vdc=9
+idc=0.1
+Rl=vdc/idc
+printf("\nRL = %d Ohm\n\n LC> Rl/3w > Rl/1130\n But LC should be 25%% larger\ntherefore, for f= 60 Hz,the value ofLC should be > Rl/900",Rl)
+lc1=Rl/900
+printf("\nIf L=0.1H, then C=%.1f micro F, This is high value\nIf L=1H, then C=41.5 micro F",ceil(lc*10^6/lc1))
+printf("\n\nTransformer Rating:")
+vdc=vdc+5
+vm=vdc*%pi/2
+vrms=vm/sqrt(2)
+printf("\nVdc=%.0fV\nVm=%.0fV\nVrms=%.1fV\nTherefore, a 15.5 - 0 -15.5 V, 1OOmA transformer is required\n PIV=%d V",vdc,ceil(vm),vrms,2*ceil(vm))
diff --git a/1511/CH3/EX3.6/ex3_6.sce b/1511/CH3/EX3.6/ex3_6.sce
new file mode 100755
index 000000000..122157dcd
--- /dev/null
+++ b/1511/CH3/EX3.6/ex3_6.sce
@@ -0,0 +1,18 @@
+// Example 3.6 page no-165
+clear
+clc
+vrpp=0.8 //V
+vrms=vrpp/(2*sqrt(3))
+vrms=floor(vrms*10)
+vrms=vrms/10
+vm=8.8
+vdc=vm-vrpp/2
+gam=vrms/vdc
+printf("\n%% regulation, gamma = %.2f%%",gam*100)
+r=100
+f=60
+c=1050*10^-6
+tgam=1/(4*(sqrt(3*c*r*f)))
+printf("\nTheoretical values, gamma = %.2f%%",tgam*100)
+Vdc=(4*f*r*c*vm)/(1+4*f*r*c)
+printf("\nVdc = %.2f V",Vdc)
diff --git a/1511/CH3/EX3.7/ex3_7.sce b/1511/CH3/EX3.7/ex3_7.sce
new file mode 100755
index 000000000..1cc9dd496
--- /dev/null
+++ b/1511/CH3/EX3.7/ex3_7.sce
@@ -0,0 +1,13 @@
+// Example 3.7 page no-167
+clear
+clc
+Vdc=25
+Idc=0.1
+R=Vdc/Idc
+
+Vc=Vdc+37.5
+
+vm=Vc+(Idc/(4*50))
+vrms=vm/sqrt(2)
+vrms=60 ///approximated to
+printf("\nVrms=%.0f V\n\nTherefore, a transformer with 60 - 0 -60V is chosen. \nThe ratings of the diode should be,\ncurrent of 125mA.and voltage = PIV = 2Vm = %.1f",vrms,169.2)
diff --git a/1511/CH3/EX3.8/ex3_8.sce b/1511/CH3/EX3.8/ex3_8.sce
new file mode 100755
index 000000000..a9a92e5b7
--- /dev/null
+++ b/1511/CH3/EX3.8/ex3_8.sce
@@ -0,0 +1,17 @@
+// Example 3.8 page no-169
+clear
+clc
+
+Vdc=250 //V
+Idc=0.1
+rc=400
+rl=Vdc/Idc
+Vm=(Vdc*%pi/2)*(1+(rc/rl))
+Vrms=Vm/sqrt(2)
+printf("Vrms=%dV\n\nTherefore, the transformer should supply \n%dV rms on each side of the centre tap.",Vrms,Vrms)
+L=10 //Ohm
+c=20*10^-6
+w=377
+Ib=2*Vm/(3*%pi*w*L)
+rf=0.47/(4*w^2*c)
+printf("\n\nIb=%.4f A\nRipple factor=%f",Ib,rf)
diff --git a/1511/CH3/EX3.9/ex3_9.sce b/1511/CH3/EX3.9/ex3_9.sce
new file mode 100755
index 000000000..8dd82afd6
--- /dev/null
+++ b/1511/CH3/EX3.9/ex3_9.sce
@@ -0,0 +1,13 @@
+// Example 3.9 page no-170
+clear
+clc
+
+Idc=0.02 //A
+Vdc=16 //V
+rl=Vdc/Idc
+f=50
+x=4*sqrt(3)*f*0.05*rl
+C=1/x
+printf("\nC=%d microF",C*10^6)
+vm=Vdc*((1+(4*f*C*rl)))/(4*f*C*rl)
+printf("\nVm=%.2f V",vm)