summaryrefslogtreecommitdiff
path: root/3745/CH1/EX1.30/Ex1_30.sce
diff options
context:
space:
mode:
Diffstat (limited to '3745/CH1/EX1.30/Ex1_30.sce')
-rw-r--r--3745/CH1/EX1.30/Ex1_30.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3745/CH1/EX1.30/Ex1_30.sce b/3745/CH1/EX1.30/Ex1_30.sce
new file mode 100644
index 000000000..c60cc1cd4
--- /dev/null
+++ b/3745/CH1/EX1.30/Ex1_30.sce
@@ -0,0 +1,19 @@
+// Ex 30 Page 373
+
+clc;clear;close;
+// Given
+VP=-2;//V
+IDSS=1.75/1000;//A
+VDD=24;//V
+ID=1/1000;//A
+VP=0.2;//V (pinch off voltage)
+
+VGS=(1-sqrt(ID/IDSS))*VP;//V
+gmo=-2*IDSS/VP;//S
+gm=gmo*(1-VGS/VP);//S
+Rs=-VGS/ID;//ohm
+
+printf("VGS=%.2f V",VGS)
+printf("\n gm = %.2f mS",gm*1000)
+printf("\n Rs = %.f ohm",Rs)
+//Ans are wrong in the book.