summaryrefslogtreecommitdiff
path: root/147/CH9/EX9.6/Example9_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '147/CH9/EX9.6/Example9_6.sce')
-rw-r--r--147/CH9/EX9.6/Example9_6.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/147/CH9/EX9.6/Example9_6.sce b/147/CH9/EX9.6/Example9_6.sce
new file mode 100644
index 000000000..be8a832c8
--- /dev/null
+++ b/147/CH9/EX9.6/Example9_6.sce
@@ -0,0 +1,17 @@
+//Drain supply Vdd, Drain current Idq, Source to gate voltage Vgsq
+close();
+clear;
+clc;
+Vdd = 8;//V
+Vgsq = 4;//V
+Idq = 1*10^(-3);//A
+R1 = 5*10^(6);//ohm
+R2 = 3*10^(6);//ohm
+//By locating Q point
+Vdsq = 6;
+Vgg = R1*Vdd/(R1+R2);
+//By applying KVL aound the gate-source loop
+Rs = (Vgg - Vgsq)/Idq;
+//Using KVL around drain-source loop
+Rd = (Vdd-Vdsq-Idq*Rs)/Idq;
+mprintf('Vdsq = %0.0f V\nVgg = %0.0f V\nRs = %0.0f k ohm \nRd = %0.0f k ohm ',Vdsq,Vgg,Rs/1000,Rd/1000); \ No newline at end of file