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 /2417/CH6/EX6.5 | |
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 '2417/CH6/EX6.5')
-rwxr-xr-x | 2417/CH6/EX6.5/Ex6_5.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2417/CH6/EX6.5/Ex6_5.sce b/2417/CH6/EX6.5/Ex6_5.sce new file mode 100755 index 000000000..f0fb4bc81 --- /dev/null +++ b/2417/CH6/EX6.5/Ex6_5.sce @@ -0,0 +1,12 @@ +clear;
+clc;
+printf("\t\t\tProblem Number 6.5\n\n\n");
+// Chapter 6: The Ideal Gas
+// Problem 6.5 (page no. 242)
+// Solution
+
+V1=4; //m^3 //initial volume
+T2=0+273; //celsius converted to kelvin //gas is cooled to 0 C //final temperature
+T1=100+273; //celsius converted to kelvin //initial temperature
+V2=V1*(T2/T1); //final volume //Charles's law(pressure constant) //unit:m^3
+printf("The final volume is %f m^3",V2);
|