summaryrefslogtreecommitdiff
path: root/2534/CH10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2534/CH10
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 '2534/CH10')
-rwxr-xr-x2534/CH10/EX10.1/Ex10_1.sce8
-rwxr-xr-x2534/CH10/EX10.10/Ex10_10.sce18
-rwxr-xr-x2534/CH10/EX10.2/Ex10_2.sce16
-rwxr-xr-x2534/CH10/EX10.3/Ex10_3.sce11
-rwxr-xr-x2534/CH10/EX10.4/Ex10_4.sce20
-rwxr-xr-x2534/CH10/EX10.5/Ex10_5.sce16
-rwxr-xr-x2534/CH10/EX10.6/Ex10_6.sce16
-rwxr-xr-x2534/CH10/EX10.7/Ex10_7.sce18
-rwxr-xr-x2534/CH10/EX10.8/Ex10_8.sce14
-rwxr-xr-x2534/CH10/EX10.9/Ex10_9.sce16
10 files changed, 153 insertions, 0 deletions
diff --git a/2534/CH10/EX10.1/Ex10_1.sce b/2534/CH10/EX10.1/Ex10_1.sce
new file mode 100755
index 000000000..00496373a
--- /dev/null
+++ b/2534/CH10/EX10.1/Ex10_1.sce
@@ -0,0 +1,8 @@
+//Ex10_1
+clc
+Av = 80//voltage gain
+beta = 0.001//feedback ratio
+disp("Av = "+string(Av))
+disp("beta = "+string(beta))
+Avf = Av/(1+beta*Av)//gain with negative feedback
+disp("Avf = Av/(1+beta*Av) = "+string(Avf))
diff --git a/2534/CH10/EX10.10/Ex10_10.sce b/2534/CH10/EX10.10/Ex10_10.sce
new file mode 100755
index 000000000..f59638232
--- /dev/null
+++ b/2534/CH10/EX10.10/Ex10_10.sce
@@ -0,0 +1,18 @@
+//Ex10_10
+clc
+//parameters of emitter follower circuit:
+hie = 1.1*10^3//input resistance
+hfe = 80//current gain
+hoe = 2*10^-5//output conductance
+Re = 2.2*10^3//emitter resistance
+disp("hie = "+string(hie)+"ohm")
+disp("hfe = "+string(hfe))
+disp("hoe = "+string(hoe)+"mho")
+disp("Re = "+string(Re)+"ohm")
+gm = hfe/hie
+Rif = hie*(1+gm*Re)//input resistance with feedback
+disp("Rif = hie*(1+gm*Re) = "+string(Rif)+"ohm")
+Rof = hie/(1+hfe)//output resistance with feedback
+disp("Rof = hie/(1+hfe) = "+string(Rof)+"ohm")
+Avf = gm*Re/(1+gm*Re)//voltage gain with negative feedback
+disp("Avf = gm*Re/(1+gm*Re) = "+string(Avf))
diff --git a/2534/CH10/EX10.2/Ex10_2.sce b/2534/CH10/EX10.2/Ex10_2.sce
new file mode 100755
index 000000000..d0e014044
--- /dev/null
+++ b/2534/CH10/EX10.2/Ex10_2.sce
@@ -0,0 +1,16 @@
+//Ex10_2
+clc
+Av = 50//voltage gain
+beta = 0.01//feedback ratio
+BW = 100*10^3//bandwidth
+disp("Av = "+string(Av))
+disp("beta = "+string(beta))
+disp("Bandwidth = "+string(BW)+"Hz")
+Avf = Av/(1+beta*Av)//gain with negative feedback
+disp("Avf = Av/(1+beta*Av) = "+string(Avf))
+BWf = BW*(1+beta*Av)//bandwidth with negative feedback
+disp("(B.W)f = "+string(BWf)+"Hz")
+
+
+// note : using variable "BW" instad of "B.W" ... as, if using B.W the software takes it as a function.
+// similarly using "BWf" instead of (B.W)f.
diff --git a/2534/CH10/EX10.3/Ex10_3.sce b/2534/CH10/EX10.3/Ex10_3.sce
new file mode 100755
index 000000000..d702d97e5
--- /dev/null
+++ b/2534/CH10/EX10.3/Ex10_3.sce
@@ -0,0 +1,11 @@
+//Ex10_3
+clc
+Av = 200// voltage gain
+D = 0.05// harmonic distortion in amplifier
+Df = 0.02//final reduced distortion
+beta = (D/Df-1)/Av//feedback gain
+disp("Av = "+string(Av))
+disp("D = "+string(D))
+disp("Df = "+string(Df))
+disp("beta = (D/Df - 1)/Av = "+string(beta))
+disp("beta = "+string(beta*100)+"%")
diff --git a/2534/CH10/EX10.4/Ex10_4.sce b/2534/CH10/EX10.4/Ex10_4.sce
new file mode 100755
index 000000000..1af98a93a
--- /dev/null
+++ b/2534/CH10/EX10.4/Ex10_4.sce
@@ -0,0 +1,20 @@
+//Ex10_4
+clc
+Av1 = 100//initial voltage gain
+beta = 0.001//feedback ratio
+disp("Av1 = "+string(Av1))
+disp("beta = "+string(beta))
+Af1 = Av1/(1+beta*Av1)//initial gain with negative feedback
+disp("Af1 = Av1/(1+beta*Av1) = "+string(Af1))
+
+Av2 = 150//final voltage gain
+beta = 0.001//feedback ratio
+disp("Av2 = "+string(Av2))
+disp("beta = "+string(beta))
+Af2 = Av2/(1+beta*Av2)//final gain with negative feedback
+disp("Af2 = Av2/(1+beta*Av2) = "+string(Af2))
+
+change_in_gain = Af2 - Af1//required change in gain
+disp("change in gain required = Af2 - Af1 = "+string(change_in_gain))
+delta_Avf = change_in_gain/Af1
+disp("delta_Avf = Af2-Af1/Af1 = "+string(delta_Avf)+"%")
diff --git a/2534/CH10/EX10.5/Ex10_5.sce b/2534/CH10/EX10.5/Ex10_5.sce
new file mode 100755
index 000000000..04e9c94fc
--- /dev/null
+++ b/2534/CH10/EX10.5/Ex10_5.sce
@@ -0,0 +1,16 @@
+//Ex10_5
+clc
+Av = 40//voltage gain in decibles
+disp("Av = "+string(Av)+"dB")
+Av = 10^(Av/20)//voltage gain in V/V
+disp("Av = "+string(Av))
+Avf = 20//voltage gain with negative feedback in decibles
+disp("Avf = "+string(Avf)+"dB")
+Avf = 10^(Avf/20)//voltage gain with negative feedback in V/V
+disp("Avf = "+string(Avf))
+beta = ((Av/Avf)-1)/Av//feedback ratio
+disp("beta = (Av/Avf - 1)/Av = "+string(beta))
+
+
+
+// note: solution in the textbook for the above problem is wrong.
diff --git a/2534/CH10/EX10.6/Ex10_6.sce b/2534/CH10/EX10.6/Ex10_6.sce
new file mode 100755
index 000000000..8d7d7e057
--- /dev/null
+++ b/2534/CH10/EX10.6/Ex10_6.sce
@@ -0,0 +1,16 @@
+//Ex10_6
+clc
+Av = 100//voltage gain
+beta = 0.05//feedback ratio
+BW = 400*10^3 //bandwidth
+disp("Av = "+string(Av))
+disp("beta = "+string(beta))
+disp("B.W. = "+string(BW)+"Hz")
+Af = Av/(1+beta*Av)//gain with negative feedback
+disp("Af = Av/(1+beta*Av) = "+string(Af))
+BWf = BW*(1+beta*Av)//bandwidth with negative feedback
+disp("(B.W)f = "+string(BWf)+"Hz")
+
+
+// note : using variable "BW" instad of "B.W" ... as, if using B.W the software takes it as a function.
+// similarly using "BWf" instead of (B.W)f.
diff --git a/2534/CH10/EX10.7/Ex10_7.sce b/2534/CH10/EX10.7/Ex10_7.sce
new file mode 100755
index 000000000..7e0e2834c
--- /dev/null
+++ b/2534/CH10/EX10.7/Ex10_7.sce
@@ -0,0 +1,18 @@
+//Ex10_7
+clc
+Po = 100//output power
+RL = 10//load resistance
+disp("Po = "+string(Po)+"W")
+disp("RL = "+string(RL)+"ohm")
+vo = (RL*Po)^0.5//output voltage
+vi = 2//input voltage
+disp("vo = (Rl*Po)^0.5 = "+string(vo)+"V")
+disp("vi = "+string(vi)+"V")
+Av = vo/vi//voltage gain
+disp("Av = vo/vi = "+string(Av))
+D = 0.04// harmonic distortion in amplifier
+Df = 0.0002//distortion after feedback
+beta = (D/Df-1)/Av//feedback gain
+disp("D = "+string(D))
+disp("Df = "+string(Df))
+disp("beta = (D/Df - 1)/Av = "+string(beta))
diff --git a/2534/CH10/EX10.8/Ex10_8.sce b/2534/CH10/EX10.8/Ex10_8.sce
new file mode 100755
index 000000000..4186357d3
--- /dev/null
+++ b/2534/CH10/EX10.8/Ex10_8.sce
@@ -0,0 +1,14 @@
+//Ex10_8
+clc
+BW = 500*10^3//bandwidth
+A = 200//gain of amplifier
+BWf = 2*10^6//bandwidth with negative feedback
+disp("B.W = "+string(BW)+"HZ")
+disp("A = "+string(A))
+disp("(B.W)f = "+string(BWf)+"Hz")
+beta = ((BWf/BW)-1)/A//feedback ratio
+disp("beta = ((B.W)f/B.W - 1)/A = "+string(beta))
+disp("beta = "+string(beta*100)+"%")
+
+// note : using variable "BW" instad of "B.W" ... as, if using B.W the software takes it as a function.
+// similarly using "BWf" instead of (B.W)f.
diff --git a/2534/CH10/EX10.9/Ex10_9.sce b/2534/CH10/EX10.9/Ex10_9.sce
new file mode 100755
index 000000000..cb4e408d9
--- /dev/null
+++ b/2534/CH10/EX10.9/Ex10_9.sce
@@ -0,0 +1,16 @@
+//Ex10_9
+clc
+A = 150//gain of amplifier
+beta = 0.05//feedback ratio
+disp("A = "+string(A))
+disp("beta = "+string(beta))
+Af = A/(1+beta*A)//gain with negative feedback
+disp("Af = A/(1+beta*A) = "+string(Af))
+fL = 20*10^3//lower 3dB frequency
+fU = 160*10^3//upper 3dB frequency
+disp("fL = "+string(fL)+"Hz")
+disp("fU = "+string(fU)+"Hz")
+fLf = fL/(1+beta*A)//lower 3dB gain with negative feedback
+disp("fLf = fL/(1+beta*A) = "+string(fLf)+"Hz")
+fUf = fU*(1+beta*A)//upper 3dB gain with negative feedback
+disp("fUf = fU*(1+beta*A) = "+string(fUf)+"Hz")