summaryrefslogtreecommitdiff
path: root/2102/CH6/EX6.15/exa_6_15.sce
blob: 04ccda31cb585dde588b106d14bf1ff98777723c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Exa 6.15
clc;
clear;
close;
// Given data
I_DSS= 16;// in mA
I_DSS= I_DSS*10^-3;// in A
V_P= -4;// in V
V_DD= 18;// in V
V_GG= 0;// in V
R_D= 500;// in Ω
Rs= R_D;// in Ω
// V_GS= V_GG-V_P*I_D or = I_D= -V_GS/Rs  (as V_GSS= 0)     (i)
// I_D= I_DSS*(1-V_GS/V_P)^2            (ii)
// From (i) and (ii)
// V_GS^2*(1/V_P^2) + V_GS*(1/(I_DSS*Rs)-2/V_P) +1 =0
V_GS= [(1/V_P^2) (1/(I_DSS*Rs)-2/V_P) 1]
V_GS= roots(V_GS);
V_GS= V_GS(2);// since 0>= V_GS >=-4
 I_D= I_DSS*(1-V_GS/V_P)^2;// in A
 V_DS= V_DD-I_D*(R_D+Rs);// in V
disp(I_D*10^3,"The value of I_D in mA is : ") 
disp(V_GS,"The value of V_GS in volts is : ");
disp("Since the value of V_DS is greater than the difference of V_GS and V_P, So the saturation region operation is confirmed ");