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 /2075/CH5/EX5.1 | |
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 '2075/CH5/EX5.1')
-rwxr-xr-x | 2075/CH5/EX5.1/pe5_1.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2075/CH5/EX5.1/pe5_1.sce b/2075/CH5/EX5.1/pe5_1.sce new file mode 100755 index 000000000..f91aad343 --- /dev/null +++ b/2075/CH5/EX5.1/pe5_1.sce @@ -0,0 +1,13 @@ +//example 5.1
+clc; funcprot(0);
+clf()
+//initialization of variable
+Vth=3.6;
+Vgs=4;//voltage
+//volt change beyond 3.6 causes a major increase in Id as it is cut off voltage
+printf('Id=0 from 0 to 2 so not shown in the graph')
+x=linspace(2,3.6,300);
+y=(-2.5*(x-3.6))^.5;
+plot(x,y)
+xtitle('Vgs vs Id','Vgs','Id');
+clear()
|