summaryrefslogtreecommitdiff
path: root/181/CH8/EX8.1/example8_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /181/CH8/EX8.1/example8_1.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 '181/CH8/EX8.1/example8_1.sce')
-rwxr-xr-x181/CH8/EX8.1/example8_1.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/181/CH8/EX8.1/example8_1.sce b/181/CH8/EX8.1/example8_1.sce
new file mode 100755
index 000000000..ed7092e22
--- /dev/null
+++ b/181/CH8/EX8.1/example8_1.sce
@@ -0,0 +1,27 @@
+// Calculate the Gate Source Resistance
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 8-1 in page 376
+
+clear; clc; close;
+
+// Given Data
+P=0.5; // Value of Allowable Gate Power Dissipation in watt
+Es=14; // Trigger Source Voltage in V
+slope=130; // Slope of Gate-Cathode Characteristic line
+
+// Calculations
+Ig=sqrt(P/slope);
+Vg=slope*Ig;
+Rs=(Es-Vg)/Ig;
+
+printf("(a)The value of Gate Resistance for the Circuit is %0.2e ohm \n",Rs);
+printf("(b)The value of the Gate Voltage is %0.2e V \n",Vg);
+printf("(c)The value of the Gate Current is %0.2e A \n",Ig);
+
+// Results
+// (a) The value of Gate Resistance for the Circuit is 95.3 ohm
+// (b) The value of the Gate Voltage is 8.06 V
+// (c) The value of the Gate Current is 62 mA \ No newline at end of file