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 /2873/CH3/EX3.20 | |
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 '2873/CH3/EX3.20')
-rwxr-xr-x | 2873/CH3/EX3.20/Ex3_20.jpg | bin | 0 -> 378718 bytes | |||
-rwxr-xr-x | 2873/CH3/EX3.20/Ex3_20.sce | 15 |
2 files changed, 15 insertions, 0 deletions
diff --git a/2873/CH3/EX3.20/Ex3_20.jpg b/2873/CH3/EX3.20/Ex3_20.jpg Binary files differnew file mode 100755 index 000000000..33158f66a --- /dev/null +++ b/2873/CH3/EX3.20/Ex3_20.jpg diff --git a/2873/CH3/EX3.20/Ex3_20.sce b/2873/CH3/EX3.20/Ex3_20.sce new file mode 100755 index 000000000..2d7abfd56 --- /dev/null +++ b/2873/CH3/EX3.20/Ex3_20.sce @@ -0,0 +1,15 @@ +// Display mode
+mode(0);
+// Display warning for floating point exception
+ieee(1);
+clear;
+clc;
+disp("Engineering Thermodynamics by Onkar Singh Chapter 3 Example 20")
+v1=0;//initial volume of air inside bottle in m^3
+v2=0.5;//final volume of air inside bottle in m^3
+p=1.0135*10^5;//atmospheric pressure in pa
+disp("displacement work,W=p*(v1-v2)in N.m")
+W=p*(v1-v2)
+disp("so heat transfer(Q)in N.m")
+disp("Q=-W")
+Q=-W
|