From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2075/CH5/EX5.1/pe5_1.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 2075/CH5/EX5.1/pe5_1.sce (limited to '2075/CH5/EX5.1') 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() -- cgit