From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 3369/CH3/EX3.3/Ex3_3.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 3369/CH3/EX3.3/Ex3_3.sce (limited to '3369/CH3/EX3.3/Ex3_3.sce') 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 -- cgit