summaryrefslogtreecommitdiff
path: root/2240/CH8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2240/CH8
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 '2240/CH8')
-rwxr-xr-x2240/CH8/EX7.1/EX7_1.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2240/CH8/EX7.1/EX7_1.sce b/2240/CH8/EX7.1/EX7_1.sce
new file mode 100755
index 000000000..286136d0b
--- /dev/null
+++ b/2240/CH8/EX7.1/EX7_1.sce
@@ -0,0 +1,17 @@
+// Grob's Basic Electronics 11e
+// Chapter No. 07
+// Example No. 7_1
+clc; clear;
+// Three 50 Ohms resistors R1, R2 and R3 are in series across an applied voltage of 180 V. How much is the IR voltage drop across each resistor?
+
+// Given data
+
+R1 = 50*10^3; // Resistor 1=50k Ohms
+R2 = 50*10^3; // Resistor 2=50k Ohms
+R3 = 50*10^3; // Resistor 3=50k Ohms
+Vt = 180; // Applied Voltage=180 Volts
+
+R = R1 // R = R1 = R2 = R3
+Rt = R1+R2+R3;
+V = Vt*(R/Rt);
+disp (V,'The Voltage Drop across each Resistor in Volts')