summaryrefslogtreecommitdiff
path: root/2582/CH4/EX4.3
diff options
context:
space:
mode:
Diffstat (limited to '2582/CH4/EX4.3')
-rwxr-xr-x2582/CH4/EX4.3/Ex4_3.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2582/CH4/EX4.3/Ex4_3.sce b/2582/CH4/EX4.3/Ex4_3.sce
new file mode 100755
index 000000000..d38f01e5c
--- /dev/null
+++ b/2582/CH4/EX4.3/Ex4_3.sce
@@ -0,0 +1,21 @@
+//Ex 4.3
+clc;clear;close;
+VDD=3;//V(Supply Voltage)
+VOH=VDD;//V
+VOL=0;//V
+Vth=VDD/2;//V
+VIL=VDD/2;//V
+VIH=VDD/2;//V
+NMH=VOH-VIH;//V
+NML=VIL-VOL;//V
+disp(Vth,"Vth(V)");
+disp(VIL,"VIL(V)");
+disp(VIH,"VIH(V)");
+disp(VOL,"VOL(V)");
+disp(VOH,"VOH(V)");
+disp(NML,"NML(V)");
+disp(NMH,"NMH(V)");
+//Gain=(VOH-VOL)/(VIH-VIL)=infinity as VIH=VIL;//Gain in the transition region
+Gain=%inf;//
+disp(Gain,"Gain in the transition region");
+//Answer in the book is wrong for the gain.