summaryrefslogtreecommitdiff
path: root/632/CH4/EX4.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /632/CH4/EX4.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '632/CH4/EX4.1')
-rwxr-xr-x632/CH4/EX4.1/example4_1.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/632/CH4/EX4.1/example4_1.sce b/632/CH4/EX4.1/example4_1.sce
new file mode 100755
index 000000000..71510fc69
--- /dev/null
+++ b/632/CH4/EX4.1/example4_1.sce
@@ -0,0 +1,12 @@
+//clc()
+P1 = 760;//mmHg
+T1 = 273.15;//K
+V1 = 22.4143 * 10^-3;//m^3/mol
+R1 = P1 * V1 / T1;
+disp("m^3 mmHg / (molK)",R1,"Gas constant R =")
+P2 = 101325;//N/m^2
+T2 = 273.15;//K
+V2 = 22.4143 * 10^-3;//m^3/mol
+R2 = P2 * V2 / T2;//J/molK
+R3 = R2 / 4.184;//cal/molK
+disp("cal/molK",R3,"Gas constant R in MKS system =") \ No newline at end of file