Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 395 pages
Exam (elaborations)

Solutions Manual for Numerical and Analytical Methods with MATLAB (1st Edition by Bober) – Complete Worked Solutions

Document preview thumbnail
Preview 4 out of 395 pages

Excel in your computational engineering and applied mathematics courses with this complete Solutions Manual for Numerical and Analytical Methods with MATLAB (1st Edition) by Bober. It offers thorough, step-by-step solutions to all textbook exercises, focusing on MATLAB-based numerical methods, analytical modeling, differential equations, and data analysis techniques. Perfect for students and professionals aiming to enhance their MATLAB proficiency and strengthen their problem-solving skills in engineering and scientific computation.

Content preview

Chapters 2 – 14 Covered
v v v v




SOLUTIONS

, SOLUTIONMANUAL v




NUMERICALANDANALYTICALMETHODSWITH
v v v v




MATLAB

Table of Contents
v v




Page

Chapter 2 v 1

Chapter 3 v 46

Chapter 4 v 58

Chapter 5 v 98

Chapter 6 v 107

Chapter 7 v 176

Chapter 8 v 180

Chapter 9 v 188

Chapter 10 v 214

Chapter 11 v 271

Chapter 12 v 303

Chapter 13 v 309

Chapter 14 v 339




@@SSee
isis
mmiciicsis
oolala
titoionn

, CHAPTER 2 v




P2.1. Taylor series expansion of f (x) about x = 0 is:
v v v v v v v v v v v v




f''(0) 2 f'''(0) 3 f 1V 4
f (x) = f (0)+ f '(0) x+ x + x + x +...
v v v v v v v v


v v v v v v v v v v v v v



4!
v v



2! 3! v v




For f (x)=cos(x), v v v v v v v f (0) =1,
v v v




f (x) =− sin(x), f '(0)=0,
v v v v v v v v v v v




f ''(x) = −cos(x), f ''(0)=−1,
v v v v v v v v v v v v v v




f '''(x) = +sin(x), f '''(0)=0,
v v v v v v v v v v v v v v v v




f1V(x)=+cos(x), f 1V(0)=1
v v v v v v v v v v v v




We can see that v v v




x x 4 x6 8 2
cos(x) =1− + − + x −+−+...
v v v


v v v v v




2! 4! 6! 8! v v v



v




and that v




x2
term(k)=−term(k −1)
v




2k (2k −1)
v v v v v v v v



v v v v




The following program evaluates cos(x) by both an arithmetic statement and by the above
v v v v v v v v v v v v v v




v series for -π ≤ x ≤ π in step of 0.1  .
v v v v v v v v v v v v




% cosf.m
v




% This program evaluates cos(x) by both arithmetic statement and by
v v v v v v v v v v




% series for -π ≤ x ≤ π in steps of 0.1 π
v v v v v v v v v v v v




clear; clc; v




xi=-pi;dx=0.1*pi; v




v for j=1:21
v




x(j)=xi+(j-1)*dx;

cos_arith(j)= cos(x(j)); v




1iciicsisoolalatitoionn
@@SSeeisismm

, sum=1.0;term=1.0; v




for k=1:50
v v




den=2*k*(2*k-1);

term=-term*x(j)^2/den;

sum=sum+term;
v




test=abs(sum*1.0e-6);
v




if abs(term) <= test;
v v v v




break;

end

end

cos_ser(j)=sum;
v




nterms(j)=k;
v




end

fo=fopen('output.dat','w');
v




fprintf(fo,'x cos(x) cos (x) v terms inv v \n');

fprintf(fo,'
v by arith stm
v v by series
v the series
v v \n');

fprintf(fo,'=====================================================\n');
v




for j=1:21
v




fprintf(fo,'%10.5f %10.5f %10.5f %3i\n',...
v




x(j),cos_arith(j),cos_ser(j),nterms(j));
v




fprintf(fo,' \n');

end

fclose(fo);
v




plot(x,cos_arith),xlabel('x'),ylabel('cos(x)'),

title('cos(x) vs. x'),grid;
v v v




2iciicsisoolalatitoionn
@@SSeeisismm

Connected book
 image
William Bober, Chi-Tay Tsai, Oren Masory Numerical and Analytical Methods with MATLAB
Edition: 2009 ISBN: 9781420093568 Edition: Unknown

Document information

Uploaded on
November 14, 2025
Number of pages
395
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$21.49

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
THEPROWESS
2.0
(1)
Sold
12
Followers
4
Items
1402
Last sold
1 month 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