summaryrefslogtreecommitdiff
path: root/68/CH4/EX4.9/ex4_9.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /68/CH4/EX4.9/ex4_9.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '68/CH4/EX4.9/ex4_9.sce')
-rwxr-xr-x68/CH4/EX4.9/ex4_9.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/68/CH4/EX4.9/ex4_9.sce b/68/CH4/EX4.9/ex4_9.sce
new file mode 100755
index 000000000..17032c142
--- /dev/null
+++ b/68/CH4/EX4.9/ex4_9.sce
@@ -0,0 +1,21 @@
+// Example 4.9 : Design of given circuit to obtain I_D=0.5mA
+I_d=0.5*10^-3; // (A)
+I_S=0.5*10^-3; // (A)
+V_t=1:0.5:1.5; // (V)
+K_n=1*10^-3; // K_n=k_n*W/L (A/V^2)
+V_DD=15; // (V)
+V_D=10; // (V)
+V_S=5; // (V)
+R_D=(V_DD-V_D)/I_d;
+R_S=V_S/I_S;
+V_OV=sqrt(I_d*2/K_n);
+V_GS=V_t+V_OV;
+V_G=V_S+V_GS;
+// V_t=1.5V
+// I_D=K(V_GS-V_t)^2/2
+// 7=V_GS+10I_D
+// solving above equations
+I_D=0.455*10^-3;
+deltaI_D=I_D-I_d; // Change in I_D (A)
+change=deltaI_D*100/I_d; // Change in %
+disp(change,"Change in I_D (%)") \ No newline at end of file