summaryrefslogtreecommitdiff
path: root/1223/CH10/EX10.9
diff options
context:
space:
mode:
Diffstat (limited to '1223/CH10/EX10.9')
-rwxr-xr-x1223/CH10/EX10.9/Ex10_9.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1223/CH10/EX10.9/Ex10_9.sce b/1223/CH10/EX10.9/Ex10_9.sce
new file mode 100755
index 000000000..070731e28
--- /dev/null
+++ b/1223/CH10/EX10.9/Ex10_9.sce
@@ -0,0 +1,20 @@
+clear;
+clc;
+//Example 10.9
+Idss1=2;
+Idss2=1;
+Vp1=-1.5;
+Vp2=Vp1;
+//lambda=y
+y1=0.05;
+y2=y1;
+V2=-5;
+Vds=1.5;
+Vsmin=Vds+V2;
+printf('\nminimum value of Vs=%.2f V\n',Vsmin)
+Io=Idss2*(1+y1*Vds);
+printf('\noutput current=%.2f mA\n',Io)
+Vgs1=(1-sqrt(Io/Idss1))*Vp1;
+printf('\ngate to source voltage of Q1=%.2f V\n',Vgs1)
+V1=Vgs1+Vsmin;
+printf('\nV1=%.2f V\n',V1)