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 /1301/CH10/EX10.10 | |
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 '1301/CH10/EX10.10')
-rwxr-xr-x | 1301/CH10/EX10.10/ex10_10.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1301/CH10/EX10.10/ex10_10.sce b/1301/CH10/EX10.10/ex10_10.sce new file mode 100755 index 000000000..ca064c138 --- /dev/null +++ b/1301/CH10/EX10.10/ex10_10.sce @@ -0,0 +1,11 @@ +clc;
+t1=293; //temp in Kelvin
+t2=233; //temp in Kelvin
+v1=0.1; //volume in m cube
+p1=10; //pressure in atm
+p2=1; //pressure in atm
+v2=(p1*v1*t2)/(t1*p2); //calculating v2 using ideal gas law
+p3=1; //pressure in atm
+v3=(p1*v1)/p3; //calculating volume using ideal gas law
+disp(v2-0.1,"(a)Volume of ballon in m cube = "); //displaying result.
+disp(v3-0.1,"(b)Volume of ballon after Helium absorbs heat from air in m cube = "); //displaying result.
\ No newline at end of file |