summaryrefslogtreecommitdiff
path: root/3682/CH2/EX2.8/Ex2_8.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3682/CH2/EX2.8/Ex2_8.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3682/CH2/EX2.8/Ex2_8.sce')
-rw-r--r--3682/CH2/EX2.8/Ex2_8.sce39
1 files changed, 39 insertions, 0 deletions
diff --git a/3682/CH2/EX2.8/Ex2_8.sce b/3682/CH2/EX2.8/Ex2_8.sce
new file mode 100644
index 000000000..2e28df511
--- /dev/null
+++ b/3682/CH2/EX2.8/Ex2_8.sce
@@ -0,0 +1,39 @@
+// Exa 2.8
+
+clc;
+clear;
+
+// Given data
+
+// With reference to differential amplifier designed in example 2.6
+// 2 applied inputs are
+t = [0 :1:100]; // time in mSec
+ v1= 15*sin(2*%pi*60*t) + 5*sin(2*%pi*1000*t); // in mV
+ v2 = 15*sin(2*%pi*60*t) - 5*sin(2*%pi*1000*t); // in mV
+fi = 60; // frequency of interference signal(Hz)
+fo = 1000; // frequency at which signal is to be processed(Hz)
+
+// Solution
+
+// We know from Example 2.6
+gm=4; // mʊ
+Rc=125 ; // kΩ
+Re= 1.25; // kΩ
+Bo=200;
+r_pi= Bo/gm; // in kΩ
+
+ADM=-500; // from example 2.6(given)
+// From eq. 2.53(a) we get ACM as
+ACM = (-Bo*Rc)/(r_pi*1000+2*(1+Bo)*Re);
+printf(' The value of ACM = %.2f \n',ACM);
+// from eqns 2.56(a and b)
+vDM = (v1-v2)/2;
+vCM = (v1+v2)/2;
+
+//from Eq. 2.57(a and b)
+vo1 = ADM*vDM+ACM*vCM;
+vo2 = -ADM*vDM + ACM*vCM;
+
+printf(' Therefore final equations are- \n');
+disp("vo1 = -2500*sin(2*%pi*1000*t)-0.75*sin(2*%pi*60*t) mV ");
+disp("vo2 = 2500*sin(2*%pi*1000*t)-0.75*sin(2*%pi*60*t) mV");