summaryrefslogtreecommitdiff
path: root/69/CH8/EX8.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /69/CH8/EX8.4
downloadScilab-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/CH8/EX8.4')
-rwxr-xr-x69/CH8/EX8.4/8_4.jpgbin0 -> 16405 bytes
-rwxr-xr-x69/CH8/EX8.4/8_4.sce26
2 files changed, 26 insertions, 0 deletions
diff --git a/69/CH8/EX8.4/8_4.jpg b/69/CH8/EX8.4/8_4.jpg
new file mode 100755
index 000000000..95aad426c
--- /dev/null
+++ b/69/CH8/EX8.4/8_4.jpg
Binary files differ
diff --git a/69/CH8/EX8.4/8_4.sce b/69/CH8/EX8.4/8_4.sce
new file mode 100755
index 000000000..14bdf700d
--- /dev/null
+++ b/69/CH8/EX8.4/8_4.sce
@@ -0,0 +1,26 @@
+clear; clc; close;
+
+Idss = 8*10^(-3);
+Vp = -4;
+
+gmo = 2*Idss/abs(Vp);
+
+Id1 = 0;
+gm1 = gmo*(sqrt(Id1/Idss));
+Id2 = Idss/4;
+gm2 = gmo*(sqrt(Id2/Idss));
+Id3 = Idss/2;
+gm3 = gmo*(sqrt(Id3/Idss));
+Id4 = Idss;
+gm4 = gmo*(sqrt(Id4/Idss));
+
+x = [Id1 Id2 Id3 Id4];
+y = [gm1 gm2 gm3 gm4];
+yi=smooth([x;y],0.0005);
+a = gca();
+a.thickness = 2;
+a.y_location = 'left';
+a.x_label.text = 'Id(mA)';
+a.y_label.text = 'gm(S)';
+a.title.text = 'gm vs Id';
+plot2d(yi(1,:)',yi(2,:)',[3]);