summaryrefslogtreecommitdiff
path: root/2345/CH15/EX15.38/Ex15_38.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2345/CH15/EX15.38/Ex15_38.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2345/CH15/EX15.38/Ex15_38.sce')
-rwxr-xr-x2345/CH15/EX15.38/Ex15_38.sce15
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)