summaryrefslogtreecommitdiff
path: root/3769/CH5/EX5.12/Ex5_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH5/EX5.12/Ex5_12.sce')
-rw-r--r--3769/CH5/EX5.12/Ex5_12.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3769/CH5/EX5.12/Ex5_12.sce b/3769/CH5/EX5.12/Ex5_12.sce
new file mode 100644
index 000000000..2bfde0cde
--- /dev/null
+++ b/3769/CH5/EX5.12/Ex5_12.sce
@@ -0,0 +1,14 @@
+clear
+//Given
+A1=25.0 //mm**2
+l2=1 //m
+R2=1/58.0
+A2=1
+l1=1000
+
+//Calculation
+R=(l1/l2)*(A2/A1)
+R1=R*R2
+
+//Result
+printf("\n The value of resistance is %0.2f ohm",R1)