summaryrefslogtreecommitdiff
path: root/2870/CH12/EX12.2/Ex12_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2870/CH12/EX12.2/Ex12_2.sce')
-rwxr-xr-x2870/CH12/EX12.2/Ex12_2.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2870/CH12/EX12.2/Ex12_2.sce b/2870/CH12/EX12.2/Ex12_2.sce
new file mode 100755
index 000000000..603141038
--- /dev/null
+++ b/2870/CH12/EX12.2/Ex12_2.sce
@@ -0,0 +1,16 @@
+clc;clear;
+//Example 12.2
+
+//given data
+dT=302-300;
+dv=0.87-0.86;
+T=(302+300)/2;
+v=(0.87+0.86)/2;//average values
+
+//constants used
+R=0.287;//in kJ/kg-K
+
+//calculations
+//using eq 12-3 by diffrentiating P= R*T/v
+dP= R*dT/v - R*T*dv/v^2;
+disp(dP,'the change in the pressure of air in kPa');