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 /3369/CH3/EX3.3 | |
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 '3369/CH3/EX3.3')
-rwxr-xr-x | 3369/CH3/EX3.3/Ex3_3.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3369/CH3/EX3.3/Ex3_3.sce b/3369/CH3/EX3.3/Ex3_3.sce new file mode 100755 index 000000000..d182cf325 --- /dev/null +++ b/3369/CH3/EX3.3/Ex3_3.sce @@ -0,0 +1,17 @@ +//Chapter 3, Exmaple 3, page 104 +//Maximum pressure in the chamber +clc +clear +//Making use of equation 3.10 +N1 = (4*%pi*1.7*1.7*0.10*10^-10*10^-10) +N = 1/N1 +//Using equation 3.2 +R = 8314 // J/Kg*mol*K +M = 28 // Mol^-1 +N = 220*10**-8 // Kg +T = 300 // K +p = N/M*R*T +printf("\nN = %e ",N1) // answer mentioned in the tectbook is wrong +printf("\nPressure = %f N/m^2",p) + +//Answer vary due to round off error |