summaryrefslogtreecommitdiff
path: root/68/CH4/EX4.4/ex4.sce
diff options
context:
space:
mode:
Diffstat (limited to '68/CH4/EX4.4/ex4.sce')
-rwxr-xr-x68/CH4/EX4.4/ex4.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/68/CH4/EX4.4/ex4.sce b/68/CH4/EX4.4/ex4.sce
new file mode 100755
index 000000000..f67abfc3a
--- /dev/null
+++ b/68/CH4/EX4.4/ex4.sce
@@ -0,0 +1,14 @@
+// Example 4.4 : Design of given circuit to obtain V_D=0.1V
+// MOSFET is operating in triode region
+V_D=0.1; // (V)
+V_DD=5; // (V)
+V_t=1; // (V)
+K=1*10^-3; // K=k'_n(W/L)
+V_GS=5; // (V)
+V_DS=0.1; // (V)
+I_D=K*((V_GS-V_t)*V_DS-(V_DS^2)/2);
+disp(I_D,"I_D (A)")
+R_D=(V_DD-V_D)/I_D;
+disp(R_D,"R_D (ohm)")
+r_DS=V_DS/I_D;
+disp(r_DS,"r_DS (ohm)") \ No newline at end of file