summaryrefslogtreecommitdiff
path: root/608/CH3/EX3.05
diff options
context:
space:
mode:
Diffstat (limited to '608/CH3/EX3.05')
-rwxr-xr-x608/CH3/EX3.05/3_05.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/608/CH3/EX3.05/3_05.sce b/608/CH3/EX3.05/3_05.sce
new file mode 100755
index 000000000..764985d56
--- /dev/null
+++ b/608/CH3/EX3.05/3_05.sce
@@ -0,0 +1,12 @@
+//Problem 3.05: Calculate the cross-sectional area, in mm2, of a piece of copper wire, 40 m in length and having a resistance of 0.25 ohms. Take the resistivity of copper as 0.02E-6ohm m.
+
+//initializing the variables:
+R = 0.25; // in ohms
+L = 40; // in m
+p = 0.02E-6; // in ohm m
+
+//calculation:
+A = p*L*1E6/R
+
+printf("\n\nResult\n\n")
+printf("\nC.S.A %.1f Ohms\n",A)