summaryrefslogtreecommitdiff
path: root/3020/CH16/EX16.11/ex16_11.sce
blob: 0fb5cb71f362af8757379e3db9c1db8c4314b38b (plain)
1
2
3
4
5
6
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')