summaryrefslogtreecommitdiff
path: root/3754/CH3/EX3.6/3_6.sce
blob: 9bcef420caa58807d49553046e0f9b7ef84625a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clear//

//Variables

p = 2.83 * 10**-8    //Resistivity (in ohm-meter)
w = 0.5              //width (in meter)
t = 2 * 10**-3       //thickness (in meter)
l = 1                //length (in meter)

//Calculation

A = w * t            //Area of cross-section (in metersquare)
R = p*l/A            //Resistance (in ohm)

//Result

printf("\n The resistance between left end and right end is  %0.3f  micro-ohm.",R * 10**6)