summaryrefslogtreecommitdiff
path: root/887/CH12/EX12.3/12_3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /887/CH12/EX12.3/12_3.sce
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 '887/CH12/EX12.3/12_3.sce')
-rwxr-xr-x887/CH12/EX12.3/12_3.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/887/CH12/EX12.3/12_3.sce b/887/CH12/EX12.3/12_3.sce
new file mode 100755
index 000000000..f1a783023
--- /dev/null
+++ b/887/CH12/EX12.3/12_3.sce
@@ -0,0 +1,16 @@
+clc
+//initialisation of variables
+VGSQ= 3.5 //V
+VDSQ= 10 //V
+id1= 10.7 //mA
+id2= 4.7 //mA
+dvgs= 1 //V
+id3= 8 //mA
+id4= 6.7 //mA
+vds1= 14 //V
+vds2= 4 //V
+//CALCULATIONS
+gm= (id1-id2)/dvgs
+rd= (vds1-vds2)*10^3/(id3-id4)
+//RESULTS
+printf ('rd = %.1e ohms',rd)