summaryrefslogtreecommitdiff
path: root/2609/CH2/EX2.8/ex_2_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '2609/CH2/EX2.8/ex_2_8.sce')
-rwxr-xr-x2609/CH2/EX2.8/ex_2_8.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2609/CH2/EX2.8/ex_2_8.sce b/2609/CH2/EX2.8/ex_2_8.sce
new file mode 100755
index 000000000..9d9deb810
--- /dev/null
+++ b/2609/CH2/EX2.8/ex_2_8.sce
@@ -0,0 +1,19 @@
+////Ex 2.8
+clc;
+clear;
+close;
+format('v',5);
+ICQ=200;//micro A
+Beta=1000;//unitless
+Ad=180;//unitless
+CMRR=80;//dB
+VT=26;//mV
+re=VT/(ICQ/1000);//ohm(Let re=re1=re2)
+RC=Ad*re/1000;//kohm
+CMRR=10^(CMRR/20);//untless
+RE=(CMRR-1)*re/2/1000;//kohm
+disp(RE,RC,"Value of RC & RE(kohm)");
+Rid=2*Beta*re/1000;//kohm(Let Rid=Rid1=Rid2)
+disp(Rid,"Differntial input resistance, Rid(kohm)");
+Ric=(Beta+1)*(re+2*RE*1000)/10^6;//Mohm
+disp(Ric,"Common mode input resistance, Ric(Mohm)");