diff options
Diffstat (limited to '2417/CH6/EX6.1/Ex6_1.sce')
-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);
|