summaryrefslogtreecommitdiff
path: root/2345/CH15/EX15.15/Ex15_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '2345/CH15/EX15.15/Ex15_15.sce')
-rwxr-xr-x2345/CH15/EX15.15/Ex15_15.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2345/CH15/EX15.15/Ex15_15.sce b/2345/CH15/EX15.15/Ex15_15.sce
new file mode 100755
index 000000000..ae0c135a8
--- /dev/null
+++ b/2345/CH15/EX15.15/Ex15_15.sce
@@ -0,0 +1,11 @@
+//Finding resistance
+//Example 15.15(pg. 401)
+clc
+clear
+lab=10//la=10*lb ratio of length of A to length of B.
+Aab=1/2//Aa=1/2*Ab ratio of area of A to area of B
+RHOab=1/2//RHOa=2*RHOb ratio of resistivity of A to resistivity of B
+Ra=2//resistance of A in ohm
+Rb=(Ra*Aab)/(lab*RHOab)//resistance of B in ohm
+//Since Ra=RHOa*la/Aa and Rb=RHOb*lb/Ab so from ratio of two we get Rb
+printf('Thus resistance of resistor B is %2.2f ohm',Rb)