summaryrefslogtreecommitdiff
path: root/2006/CH3/EX3.5/ex3_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2006/CH3/EX3.5/ex3_5.sce
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 '2006/CH3/EX3.5/ex3_5.sce')
-rwxr-xr-x2006/CH3/EX3.5/ex3_5.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2006/CH3/EX3.5/ex3_5.sce b/2006/CH3/EX3.5/ex3_5.sce
new file mode 100755
index 000000000..199a4afb1
--- /dev/null
+++ b/2006/CH3/EX3.5/ex3_5.sce
@@ -0,0 +1,12 @@
+clc;
+p2=2.5; // Pressure of air in the cylinder in bar
+T1=430; // Temperature of air in cylinder in Degree Celcius
+V1=1.2; // Volume of cylinder in m^3
+V2=0.6; // Volume of cylinder upto end stops in m^3
+// (a) Temperature of air when the piston reaches the stops
+T2=(T1+273)*(V2/V1); // constant pressure process
+disp ("K",T2,"Temperature of air when the piston reaches the stops");
+// (b) The pressure of air when its temperature equals to 25 oC
+T3=25; //Room temperature in Degree Celcius
+p3=p2*((T3+273)/T2); // constant volume process
+disp ("bar",p3,"The pressure of air when its temperature equals to 25 oC");