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.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 '2417/CH6/EX6.1')
-rwxr-xr-x | 2417/CH6/EX6.1/Ex6_1.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2417/CH6/EX6.1/Ex6_1.sce b/2417/CH6/EX6.1/Ex6_1.sce new file mode 100755 index 000000000..f4889bc95 --- /dev/null +++ b/2417/CH6/EX6.1/Ex6_1.sce @@ -0,0 +1,13 @@ +clear;
+clc;
+printf("\t\t\tProblem Number 6.1\n\n\n");
+// Chapter 6: The Ideal Gas
+// Problem 6.1 (page no. 241)
+// Solution
+
+P1=100; //Pressure at volume V1=100 ft^3 //Unit:psia
+V1=100; //Unit:ft^3 //V1=Volume at 100 psia
+P2=30 // Reduced Pressure //Unit:psia
+//Boyle's law,P1*V1=P2*V2
+V2=(P1*V1)/P2; //Volume occupied by the gas //ft^3
+printf("Volume occupied by the gas = %f ft^3",V2);
|