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/CH44/EX44.6/Example44_6.sce | |
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/CH44/EX44.6/Example44_6.sce')
-rwxr-xr-x | 24/CH44/EX44.6/Example44_6.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/24/CH44/EX44.6/Example44_6.sce b/24/CH44/EX44.6/Example44_6.sce new file mode 100755 index 000000000..799f193f3 --- /dev/null +++ b/24/CH44/EX44.6/Example44_6.sce @@ -0,0 +1,18 @@ +//Given that
+d = 200 //in kg/m^3
+fac = 10^3
+Na = 6.023*10^23
+Mt = 3*10^-3 //in kg/mol
+Md = 2*10^-3 //in kg/mol
+
+txt = mopen('Example44_6_result.txt','wt')
+//Sample Problem 44-6a
+mfprintf(txt, '**Sample Problem 44-6a**\n')
+n = 2*fac *d *Na /(Mt + Md)
+mfprintf(txt, 'The number of particle in unit volume is %em^-3\n', n)
+
+//Sample Problem 44-6b
+mfprintf(txt, '\n**Sample Problem 44-6b**\n')
+TauMin = 10^20/n
+mfprintf(txt, 'The duration of time, pallet can maintain is of the order of %esec', TauMin)
+mclose(txt)
\ No newline at end of file |