diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /69/CH6 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '69/CH6')
-rwxr-xr-x | 69/CH6/EX6.1/6_1.jpg | bin | 0 -> 13510 bytes | |||
-rwxr-xr-x | 69/CH6/EX6.1/6_1.sce | 22 | ||||
-rwxr-xr-x | 69/CH6/EX6.2/6_2.jpg | bin | 0 -> 13392 bytes | |||
-rwxr-xr-x | 69/CH6/EX6.2/6_2.sce | 21 | ||||
-rwxr-xr-x | 69/CH6/EX6.3/6_3.sce | 22 | ||||
-rwxr-xr-x | 69/CH6/EX6.4/6_4.sce | 30 |
6 files changed, 95 insertions, 0 deletions
diff --git a/69/CH6/EX6.1/6_1.jpg b/69/CH6/EX6.1/6_1.jpg Binary files differnew file mode 100755 index 000000000..1b9e11057 --- /dev/null +++ b/69/CH6/EX6.1/6_1.jpg diff --git a/69/CH6/EX6.1/6_1.sce b/69/CH6/EX6.1/6_1.sce new file mode 100755 index 000000000..d8889ee48 --- /dev/null +++ b/69/CH6/EX6.1/6_1.sce @@ -0,0 +1,22 @@ +clear; clc; close;
+
+Idss = 12;
+Vp = -4;
+//point 1
+Vgs1 = Vp/2;
+Id1 = Idss/4;
+//point 2
+Id2 = Idss/2;
+Vgs2 = 0.3*Vp;
+
+
+x = [-4 -2 -1.2 0];
+y = [0 3 6 12];
+//plot2d(x,y);
+yi=smooth([x;y],0.1);
+a = gca();
+a.thickness = 2;
+a.y_location = 'right';
+a.x_label.text = 'Vgs';
+a.y_label.text = 'Id(mA)';
+plot2d(yi(1,:)',yi(2,:)',[3]);
diff --git a/69/CH6/EX6.2/6_2.jpg b/69/CH6/EX6.2/6_2.jpg Binary files differnew file mode 100755 index 000000000..1c359e8dd --- /dev/null +++ b/69/CH6/EX6.2/6_2.jpg diff --git a/69/CH6/EX6.2/6_2.sce b/69/CH6/EX6.2/6_2.sce new file mode 100755 index 000000000..9e81d3791 --- /dev/null +++ b/69/CH6/EX6.2/6_2.sce @@ -0,0 +1,21 @@ +clear; clc; close;
+
+Idss = 8;
+Vp = 4;
+//point 1
+Vgs1 = Vp/2;
+Id1 = Idss/4;
+//point 2
+Id2 = Idss/2;
+Vgs2 = 0.3*Vp;
+
+
+x = [0 1.2 2 4];
+y = [8 4 2 0];
+yi=smooth([x;y],0.1);
+a = gca();
+a.thickness = 2;
+a.y_location = 'left';
+a.x_label.text = 'Vgs';
+a.y_label.text = 'Id(mA)';
+plot2d(yi(1,:)',yi(2,:)',[3]);
diff --git a/69/CH6/EX6.3/6_3.sce b/69/CH6/EX6.3/6_3.sce new file mode 100755 index 000000000..46cc5c128 --- /dev/null +++ b/69/CH6/EX6.3/6_3.sce @@ -0,0 +1,22 @@ +clear; clc; close;
+
+Idss = 10;
+Vp = -4;
+//point 1
+Vgs1 = Vp/2;
+Id1 = Idss/4;
+//point 2
+Id2 = Idss/2;
+Vgs2 = 0.3*Vp;
+Vgs3 = 1;
+Id = Idss(1-Vgs3/Vp)^2;
+x = [-4 -2 -1.2 1];
+y = [0 2.5 5 15.63];
+
+yi=smooth([x;y],0.1);
+a = gca();
+a.thickness = 2;
+a.y_location = 'middle';
+a.x_label.text = 'Vgs';
+a.y_label.text = 'Id(mA)';
+plot2d(yi(1,:)',yi(2,:)',[3]);
diff --git a/69/CH6/EX6.4/6_4.sce b/69/CH6/EX6.4/6_4.sce new file mode 100755 index 000000000..3b1a58dca --- /dev/null +++ b/69/CH6/EX6.4/6_4.sce @@ -0,0 +1,30 @@ +clear; clc; close;
+
+Id_on = 3*10^(-3);
+Vgs_on = 10;
+Vgs_th = 3;
+Vt = 3;
+
+k = Id_on/(Vgs_on-Vgs_th)^2;
+disp(k,'resulting value of k(A/V^2) is : ');
+
+Vgs1 = 5;
+Id1 = k*(Vgs1-Vt)^2;
+Vgs2 = 8;
+Id2 = k*(Vgs2-Vt)^2;
+Vgs3 = 10;
+Id3 = k*(Vgs3-Vt)^2;
+Vgs4 = 12;
+Id4 = k*(Vgs4-Vt)^2;
+Vgs5 = 14;
+Id5 = k*(Vgs5-Vt)^2;
+
+x = [Vt Vgs1 Vgs2 Vgs3 Vgs4 Vgs5];
+y = [0 Id1 Id2 Id3 Id4 Id5];
+yi=smooth([x;y],0.1);
+a = gca();
+a.thickness = 2;
+a.y_location = 'left';
+a.x_label.text = 'Vgs';
+a.y_label.text = 'Id(A)';
+plot2d(yi(1,:)',yi(2,:)',[3]);
|