summaryrefslogtreecommitdiff
path: root/181/CH6/EX6.7
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /181/CH6/EX6.7
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 '181/CH6/EX6.7')
-rwxr-xr-x181/CH6/EX6.7/example6_7.sce31
-rwxr-xr-x181/CH6/EX6.7/example6_7.txt3
2 files changed, 34 insertions, 0 deletions
diff --git a/181/CH6/EX6.7/example6_7.sce b/181/CH6/EX6.7/example6_7.sce
new file mode 100755
index 000000000..378ef574b
--- /dev/null
+++ b/181/CH6/EX6.7/example6_7.sce
@@ -0,0 +1,31 @@
+// Determine Vgs,Id,Vds
+// Determine Vgs,Id,Vds,operating region
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 6-7 in page 277
+
+clear; clc; close;
+
+// Given data
+Ids=8*10^-3; // Drain current in mA
+Vp=-4; // Peak voltage in V
+Vdd=18; // Drain voltage in V
+Rd=8*10^3; // Drain resistance in K-ohms
+
+// Calculation
+vgs1=(-214+sqrt(214^2-(4*63*180)))/(2*63);
+vgs2=(-214-sqrt(214^2-(4*63*180)))/(2*63);
+printf("(a)Vgs = %0.2f V,%0.2f V\n",vgs1,vgs2);
+id1=-vgs1/(1*10^3);
+id2=-vgs2/(1*10^3);
+printf("(b)Id = %0.2e A,%0.2e A\n",id1,id2);
+Vds1=((-9*10^3)*id1)+18;
+Vds2=((-9*10^3)*id2)+18;
+printf("(c)Vds = %0.2f V,%0.2f V",Vds1,Vds2);
+
+// Result
+// (a) Vgs = -1.53 V,-1.86 V
+// (b) Id = 1.53 mA,1.86 mA
+// (c) Vds = 4.23 V,1.26 V \ No newline at end of file
diff --git a/181/CH6/EX6.7/example6_7.txt b/181/CH6/EX6.7/example6_7.txt
new file mode 100755
index 000000000..67b98a135
--- /dev/null
+++ b/181/CH6/EX6.7/example6_7.txt
@@ -0,0 +1,3 @@
+(a)Vgs = -1.53 V,-1.86 V
+(b)Id = 1.53e-003 A,1.86e-003 A
+(c)Vds = 4.21 V,1.22 V \ No newline at end of file