summaryrefslogtreecommitdiff
path: root/2702/CH4/EX4.6/Ex_4_6.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /2702/CH4/EX4.6/Ex_4_6.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 '2702/CH4/EX4.6/Ex_4_6.sce')
-rw-r--r--2702/CH4/EX4.6/Ex_4_6.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/2702/CH4/EX4.6/Ex_4_6.sce b/2702/CH4/EX4.6/Ex_4_6.sce
new file mode 100644
index 000000000..520778701
--- /dev/null
+++ b/2702/CH4/EX4.6/Ex_4_6.sce
@@ -0,0 +1,25 @@
+// Exa 4.6
+clc;
+clear;
+close;
+// Given data (From Exa 4.4)
+R_D= 5;// in kΩ
+R_D= R_D*10^3;// in Ω
+R_SS= 25;// in kΩ
+R_SS= R_SS*10^3;// in Ω
+I= 0.8;// in mA
+I=I*10^-3;// in A
+i_D= I/2;// in A
+unCox= 0.2;// mA/V^2
+unCox= unCox*10^-3;// in A/V^2
+WbyL= 100;
+// Formula i_D= 1/2*unCox*WbyL*V_OV^2
+V_OV= sqrt(2*i_D/(unCox*WbyL));// in V
+gm= i_D/V_OV;// in A/V;
+// gm mismatch have a negligible effect on Ad
+Ad= gm*R_D;// in V/V(approx)
+// delta_gm= 1% of gm
+delta_gm = gm*1/100;// in A/V
+Acm= R_D/(2*R_SS)*delta_gm/gm;
+CMRRindB= 20*log10(Ad/Acm);
+disp(CMRRindB,"CMRR in dB is : ")