summaryrefslogtreecommitdiff
path: root/3769/CH5/EX5.13/Ex5_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH5/EX5.13/Ex5_13.sce')
-rw-r--r--3769/CH5/EX5.13/Ex5_13.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3769/CH5/EX5.13/Ex5_13.sce b/3769/CH5/EX5.13/Ex5_13.sce
new file mode 100644
index 000000000..2006f5a01
--- /dev/null
+++ b/3769/CH5/EX5.13/Ex5_13.sce
@@ -0,0 +1,14 @@
+clear
+//Given
+R1=4.5
+A1=1
+A2=2.0
+l2=3
+l1=1.0
+
+//Calculation
+R=(l2/l1)*(A1/A2)
+R2=R*R1
+
+//Result
+printf("\n The resistance of another wire is %0.3f ohm", R2)