summaryrefslogtreecommitdiff
path: root/3515/CH4/EX4.11/Ex_4_11.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3515/CH4/EX4.11/Ex_4_11.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 '3515/CH4/EX4.11/Ex_4_11.sce')
-rw-r--r--3515/CH4/EX4.11/Ex_4_11.sce36
1 files changed, 36 insertions, 0 deletions
diff --git a/3515/CH4/EX4.11/Ex_4_11.sce b/3515/CH4/EX4.11/Ex_4_11.sce
new file mode 100644
index 000000000..fd3554937
--- /dev/null
+++ b/3515/CH4/EX4.11/Ex_4_11.sce
@@ -0,0 +1,36 @@
+// Exa 4.11
+format('v',7);
+clc;
+clear;
+close;
+// Given data
+WLn= 100;
+WLp= 200;
+unCox= 0.2;// mA/V^2
+unCox=unCox*10^-3;//in A/V^2
+RSS= 25;// in kΩ
+RSS= RSS*10^3;// in Ω
+I=0.8;// in mA
+I=I*10^-3;//in A
+V_A= 20;// in V
+i_D= I/2;// in A
+// Formula i_D= 1/2*unCox*WLn*V_OV^2
+V_OV= sqrt(2*i_D/(unCox*WLn));// in V
+gm= I/V_OV;// in A/V
+disp(gm*10^3,"Value of Gm in mA/V is : ")
+ro2= V_A/(I/2);// in ohm
+ro4= ro2;// in ohm
+Ro= ro2*ro4/(ro2+ro4);// in ohm
+disp(Ro*10^-3,"Value of Ro in kΩ is : ")
+Ad= gm*Ro;// in V/V
+disp(Ad,"Value of Ad in V/V is :")
+// Finding the value of gm3
+upCox= 0.1;// mA/V^2
+upCox=upCox*10^-3;//in A/V^2
+// Formula i_D= 1/2*upCox*WLp*V_OV^2
+V_OV= sqrt(2*i_D/(upCox*WLp));// in V
+gm3= I/V_OV;// in A/V
+Acm= 1/(2*gm3*RSS);//in V/V
+disp(abs(Acm),"Value of |Acm| in V/V is : ")
+CMRRindB= 20*log10(abs(Ad)/abs(Acm));//in dB
+disp(round(CMRRindB),"CMRR in dB is :")