summaryrefslogtreecommitdiff
path: root/3020/CH16/EX16.11/ex16_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '3020/CH16/EX16.11/ex16_11.sce')
-rwxr-xr-x3020/CH16/EX16.11/ex16_11.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3020/CH16/EX16.11/ex16_11.sce b/3020/CH16/EX16.11/ex16_11.sce
new file mode 100755
index 000000000..0fb5cb71f
--- /dev/null
+++ b/3020/CH16/EX16.11/ex16_11.sce
@@ -0,0 +1,7 @@
+clc;
+clear all;
+rho1 = 1.7e-8; // Resistivity of copper wire at room temperature
+T1 = 973; // Temperature in kelvin
+T2 = 300; // Room temperature in kelvin
+rho2 = rho1*(sqrt(T1)/sqrt(T2));
+disp('Ohm.meter',rho2,'Resistivity of copper wire is')