summaryrefslogtreecommitdiff
path: root/317/CH13/EX13.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /317/CH13/EX13.10
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 '317/CH13/EX13.10')
-rwxr-xr-x317/CH13/EX13.10/example10.sce26
-rwxr-xr-x317/CH13/EX13.10/example10.txt2
2 files changed, 28 insertions, 0 deletions
diff --git a/317/CH13/EX13.10/example10.sce b/317/CH13/EX13.10/example10.sce
new file mode 100755
index 000000000..4a51f58d5
--- /dev/null
+++ b/317/CH13/EX13.10/example10.sce
@@ -0,0 +1,26 @@
+// find drain current,voltage between drain and ground
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 13-10, page 443
+
+clear; clc; close;
+
+// Given data
+Vdd=15;// in volts
+Rd=1*10^3;// drain resistance in ohms
+Rs=3*10^3;// source resistance in ohms
+
+// Calculations
+// 15 Volts occur across source resistor
+Vs=15;// voltage across source resistor in volts
+Id=Vs/Rs;// drain current in amperes
+Vd=Vdd-(Id*Rd);// drain voltage in volts
+disp("Amperes",Id,"Drain current=")
+disp("Volts",Vd,"Drain Voltage=")
+
+
+// Result
+// Drain current is 5 mAmperes
+// Voltage between drain and ground is 10 Volts \ No newline at end of file
diff --git a/317/CH13/EX13.10/example10.txt b/317/CH13/EX13.10/example10.txt
new file mode 100755
index 000000000..3d4abeee9
--- /dev/null
+++ b/317/CH13/EX13.10/example10.txt
@@ -0,0 +1,2 @@
+Drain current is 5 mAmperes
+Voltage between drain and ground is 10 Volts \ No newline at end of file