summaryrefslogtreecommitdiff
path: root/3769/CH5/EX5.14/Ex5_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH5/EX5.14/Ex5_14.sce')
-rw-r--r--3769/CH5/EX5.14/Ex5_14.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3769/CH5/EX5.14/Ex5_14.sce b/3769/CH5/EX5.14/Ex5_14.sce
new file mode 100644
index 000000000..277dc4ba3
--- /dev/null
+++ b/3769/CH5/EX5.14/Ex5_14.sce
@@ -0,0 +1,16 @@
+clear
+//Given
+r=1
+r1=0.5
+R1=0.15 //ohm
+
+//Calculation
+//
+A1=(%pi/4.0)*r**2
+A2=(%pi/4.0)*r1**2
+l=A1/A2
+R=l*l
+R2=R*R1
+
+//Result
+printf("\n New resistance of the wire is %0.3f ohm", R2)