summaryrefslogtreecommitdiff
path: root/1319/CH12/EX12.4/i_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1319/CH12/EX12.4/i_4.sce')
-rw-r--r--1319/CH12/EX12.4/i_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1319/CH12/EX12.4/i_4.sce b/1319/CH12/EX12.4/i_4.sce
new file mode 100644
index 000000000..912beb4f5
--- /dev/null
+++ b/1319/CH12/EX12.4/i_4.sce
@@ -0,0 +1,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 =')