summaryrefslogtreecommitdiff
path: root/1076/CH16/EX16.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1076/CH16/EX16.5
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 '1076/CH16/EX16.5')
-rwxr-xr-x1076/CH16/EX16.5/16_5.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1076/CH16/EX16.5/16_5.sce b/1076/CH16/EX16.5/16_5.sce
new file mode 100755
index 000000000..41d04e27f
--- /dev/null
+++ b/1076/CH16/EX16.5/16_5.sce
@@ -0,0 +1,19 @@
+clear
+clc
+
+l=400
+l1=100
+l2=250
+l3=400
+r=.25/1000
+
+I1=100
+I2=120
+I3=80
+
+V=240
+
+dv=r*((l1*I1)+(l2*I2)+(l3*I3))
+Ve=V-dv
+
+mprintf("\nVoltage at end is %.0f V, drop = %.0f V", Ve, dv)