diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1076/CH16/EX16.12 | |
download | Scilab-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.12')
-rwxr-xr-x | 1076/CH16/EX16.12/16_12.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/1076/CH16/EX16.12/16_12.sce b/1076/CH16/EX16.12/16_12.sce new file mode 100755 index 000000000..8d744c5c3 --- /dev/null +++ b/1076/CH16/EX16.12/16_12.sce @@ -0,0 +1,20 @@ +clear
+clc
+
+V=250
+
+L=[
+150 200 280 320 390 450 500
+20 40 35 25 10 20 30
+]
+
+r=.1/(2*500)
+
+D=L(1,:)
+I=L(2,:)'
+
+dv=2*r*D*I
+
+Ve=V-dv
+
+mprintf("Voltage at far end is %.2f V", Ve)
|