Numerical Methods for Engineers
Numerical Methods for Engineers
7th Edition
ISBN: 9780073397924
Author: Steven C. Chapra Dr., Raymond P. Canale
Publisher: McGraw-Hill Education
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 8, Problem 1P

Perform the same computation as in Sec. 8.1, but for ethyl alcohol ( a = 12.02  and  b = 0.08407 ) at a temperature of 375 K and p of 2.0 atm. Compare your results with the ideal gas law. Use any of the numerical methods discussed in Chaps. 5 and 6 to perform the computation. Justify your choice of technique.

Expert Solution & Answer
Check Mark
To determine

The modal volume using Ideal gas law and Van der waals equation for ethyl alcohol (a=12.02,b=0.08407) at a temperature of 375 K and p of 2.0 atm where the both the equations are given by,

Ideal Gas equation states,

pV=nRT

Here, p is the absolute pressure, V is the volume, n is the number of moles, T is the absolute temperature and R is the universal gas constants.

Van der waals equation states,

(p+av2)(vb)=RT

Here, v=Vn is the modal volume and a,b are empirical constants depending upon the gas.

Answer to Problem 1P

Solution:

Using van der waals equation the modal volume 0.3644374484_ and using ideal gas equation 15.385125_.

Van der waals equation is more appropriate to calculate the modal volume.

Explanation of Solution

Given Information: For ethyl alcohol a=12.02,b=0.08407 and the temperature is T=375K, the number of moles is p=2atm. The universal gas constant R=0.082054 L atm/(mol K)

Consider Van der waals equation,

(p+av2)(vb)=RT

Therefore, the modal volume v will be the roots of the equation f(v)=0 where,

f(v)=pv+avabv2(RT+pb)

Hence, differentiating,

f(v)=pav2+2abv3

Therefore, for ethyl alcohol a=12.02,b=0.08407 with T=375K and P=2, the modal volume can be computed using the Newton Raphson method by following iteration technique, vi+1=vif(vi)f(vi) for a=12.02,b=0.08407,T=375,P=2

Construct a MATLAB code “Code_97924_8_1P_a.m” to perform the mentioned iteration.

function Code_97924_8_1P_a()

% tolerance used in the iteration process.

Tol = 1e-10;

%the parameters of the equation is written in the following way

a = 12.02;

b = 0.08407;

R = 0.082054;

T = 375;

p = 2;

% the function and its derivative is written in the following way as % a function of v.

f = @(v) p*v + a/v - a*b/v - (R*T + p*b);

fd = @(v) p - a/(v^2) + 2*a*b/(v^3);

% Finding the initial guess of the root of f(v) = 0.

v = 0:0.001: 1; k = 0;

fun = zeros(1,1); Guess = zeros(1,1);

for i = 1: 1: length(v)

fun(i) = f(v(i));

if i>1 && fun(i-1)*fun(i) < 0

k = k + 1; Guess(k) = v(i);

end

end

clear v

% Modifying the root using Newton Rapson Method

v(1) = Guess(1); i = 1;

while (1)

v(i+1) = v(i) - f(v(i))/fd(v(i));

Er = abs(v(i+1)-v(i))/abs(v(i));

if Er<=Tol, break, end

i = i + 1;

end

% Print the desired root in the screen.

fprintf('The Modal Volume %10.10f\n',v(end));

end

The output of the function is,

Numerical Methods for Engineers, Chapter 8, Problem 1P

Therefore, using van der waals equation the modal volume of the ethyl alcohol at T=375K and P=2atm is 0.3644374484.

Using Ideal gas equation the modal volume,

v=Vn=RTp

Therefore, for ethyl alcohol at T=375K and P=2atm, v=0.082054×3752=15.385125

Therefore, using Ideal gas equation the modal volume of the ethyl alcohol at T=375K and P=2atm is 15.385125.

Interpretation:

As Ethyl alcohol is not an ideal gas hence Ideal gas equation is not appropriate to calculate the modal volume so the van deer waals equation should be imposed to calculate the modal volume.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
The viscosity values of chloroform measured at different temperatures are as follows. Accordingly, find the equation that connects the viscosity of chloroform to the temperature in the given range by Lagrange Interpolation method and determine the viscosity value at 25℃.   T(℃)                     10                     20                         30 µ(cP)                     0.625                0.563                    0.510
The table shows two cylindrical-shaped containers that store gelatin. Container 1 Container 2 5 cm 6 cm 12 cm 10 cm Which statement is true? (Use 3.14 as an approximation of pi.) O Container 1 holds approximately 126.7 cm more gelatin than Container 2. O Container 1 holds approximately 188.4 cm more gelatin than Container 2. O Container 2 holds approximately 126.7 cm more gelatin than Container 1. O Container 2 holds approximately 188.4 cm more gelatin than Container 1. A Calculator hp esc 2$ % & 2 5 %# 3
S. 1 de 4-cose .A 14 .B 13 .C 15 EIN

Chapter 8 Solutions

Numerical Methods for Engineers

Ch. 8 - 8.11 The operation of a constant density plug flow...Ch. 8 - 8.12 The Ergun equation, shown below, is used to...Ch. 8 - The pressure drop in a section of pipe can be...Ch. 8 - 8.14 In structural engineering, the secant formula...Ch. 8 - 8.15 In environmental engineering (a specialty...Ch. 8 - 8.16 The concentration of pollutant bacteria c in...Ch. 8 - A catenary cable is one that is hung between two...Ch. 8 - 8.18 Figure P8.18a shows a uniform beam subject to...Ch. 8 - 8.19 The displacement of a structure is defined by...Ch. 8 - 8.20 The Manning equation can be written for a...Ch. 8 - In ocean engineering, the equation for a reflected...Ch. 8 - 8.22 You buy a $20,000 piece of equipment for...Ch. 8 - Many fields of engineering require accurate...Ch. 8 - 8.24 A simply supported beam is loaded as shown in...Ch. 8 - 8.25 Using the simply supported beam from Prob....Ch. 8 - Using the simply supported beam from Prob. 8.24,...Ch. 8 - Using the simply supported beam from Prob. 8.24,...Ch. 8 - 8.28 Although we did not mention it in Sec. 8.2,...Ch. 8 - 8.29 Perform the same computation as in Sec. 8.3,...Ch. 8 - An oscillating current in an electric circuit is...Ch. 8 - Prob. 31PCh. 8 - 8.32 A total charge Q is uniformly distributed...Ch. 8 - 8.33 Figure P8.33 shows a circuit with a resistor,...Ch. 8 - Beyond the Colebrook equation, other...Ch. 8 - Real mechanical systems may involve the deflection...Ch. 8 - Mechanical engineers, as well as most other...Ch. 8 - Aerospace engineers sometimes compute the...Ch. 8 - The general form for a three-dimensional stress...Ch. 8 - The upward velocity of a rocket can be computed by...Ch. 8 - The phase angle between the forced vibration...Ch. 8 - Two fluids at different temperatures enter a mixer...Ch. 8 - A compressor is operating at compression ratio Rc...Ch. 8 - In the thermos shown in Fig. P8.43, the innermost...Ch. 8 - 8.44 Figure P8.44 shows three reservoirs connected...Ch. 8 - A fluid is pumped into the network of pipes...Ch. 8 - 8.46 Repeat Prob. 8.45, but incorporate the fact...Ch. 8 - The space shuttle, at lift-off from the launch...Ch. 8 - 8.48 Determining the velocity of particles...
Knowledge Booster
Background pattern image
Advanced Math
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, advanced-math and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Text book image
Mathematics For Machine Technology
Advanced Math
ISBN:9781337798310
Author:Peterson, John.
Publisher:Cengage Learning,
Text book image
Algebra: Structure And Method, Book 1
Algebra
ISBN:9780395977224
Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:McDougal Littell
Text book image
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Text book image
Trigonometry (MindTap Course List)
Trigonometry
ISBN:9781337278461
Author:Ron Larson
Publisher:Cengage Learning
Text book image
College Algebra
Algebra
ISBN:9781337282291
Author:Ron Larson
Publisher:Cengage Learning
Text book image
Trigonometry (MindTap Course List)
Trigonometry
ISBN:9781305652224
Author:Charles P. McKeague, Mark D. Turner
Publisher:Cengage Learning
Use of ALGEBRA in REAL LIFE; Author: Fast and Easy Maths !;https://www.youtube.com/watch?v=9_PbWFpvkDc;License: Standard YouTube License, CC-BY
Compound Interest Formula Explained, Investment, Monthly & Continuously, Word Problems, Algebra; Author: The Organic Chemistry Tutor;https://www.youtube.com/watch?v=P182Abv3fOk;License: Standard YouTube License, CC-BY
Applications of Algebra (Digit, Age, Work, Clock, Mixture and Rate Problems); Author: EngineerProf PH;https://www.youtube.com/watch?v=Y8aJ_wYCS2g;License: Standard YouTube License, CC-BY