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 /167/CH12/EX12.2/ex2.sce | |
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 '167/CH12/EX12.2/ex2.sce')
-rwxr-xr-x | 167/CH12/EX12.2/ex2.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/167/CH12/EX12.2/ex2.sce b/167/CH12/EX12.2/ex2.sce new file mode 100755 index 000000000..5157361d7 --- /dev/null +++ b/167/CH12/EX12.2/ex2.sce @@ -0,0 +1,11 @@ +//example 2
+//Total Differential versus Partial Differential
+clear
+clc
+R=0.287 //Universal gas constant kPa-m3/kg-K
+v=(0.86+0.87)/2 //average value m^3/kg
+T=(300+302)/2 //average temp. in kelvins
+dT=302-300 //change in tep. in K
+dv=0.87-0.86 //change in volume in m^3/kg
+dP=R*dT/v-R*T*dv/v^2 //Change in the pressure in kPa
+printf("\n Hence, the change in the pressure of air is = %.3f kPa. \n",dP);
\ No newline at end of file |