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 /181/CH6/EX6.16 | |
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 '181/CH6/EX6.16')
-rwxr-xr-x | 181/CH6/EX6.16/example6_16.sce | 25 | ||||
-rwxr-xr-x | 181/CH6/EX6.16/example6_16.txt | 3 |
2 files changed, 28 insertions, 0 deletions
diff --git a/181/CH6/EX6.16/example6_16.sce b/181/CH6/EX6.16/example6_16.sce new file mode 100755 index 000000000..cb9458ce9 --- /dev/null +++ b/181/CH6/EX6.16/example6_16.sce @@ -0,0 +1,25 @@ +// Determine Rd
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 6-16 in page 289
+
+clear; clc; close;
+
+// Given data
+K=0.25*10^-3; // Constant in mA/V^2
+Vt=2; // Voltage given in V
+Vdd=16; // Drain voltage in V
+Vgg=[4 10]; // Gate voltage values in V
+
+// Calculation
+for i=1:2
+ id=K*(Vgg(i)-2)^2;
+ rd=(16-(Vgg(i)-2))/id;
+ printf("Rd when Vgg is %d V = %0.1e ohm\n",Vgg(i),rd);
+end
+
+// Result
+// (a) Rd = 14 K-ohm
+// (b) 500 ohm
\ No newline at end of file diff --git a/181/CH6/EX6.16/example6_16.txt b/181/CH6/EX6.16/example6_16.txt new file mode 100755 index 000000000..858649f78 --- /dev/null +++ b/181/CH6/EX6.16/example6_16.txt @@ -0,0 +1,3 @@ + Rd when Vgg is 4 V = 1.4e+004 ohm
+Rd when Vgg is 10 V = 5.0e+002 ohm
+
\ No newline at end of file |