summaryrefslogtreecommitdiff
path: root/181/CH7/EX7.38
diff options
context:
space:
mode:
Diffstat (limited to '181/CH7/EX7.38')
-rwxr-xr-x181/CH7/EX7.38/example7_38.sce26
-rwxr-xr-x181/CH7/EX7.38/example7_38.txt2
2 files changed, 28 insertions, 0 deletions
diff --git a/181/CH7/EX7.38/example7_38.sce b/181/CH7/EX7.38/example7_38.sce
new file mode 100755
index 000000000..d10a05e44
--- /dev/null
+++ b/181/CH7/EX7.38/example7_38.sce
@@ -0,0 +1,26 @@
+// Find the values of Rs and Rd
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 7-38 in page 341
+
+clear; clc; close;
+
+// Given data
+Id=1.5*10^-3; // Drain current in mA
+Vds=10; // Drain-source voltage in V
+Idss=5*10^-3; // Drain-source current in mA
+Vp=-2; // Pinch off voltage in V
+Vdd=20; // Drain voltage in V
+
+// Calculation
+Vgs=2*(sqrt(1.5/5)-1);
+Vs=-Vgs;
+Rs=Vs/Id;
+Rd=(20-10.9)/Id;
+printf("Rs = %0.1e ohms\nRd = %0.2e ohms",Rs,Rd);
+
+// Result
+// Rs = 0.6 K-ohms
+// Rd = 6.06 K-ohms \ No newline at end of file
diff --git a/181/CH7/EX7.38/example7_38.txt b/181/CH7/EX7.38/example7_38.txt
new file mode 100755
index 000000000..b7ddd3cab
--- /dev/null
+++ b/181/CH7/EX7.38/example7_38.txt
@@ -0,0 +1,2 @@
+Rs = 6.0e+002 ohms
+Rd = 6.07e+003 ohms \ No newline at end of file