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 /575/CH4/EX4.8.1 | |
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 '575/CH4/EX4.8.1')
-rwxr-xr-x | 575/CH4/EX4.8.1/4_8_1.jpg | bin | 0 -> 25113 bytes | |||
-rwxr-xr-x | 575/CH4/EX4.8.1/4_8_1.sce | 13 |
2 files changed, 13 insertions, 0 deletions
diff --git a/575/CH4/EX4.8.1/4_8_1.jpg b/575/CH4/EX4.8.1/4_8_1.jpg Binary files differnew file mode 100755 index 000000000..aff9315ee --- /dev/null +++ b/575/CH4/EX4.8.1/4_8_1.jpg diff --git a/575/CH4/EX4.8.1/4_8_1.sce b/575/CH4/EX4.8.1/4_8_1.sce new file mode 100755 index 000000000..10b14e60a --- /dev/null +++ b/575/CH4/EX4.8.1/4_8_1.sce @@ -0,0 +1,13 @@ +clc
+pathname=get_absolute_file_path('4_8_1.sce')
+filename=pathname+filesep()+'481.sci'
+exec(filename)
+printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
+disp("part 1")
+wet=xN2wet+xCO2wet+xO2wet
+xN2dry=xN2wet/wet
+xCO2dry=xCO2wet/wet
+xO2dry=xO2wet/wet
+printf(" \n xN2 dry = %f mol N2/mol dry gas",xN2dry)
+printf(" \n xO2 dry = %f mol O2/mol dry gas",xO2dry)
+printf(" \n xCO2 dry = %f mol CO2/mol dry gas",xCO2dry)
\ No newline at end of file |