summaryrefslogtreecommitdiff
path: root/181/CH7/EX7.37/example7_37.sce
diff options
context:
space:
mode:
Diffstat (limited to '181/CH7/EX7.37/example7_37.sce')
-rwxr-xr-x181/CH7/EX7.37/example7_37.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/181/CH7/EX7.37/example7_37.sce b/181/CH7/EX7.37/example7_37.sce
new file mode 100755
index 000000000..fdb34f8a3
--- /dev/null
+++ b/181/CH7/EX7.37/example7_37.sce
@@ -0,0 +1,21 @@
+// Find Vgs,Vp
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 7-37 in page 340
+
+clear; clc; close;
+
+// Given data
+Idss=12; // Drain-source current in mA
+Vgs_off=-6; // Gate-source voltage when FET is off
+
+// Calculation
+Vgs=6*(sqrt(5/12)-1);
+Vp=Vgs_off;
+printf("(a)Vgs = %0.2f V\n(b)Vp = -Vgs(off) = 6V",Vgs);
+
+// Result
+// (a) Vgs = -2.13 V
+// (b) Vp = 6 V \ No newline at end of file