blob: 912beb4f55faf0e017a5927b00df4ecb89df8865 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Calculating resistance.
clc;
clear;
L=2.5*(10^-2); // Length of rectangular cross-section.
B=0.05*(10^-2);// Breadth of rectangular cross-section.
A=L*B;
l=1*(10^3);
p=1.724*(10^-8);
R=p*l/A;
disp('ohms',R,'The Resistance of the copper strip =')
|