Solution manual for Applied Numerical Methods with MatLab for Engineers and Science Chapra
3rd edition
Full download link at: https://testbankbell.com/product/solution-manual-forapplied-numerical-methods-with-matlab-for-engineers-and-science-chapra3rd-edition/
CHAPTER 1
1.1 You are given the following differential equation with the initial condition, v(t = 0) = 0,
Integrate by separation of variables,
A table of integrals can be consulted to find that
Therefore, the integration yields
If v = 0 at t = 0, then because tanh–1(0) = 0, the constant of integration C = 0 and the solution is
This result can then be rearranged to yield
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
1.2 (a) For the case where the initial velocity is positive (downward), Eq. (1.21) is
Multiply both sides by m/cd
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
mdv = m g v 2
cd dt cd
Define a = mg / cd
mdv = a 2 v 2
cd dt
Integrate by separation of variables, dv = a 2 v 2 cd dt m
A table of integrals can be consulted to find that dx = 1 tanh 1 x a 2 x 2 a a
Therefore, the integration yields
1 tanh 1 v = cd t + C a a m
If v = +v0 at t = 0, then
C = 1 tanh 1 v0 a a
Substitute back into the solution
1 tanh 1 v = cd t + 1 tanh 1 v0 a a m a a
Multiply both sides by a, taking the hyperbolic tangent of each side and substituting a gives, mg gcd 1 cd
v = c tanh t + tanh m v (1) mg d
(b) For the case where the initial velocity is negative (upward), Eq. (1.21) is dv = g + cd v 2 dt m
Multiplying both sides of Eq. (1.8) by m/cd and defining a =
mdv = a 2 + v 2
cd dt
mg / cd yields
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
Integrate by separation of variables,
A table of integrals can be consulted to find that
1 x
Therefore, the integration yields
The initial condition, v(0) = v0 gives
Substituting this result back into the solution yields
Multiplying both sides by a and taking the tangent gives
or substituting the values for a and simplifying gives
(c) We use Eq. (2) until the velocity reaches zero. Inspection of Eq. (2) indicates that this occurs when the argument of the tangent is zero. That is, when
The time of zero velocity can then be computed as
0
Thereafter, the velocities can then be computed with Eq. (1 9),
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
Here are the results for the parameters from Example 1.2, with an initial velocity of –40 m/s.
Therefore, for t = 2, we can use Eq. (2) to compute
For
4, the jumper is now heading downward and Eq (3) applies
The same equation is then used to compute the remaining values. The results for the entire calculation are summarized in the following table and plot:
1.3 (a) This is a transient computation. For the period ending June 1:
–
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
The balances for the remainder of the periods can be computed in a similar fashion as tabulated below:
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
)
= D(t) W (t) + iB
1420.09
The balances for the remainder of the periods can be computed in a similar fashion as tabulated below:
(d) As in the plot below, the results of the two approaches are very close. $1,700 $1,600
1.4 At t = 12 s, the analytical solution is 50.6175 (Example 1 1) The numerical results are:
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
calculated
The error versus step size can be plotted as
Thus, halving the step size approximately halves the error.
1.5 (a) The force balance is dv = g c ' v
Applying Laplace transforms,
sV v(0) = g c ' V s m
Solve for
V = g + v(0) (1)
s(s + c '/ m) s + c '/ m
The first term to the right of the equal sign can be evaluated by a partial fraction expansion, g = A + B
(2)
s(s + c '/ m) s s + c '/ m
g = A(s+c '/ m) +Bs
s(s + c '/ m) s(s + c '/ m)
Equating like terms in the numerators yields
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
A + B = 0
g = c ' A m
Therefore,
A = mg B = mg
c' c'
These results can be substituted into Eq (2), and the result can be substituted back into Eq (1) to give
V = mg / c ' mg / c ' + v(0)
s s + c '/ m s + c'/ m
Applying inverse Laplace transforms yields
v = mg mg e (c'/m)t + v(0)e (c '/m)t
c ' c ' or
v = v(0)e (c'/m)t + mg 1 e (c'/m)t
c '
where the first term to the right of the equal sign is the general solution and the second is the particular solution. For our case, v(0) = 0, so the final solution is
v = mg 1 e (c'/m)t
c '
Alternative solution: Another way to obtain solutions is to use separation of variables,
c ' dv = dt
The integrals can be evaluated as
where C = a constant of integration, which can be evaluated by applying the initial condition
ln g c ' v(0)
C = c '/ m
which can be substituted back into the solution
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
This result can be rearranged algebraically to solve for v,
v = v(0)e (c'/m)t + mg 1 e (c'/m)t c '
where the first term to the right of the equal sign is the general solution and the second is the particular solution. For our case, v(0) = 0, so the final solution is v = mg 1 e (c'/m)t
(b) The numerical solution can be implemented as
= 0 + 9.81 12 5(0) 2 = 19.62
The computation can be continued and the results summarized and plotted as:
Note that the analytical solution is included on the plot for comparison.
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
jumper #2: 44 99204 = 9.81(80) (1 e (15/80) t ) 15
44 99204 = 52.32 52.32e 0.1875 t 0.14006 = e 0.1875 t
t = ln 0.14006 = 10.4836 s 0 1875
1.7 Note that the differential equation should be formulated as
This ensures that the sign of the drag is correct when the parachutist has a negative upward velocity. Before the chute opens (t < 10), Euler’s method can be implemented as
After the chute opens (t 10), the drag coefficient is changed and the implementation becomes
Here is a summary of the results along with a plot:
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
c(0.2) = 98 25 0.175(98.25)0.1 = 96.5306 Bq/L
The process can be continued to yield
(b) The results when plotted on a semi-log plot yields a straight line
slope of this line can be estimated as
Thus, the slope is approximately equal to the negative of the decay rate. If we had used a smaller step size, the result would be more exact. 1.9 The first two steps yield
The process can be continued to give the following table and plot:
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
The first two steps yield
The process can be continued to give
1.11 When the water level is above the outlet pipe, the volume balance can be written as
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
In order to solve this equation, we must relate the volume to the level. To do this, we recognize that the volume of a cone is given by V = r 2 y/3 Defining the side slope as s = ytop/rtop, the radius can be related to the level (r = y/s) and the volume can be reexpressed as V = y 3 3s 2 which can be solved for y = 3 3s V (1) and substituted into the volume balance
2
= 3sin2(t) 3 3 3s V y (2)
For the case where the level is below the outlet pipe, outflow is zero and the volume balance simplifies to dV = 3sin2(t) dt (3)
These equations can then be used to solve the problem. Using the side slope of s = 4/2.5 = 1.6, the initial volume can be computed as V (0) = 0 83 = 0 20944 m 3 3(1.6)2
For the first step, y < yout and Eq. (3) gives
(0) = 3sin2(0) = 0
and Euler’s method yields
V (0.5) = V (0) + dV (0)t = 0.20944 + 0(0.5) = 0 20944 dt
For the second step, Eq. (3) still holds and
(0 5) = 3sin2(0.5) = 0 689547
V (1) = V (0.5) + dV (0 5)t = 0.20944 + 0 689547(0 5) = 0.554213 dt
Equation (1) can then be used to compute the new level,
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
Because this level is now higher than the outlet pipe, Eq (2) holds for the next step
The remainder of the calculation is summarized in the following table and figure.
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
1.13 Min - Mout = 0
Food + Drink + Air In + Metabolism = Urine + Skin + Feces + Air Out + Sweat
0.3 =
1 3 L
dv R2 m = mg(0) + c v v
dt (R + x)2 d
Dividing by mass gives
dv R2 c = g(0) + d v v dt (R + x)2 m
(b) Recognizing that dx/dt = v, the chain rule is dv = v dv dt dx
Setting drag to zero and substituting this relationship into the force balance gives
dv = g(0)
dx v R2 (R + x)2
(c) Using separation of variables
v dv = g(0) R2 dx (R + x)2
Integrating gives
2
v = g(0) 2 R2 + C R + x
Applying the initial condition yields
v
2 0 2 = g(0) R2 + C R + 0
which can be solved for C = v0 2/2 – g(0)R, which can be substituted back into the solution to give
v = g(0) 2 R2 R + x v 2 + 0 g(0)R 2
Note that the plus sign holds when the object is moving upwards and the minus sign holds when it is falling
(d) Euler’s method can be developed as
(0)
The first step can be computed as
The remainder of the calculations can be implemented in a similar fashion as in the following table
For the analytical solution, the value at 10,000 m can be computed as
The remainder of the analytical values can be implemented in a similar fashion as in the last column of the above table. The numerical and analytical solutions can be displayed graphically.
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
1.15 The volume of the droplet is related to the radius as
This equation can be solved for radius as
Equation (2) can be substituted into Eq (3) to express area as a function of volume
This result can then be substituted into the original differential equation,
The initial volume can be computed with Eq (1),
Euler’s method can be used to integrate Eq (4) Here are the beginning and last steps
A plot of the results is shown below. We have included the radius on this plot (dashed line and right scale):
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
Eq. (2) can be used to compute the final radius as
= 3 3(20 2969) = 1.692182
Therefore, the average evaporation rate can be computed as
k = (2.5 1.692182) mm = 0.080782 mm 10 min min
which is approximately equal to the given evaporation rate of 0.08 mm/min.
1.16 Continuity at the nodes can be used to determine the flows as follows:
1.17 The first two steps can be computed as
T (1) = 70 + 0.019(70 20) 2 = 68 + ( 0.95)2 = 68.1
T (2) = 68.1+ 0 019(68.1 20) 2 = 68 1 + ( 0 9139)2 = 66.2722
The remaining results are displayed below along with a plot of the results.
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
1.18 (a) For the constant temperature case, Newton’s law of cooling is written as
first two steps of Euler’s methods are
The remaining calculations are summarized in the following table:
(b) For this case, the room temperature can be represented as
a = 20 2t
where t = time (hrs). Newton’s law of cooling is written as
= 0.12(T 20 + 2t)
The first two steps of Euler’s methods are
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
The remaining calculations are summarized in the following table:
Comparison with (a) indicates that the effect of the room air temperature has a significant effect on the expected temperature at the end of the 5-hr period (difference = 26 8462 – 24 5426 = 2 3036oC).
(c) The solutions for (a) Constant Ta, and (b) Cooling Ta are plotted below:
1.19 The two equations to be solved are
method can be applied for the first step as
For the second step:
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
v(4) = v(2) + dv (2)t = 19.6200 + 9 81 0.25 (19 6200)2
x(4) = x(2) + dx (2)t = 0 +19.6200(2) = 39.2400
(2) = 19 6200 + 8 3968(2) = 36 4137
The remaining steps can be computed in a similar fashion as tabulated and plotted below:
1.20 (a) The force balance with buoyancy can be written as
1
(b) For a sphere, the mass is related to the volume as in m = sV where s = the sphere’s density (kg/m3). Substituting this relationship gives
The formulas for the volume and projected area can be substituted to give
3C v v
(c) At steady state (dv/dt = 0),
C
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.
which can be solved for the terminal velocity
(d) Before implementing Euler’s method, the parameters can be substituted into the differential equation to give
The
The remaining steps can be computed in a similar fashion as tabulated and plotted below:
PROPRIETARY MATERIAL © The McGraw-Hill Companies, Inc. All rights reserved. No part of this Manual may be displayed, reproduced or distributed in any form or by any means, without the prior written permission of the publisher, or used beyond the limited distribution to teachersand educatorspermitted by McGraw-Hill for their individual course preparation. If you are a student using this Manual, you are using it without permission.