summaryrefslogtreecommitdiff
path: root/1223/CH5/EX5.19/Ex5_19.sce
diff options
context:
space:
mode:
Diffstat (limited to '1223/CH5/EX5.19/Ex5_19.sce')
-rwxr-xr-x1223/CH5/EX5.19/Ex5_19.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1223/CH5/EX5.19/Ex5_19.sce b/1223/CH5/EX5.19/Ex5_19.sce
new file mode 100755
index 000000000..29d28da58
--- /dev/null
+++ b/1223/CH5/EX5.19/Ex5_19.sce
@@ -0,0 +1,18 @@
+clear;
+clc;
+//Example 5.19
+Idss=2.5;
+Vp=2.5;
+I_D=0.8;
+//I_D=Iq=0.8*10^-3=(Vd-(-9))/Rd
+Vd=0.8*4-9;
+printf('\nVd =%.2fV\n',Vd)
+//I_D=Idss*(1-Vgs/Vp)^2;
+Vgs=(1-sqrt(I_D/Idss))*Vp;
+printf('\nVgs =%.2fV\n',Vgs)
+Vs=1-Vgs;
+printf('\nVs=%.2f V\n',Vs)
+Vsd=Vs-Vd;
+printf('\nVsd=%.2f V\n',Vsd)
+Vp-Vgs
+//since Vsd>Vp-Vgs JFET is biased in saturation