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 --- 1919/CH11/EX11.6/Ex11_6.sce | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 1919/CH11/EX11.6/Ex11_6.sce (limited to '1919/CH11/EX11.6/Ex11_6.sce') diff --git a/1919/CH11/EX11.6/Ex11_6.sce b/1919/CH11/EX11.6/Ex11_6.sce new file mode 100755 index 000000000..338ae2f83 --- /dev/null +++ b/1919/CH11/EX11.6/Ex11_6.sce @@ -0,0 +1,24 @@ + +// Theory and Problems of Thermodynamics +// Chapter 11 +// Kinetic Theory of Gases +// Example 6 +clear ;clc; + +//Given data +V = 1.2 // X-component velocity lower range + +// Caluclations +// The fraction of molecules with positive x-component of velocity = 0.5 +F_mol = 0.5 + +// F = (1/sqrt(%pi))integrate(exp(-X^2),'X',0,1.2) + +F_0 = 0.5*erf(V) + +// The fraction of molecules with positive X-Component of velocity greater then 1.2Vmp +F_12 = F_mol - F_0 + + +// Output results +mprintf('The fraction of molecules with positive X-Component of velocity greater then 1.2Vmp = %4.4f', F_12) -- cgit