summaryrefslogtreecommitdiff
path: root/3809/CH17/EX17.3
diff options
context:
space:
mode:
Diffstat (limited to '3809/CH17/EX17.3')
-rw-r--r--3809/CH17/EX17.3/EX17_3.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3809/CH17/EX17.3/EX17_3.sce b/3809/CH17/EX17.3/EX17_3.sce
new file mode 100644
index 000000000..e865e5b54
--- /dev/null
+++ b/3809/CH17/EX17.3/EX17_3.sce
@@ -0,0 +1,18 @@
+//Chapter 17, Example 17.3
+clc
+//Initialisation
+VDD=15 //voltage
+Vq=10 //quiescent output voltage
+VGS=3 //voltage
+RD=2.5*10**3 //resistance in Ohm
+
+//Calculation
+VR=VDD-Vq //voltage
+ID=VR/RD //quiescent drain current
+Rs=VGS/ID //resistance in ohm
+
+
+//Results
+printf("Rs = %.1f kOhm\n",Rs/1000)
+printf("ID = %d mA\n",ID*1000)
+printf("VR = %d V",VR)