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 /24/CH27/EX27.3 | |
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 '24/CH27/EX27.3')
-rwxr-xr-x | 24/CH27/EX27.3/Example27_3.sce | 15 | ||||
-rwxr-xr-x | 24/CH27/EX27.3/Example27_3_result.txt | 2 |
2 files changed, 17 insertions, 0 deletions
diff --git a/24/CH27/EX27.3/Example27_3.sce b/24/CH27/EX27.3/Example27_3.sce new file mode 100755 index 000000000..4c89fad77 --- /dev/null +++ b/24/CH27/EX27.3/Example27_3.sce @@ -0,0 +1,15 @@ +//Given that
+r = 900*10^-6 //in m
+i = 17*10^-3 //in A
+e = 1.6*10^-19 //in C
+densityCopper = 8.96*10^3 //in kg/m^3
+M = 63.54*10^-3 //in kg/mol
+Na = 6.023*10^23
+
+//Sample Problem 27-3
+printf("**Sample Problem 27-3**\n")
+A = %pi*r^2
+J = i/A
+n = densityCopper/M*Na
+Vd = J/(n*e)
+printf("The drift speed is %em/s", Vd)
\ No newline at end of file diff --git a/24/CH27/EX27.3/Example27_3_result.txt b/24/CH27/EX27.3/Example27_3_result.txt new file mode 100755 index 000000000..bd66fba96 --- /dev/null +++ b/24/CH27/EX27.3/Example27_3_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 27-3**
+The drift speed is 4.916096e-007m/s
\ No newline at end of file |