diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /608/CH3/EX3.05 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '608/CH3/EX3.05')
-rwxr-xr-x | 608/CH3/EX3.05/3_05.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/608/CH3/EX3.05/3_05.sce b/608/CH3/EX3.05/3_05.sce new file mode 100755 index 000000000..764985d56 --- /dev/null +++ b/608/CH3/EX3.05/3_05.sce @@ -0,0 +1,12 @@ +//Problem 3.05: Calculate the cross-sectional area, in mm2, of a piece of copper wire, 40 m in length and having a resistance of 0.25 ohms. Take the resistivity of copper as 0.02E-6ohm m.
+
+//initializing the variables:
+R = 0.25; // in ohms
+L = 40; // in m
+p = 0.02E-6; // in ohm m
+
+//calculation:
+A = p*L*1E6/R
+
+printf("\n\nResult\n\n")
+printf("\nC.S.A %.1f Ohms\n",A)
|