diff options
Diffstat (limited to '1223/CH5/EX5.11/Ex5_11.sce')
-rwxr-xr-x | 1223/CH5/EX5.11/Ex5_11.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1223/CH5/EX5.11/Ex5_11.sce b/1223/CH5/EX5.11/Ex5_11.sce new file mode 100755 index 000000000..48dee6867 --- /dev/null +++ b/1223/CH5/EX5.11/Ex5_11.sce @@ -0,0 +1,15 @@ +clear;
+clc;
+//Example 5.11
+Vtnd=1;
+Vtnl=-2;
+Knd=50;
+Knl=10;
+Vt=5;
+Vo=poly(0,'Vo')
+p=poly([4 -40 5],'Vo','c')
+printf('\npossible solutions ::%.2f V\n',roots(p))
+//since output voltage cannot be greater than supply voltage 5V
+Vo=0.1;//(V)
+I_D=Knl*(-Vtnl)^2;
+printf('\ndrain current=%.3f microA\n',I_D)
|