summaryrefslogtreecommitdiff
path: root/2459/CH22/EX22.10/Ex22_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '2459/CH22/EX22.10/Ex22_10.sce')
-rw-r--r--2459/CH22/EX22.10/Ex22_10.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2459/CH22/EX22.10/Ex22_10.sce b/2459/CH22/EX22.10/Ex22_10.sce
new file mode 100644
index 000000000..f839457b6
--- /dev/null
+++ b/2459/CH22/EX22.10/Ex22_10.sce
@@ -0,0 +1,14 @@
+//chapter22
+//example22.10
+//page498
+
+V_DD=30 // V
+I_D=2.5d-3 // A
+R_D=5d3 // ohm
+R_S=200 // ohm
+
+V_DS=V_DD-I_D*(R_D+R_S)
+V_GS=-I_D*R_S
+
+printf("V_DS = %.3f V \n",V_DS)
+printf("V_GS = %.3f V \n",V_GS)