• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 235 pages
Exam (elaborations)

Solutions Manual For Applied Numerical Methods with MATLAB for Engineers and Scientists 5th Edition by Steven C. Chapra All Chapters 1- 24

Document preview thumbnail
Preview 4 out of 235 pages

Solutions Manual For Applied Numerical Methods with MATLAB for Engineers and Scientists 5th Edition by Steven C. Chapra All Chapters 1- 24 Table of Contents 1 Mathematical Modeling, Numerical Methods, and Problem Solving 2 MATLAB Fundamentals 3 Programming with MATLAB 4 Roundoff and Truncation Errors 5 Roots: Bracketing Methods 6 Roots: Open Methods 7 Optimization 8 Linear Algebraic Equations and Matrices 9 Gauss Elimination 10 LU Factorization 11 Matrix Inverse and Condition 12 Iterative Methods 13 Eigenvalues 14 Linear Regression 15 General Linear Least-Squares and Nonlinear Regression 16 Fourier Analysis 17 Polynomial Interpolation 18 Splines and Piecewise Interpolation 19 Numerical Integration Formulas 20 Numerical Integration of Functions 21 Numerical Differentiation 22 Initial-Value Problems 23 Adaptive Methods and Stiff Systems 24 Boundary-Value Problems

Content preview

CHAPTER 1
1.1 You are given the following differential equation with the initial condition, v(t = 0) = 0,

dv c
= g − d v2
dt m

Multiply both sides by m/cd

m dv m
= g − v2
c d dt c d

Define a = mg / c d

m dv
= a2 − v2
c d dt

Integrate by separation of variables,

dv cd
∫ a 2 − v 2 = ∫ m dt
A table of integrals can be consulted to find that

dx 1 x
∫a 2
−x 2
= tanh −1
a a

Therefore, the integration yields

1 v c
tanh −1 = d t + C
a a m

If v = 0 at t = 0, then because tanh–1(0) = 0, the constant of integration C = 0 and the solution
is

1 v c
tanh −1 = d t
a a m

This result can then be rearranged to yield

gm ⎛ gc d ⎞
v= tanh ⎜ t⎟
cd ⎜ m ⎟
⎝ ⎠


1.2 This is a transient computation. For the period from ending June 1:



1

, Balance = Previous Balance + Deposits – Withdrawals

Balance = 1512.33 + 220.13 – 327.26 = 1405.20

The balances for the remainder of the periods can be computed in a similar fashion as
tabulated below:

Date Deposit Withdrawal Balance
1-May $ 1512.33
$ 220.13 $ 327.26
1-Jun $ 1405.20
$ 216.80 $ 378.61
1-Jul $ 1243.39
$ 350.25 $ 106.80
1-Aug $ 1586.84
$ 127.31 $ 450.61
1-Sep $ 1363.54

1.3 At t = 12 s, the analytical solution is 50.6175 (Example 1.1). The numerical results are:

absolute
step v(12) relative error
2 51.6008 1.94%
1 51.2008 1.15%
0.5 50.9259 0.61%

where the relative error is calculated with

analytical − numerical
absolute relative error = × 100%
analytical

The error versus step size can be plotted as

2.0%




1.0%


relative error
0.0%
0 0.5 1 1.5 2 2.5


Thus, halving the step size approximately halves the error.

1.4 (a) The force balance is




2

,dv c'
=g− v
dt m

Applying Laplace transforms,

g c'
sV − v(0) = − V
s m

Solve for

g v ( 0)
V= + (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

A+ B=0

c'
g= A
m

Therefore,

mg mg
A= B=−
c' c'

These results can be substituted into Eq. (2), and the result can be substituted back into Eq.
(1) to give

mg / c' mg / c' v ( 0)
V= − +
s s + c' / m s + c' / m

Applying inverse Laplace transforms yields

mg mg −( c '/ m )t
v= − e + v ( 0) e − ( c ' / m ) t
c' c'

or




3

, v = v(0)e −( c '/ m )t +
mg
c'
(
1 − e −( c '/ m )t )
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
c'
(
1 − e −( c '/ m )t )
(b) The numerical solution can be implemented as

⎡ 12.5 ⎤
v(2) = 0 + ⎢9.81 − (0) 2 = 19.62
⎣ 68.1 ⎥⎦

⎡ 12.5 ⎤
v(4) = 19.62 + ⎢9.81 − (19.62)⎥ 2 = 6.2087
⎣ 68 .1 ⎦

The computation can be continued and the results summarized and plotted as:

t v dv/dt
0 0 9.81
2 19.6200 6.2087
4 32.0374 3.9294
6 39.8962 2.4869
8 44.8700 1.5739
10 48.0179 0.9961
12 50.0102 0.6304


60



40



20



0
0 4 8 12


Note that the analytical solution is included on the plot for comparison.




4

Connected book
 image
Publisher: Unknown ISBN: 9781265651947 Edition: Unknown

Document information

Uploaded on
October 9, 2026
Number of pages
235
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$14.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TestsBanks
4.0
(176)
Sold
1152
Followers
206
Items
2689
Last sold
1 day ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions