diff options
Diffstat (limited to '2345/CH15/EX15.38')
-rwxr-xr-x | 2345/CH15/EX15.38/Ex15_38.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2345/CH15/EX15.38/Ex15_38.sce b/2345/CH15/EX15.38/Ex15_38.sce new file mode 100755 index 000000000..b28bf1fb8 --- /dev/null +++ b/2345/CH15/EX15.38/Ex15_38.sce @@ -0,0 +1,15 @@ +//Finding resistance
+//Example 15.38(pg. 417)
+clc
+clear
+//(a)Finding resistance between 2 ends
+l=1//length in m
+a=2.5*(10^-2)*0.05*(10^-2)//area of cross section in m^2
+rho=1.724*(10^-8)//specific resistance of copper in ohm-m
+R=rho*l/a//resistance of the strip in ohm
+//(b) Finding resistance between 2 faces
+l1=0.05*(10^-2)//length in m
+a1=2.5*(10^-2)*1//area of cross section in m^2
+R1=rho*l1/a1//resistance in ohm
+printf('Thus the resistance of the strip is %e ohms\n ',R)
+printf('And the resistance between the faces is %e ohms',R1)
|