diff options
Diffstat (limited to '181/CH6/EX6.2')
-rwxr-xr-x | 181/CH6/EX6.2/example6_2.sce | 26 | ||||
-rwxr-xr-x | 181/CH6/EX6.2/example6_2.txt | 2 |
2 files changed, 28 insertions, 0 deletions
diff --git a/181/CH6/EX6.2/example6_2.sce b/181/CH6/EX6.2/example6_2.sce new file mode 100755 index 000000000..4e87880c6 --- /dev/null +++ b/181/CH6/EX6.2/example6_2.sce @@ -0,0 +1,26 @@ +// Find Id and Vds
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 6-2 in page 274
+
+clear; clc; close;
+
+// Given data
+Ids=12*10^-3; // Drain current in mA
+Vp=-4; // Peak voltage in V
+Vgs=-2; // Gate to source voltage in V
+Rd=3*10^3; // Drain resistance in K-ohms
+Vcc=15; // Supply voltage in V
+
+// Calculation
+id=Ids*(1-(Vgs/Vp))^2;
+Vds=-id*Rd+Vcc;
+
+printf("(a)Id = %0.0e A\n",id);
+printf("(b)Vds = %0.0f V",Vds);
+
+// Result
+// (a) Id = 3mA
+// (b) Vds = 6V
\ No newline at end of file diff --git a/181/CH6/EX6.2/example6_2.txt b/181/CH6/EX6.2/example6_2.txt new file mode 100755 index 000000000..95b2b16dc --- /dev/null +++ b/181/CH6/EX6.2/example6_2.txt @@ -0,0 +1,2 @@ +(a)Id = 3e-003 A
+(b)Vds = 6 V
\ No newline at end of file |