summaryrefslogtreecommitdiff
path: root/3515/CH4/EX4.15/Ex_4_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '3515/CH4/EX4.15/Ex_4_15.sce')
-rw-r--r--3515/CH4/EX4.15/Ex_4_15.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3515/CH4/EX4.15/Ex_4_15.sce b/3515/CH4/EX4.15/Ex_4_15.sce
new file mode 100644
index 000000000..7e38d4ed3
--- /dev/null
+++ b/3515/CH4/EX4.15/Ex_4_15.sce
@@ -0,0 +1,23 @@
+// Exa 4.15
+format('v',5);
+clc;
+clear;
+close;
+// Given data
+I=0.5;// in mA
+I=I*10^-3;// in A
+WbyL= 50;
+unCox= 250;// in µA/V^2
+unCox=unCox*10^-6;// in A/V^2
+V_A= 10;// in V
+R_D= 4;//in kΩ
+R_D= R_D*10^3;//in Ω
+V_OV= sqrt(I/(WbyL*unCox));//in V
+disp(V_OV,"The value of V_OV in V is : ")
+gm= I/V_OV;// in A/V
+disp(gm*10^3,"The value of gm in mA/V is ")
+I_D=I/2;// in A
+ro= V_A/I_D;// in Ω
+disp(ro*10^-3,"The value of ro in kΩ is : ")
+Ad= gm*(R_D*ro/(R_D+ro));// in V/V
+disp(Ad,"The value of Ad in V/V is : ")