summaryrefslogtreecommitdiff
path: root/3850/CH32/EX32.3/Ex32_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3850/CH32/EX32.3/Ex32_3.sce')
-rw-r--r--3850/CH32/EX32.3/Ex32_3.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3850/CH32/EX32.3/Ex32_3.sce b/3850/CH32/EX32.3/Ex32_3.sce
new file mode 100644
index 000000000..eb4100bb6
--- /dev/null
+++ b/3850/CH32/EX32.3/Ex32_3.sce
@@ -0,0 +1,18 @@
+
+//To Calculate the Resistance of an aluminium wire
+
+//Example 32.3
+
+clear;
+
+clc;
+
+rho=2.6*10^-8;//Resistivity of Aluminium in ohm-metre
+
+l=0.50;//Length of Aluminium wire in metres
+
+A=2*10^-6;//Cross sectional area of aluminium wire in metre^2
+
+R=rho*l/A;//Formula for finding the resistance of an aluminium wire
+
+printf("Resistance of the aluminium wire= %f ohm",R);