diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3717/CH12/EX12.2 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3717/CH12/EX12.2')
-rw-r--r-- | 3717/CH12/EX12.2/Ex12_2.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3717/CH12/EX12.2/Ex12_2.sce b/3717/CH12/EX12.2/Ex12_2.sce new file mode 100644 index 000000000..273517091 --- /dev/null +++ b/3717/CH12/EX12.2/Ex12_2.sce @@ -0,0 +1,17 @@ +// Ex12_2 Page:244 (2014)
+clc; clear;
+I = 8; // Current through the copper wire, A
+d = 18e-03; // Diameter of the copper wire, m
+V = 5; // Potential difference across the wire, V
+L = 1; // Length of the copper wire, m
+A = %pi*(d/2)^2; // Area of cross-section of the wire, Sq.m
+J = I/A; // Current density in the wire, A/Sq.m
+E = V/L; // Electric field across the wire, V/m
+rho = E/J; // Resistivity of the material, ohm-m
+printf("\nThe current density in the copper wire = %4.2e A/Sq.m", J);
+printf("\nThe resistivity of the material = %4.2e ohm-m", rho);
+
+// Result
+// The current density in the copper wire = 3.14e+04 A/Sq.m
+// The resistivity of the material = 1.59e-04 ohm-m
+// The answer provided in the textbook is wrong
|