summaryrefslogtreecommitdiff
path: root/2102/CH6/EX6.1/exa_6_1.sce
blob: 368eb0163d48fce9351255b1db2278bb42b18809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Exa 6.1
clc;
clear;
close;
// Given data
I_DSS= 10;// in mA
V_P= -4;// in V
 V_GS=[-4:0.1:0];
//V_GS= -3;
I_D= I_DSS*(1-V_GS/V_P)^2
plot(V_GS,I_D);
xlabel("V_GS in volts");
ylabel("I_D in mA")
title("The transfer curve")
disp("Curve is shown in figure")