summaryrefslogtreecommitdiff
path: root/1076/CH16/EX16.12
diff options
context:
space:
mode:
Diffstat (limited to '1076/CH16/EX16.12')
-rwxr-xr-x1076/CH16/EX16.12/16_12.sce20
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)