Math 151A
HW #1, due on Wednesday, April 9
(you can use a hand calculator or the Bisection Algorithm posted on the
class webpage).
#1 Use the Bisection method to nd p3 for f (x) = x cos x on [0, 1].
1
#2 Let f (x) = 3(x + 1)(x 2 )(x 1). Use the Bisection
Applied Numerical Methods
(MATH 151A, Winter 2017)
Assignment 5
Note:
Due day: Discussion section, 16th February (Tuesday). Assignments handed after the
due date will not be counted.
1. (a) Let f (x) = x1 , xi = i, 1 i 3, find the Lagrange interpolation
Applied Numerical Methods
(MATH 151A, Winter 2017)
Assignment 1
Note:
Due day: Discussion section, 19th January (Thursday). Assignments handed after the
due date will not be counted.
1. Consider the following non-linear equation:
f (x) := x2 + x
1=0
on [
Applied Numerical Methods
(MATH 151A, Winter 2017)
Assignment 3
Note:
Due day: Discussion section, 2nd February (Tuesday). Assignments handed after the due
date will not be counted.
1. Given that each of the following sequences cfw_pn
n=0 converges to p
Math 151A
Spring 2016
Programming Project 2
Due on the midnight of May 20th.
1
Goal
A tracking device has been attached to a moving vehicle. The goal of this project is to construct the routes of
the vehicle, by interpolating the signals obtained from the
% Cubic Spline Interpolation
% The project is to construct the routes of the vehicle,
% by interpolating the signals obtained from the tracking device.
function cubic_spline_interpolation(t,ax,ay)
format long;
n = length(t);
grid on;
hold on;
% Vector h w
2006 25 11
Automatic Measurement and Control
O. I. Automation
2006, Vol. 25, No. 11
1006-1576200611-0076-03
Matlab
1 1,2
1. 6500312. 442700
1
Matlab
Matlab
O242.1
A
Construction and Realization of Cubic Spline Interpolation
Project 1
Due on May 06 midnight
1
Introduction
The goal of this project is to apply Brents method for solving root-finding
problem f (x) = 0. We know that given an interval [a, b] with f (a)f (b) < 0,
the Bisection method generates a sequence cfw_pn
n=1
Yingjie Qi
304671980
Math-151A
05/06/2016
Project 1
1. For Brents method:
First, we call the function with two end points a, b and a tolerance . Then, we will get a
sequence of value p at each iteration.
Such as, p = brent (@f, -4, 4/3, 10^-15)
Second, ca
Yingjie Qi
304671980
Math-151A
05/06/2016
Project 1
1. For Brents method:
First, we call the function with two end points a, b and a tolerance
. Then, we will get a
sequence of value p at each iteration.
Such as, p = brent (@f, -4, 4/3, 10^-15)
Second, c
Applied Numerical Methods
(MATH 151A, Fall 2016)
Assignment 1
Note:
Due day: Discussion section, 4th October (Tuesday). Assignments handed after the due
date will not be counted.
1. Consider the following non-linear equation:
f (x) := x2 + x 1 = 0
on [0,
Midterm: Wednesday, May 7, 4-5pm
Sections 1.2, 2.1, 2.3, 2.4, 3.1, 3.2, and 3.3.
Sample midterm questions (some with solutions) are posted on the class
webpage. Sample Matlab code for the Fixed Point Iteration is also posted
on the class webpage.
Math 151
Math 151a: HW #6, due on Wednesday, May 14
Reading: Section 4.1
[1] (a) Use the most accurate three-point formula to determine each missing
entry in the following table:
x
f (x)
f (x)
0.3 0.27652
0.2 0.25074
0.1 0.16134
0
0
(b) The data in the table was t
Math 151a
Homework #4. Due on Wednesday, April 30.
Reading: Sections 1.2 and 3.1
[1] Using four-digit rounding arithmetic and rationalizing the numerator,
nd the most accurate approximations to the roots of the following quadratic
equation. Compute the ab
Math 151A
HW #3, due on Wednesday, April 23
- Reading: section 2.4.
- The problems below from Section 2.4.
[1] Use Newtons method to nd solutions accurate to within 105 for the
problem:
1 4x cos x + 2x2 + cos 2x = 0
for 0 x 1.
Repeat using the modied Newt
Math 151A
HW #2, due on Wednesday, April 16
- Reading: Sections 2.3 and 2.4.
2.3, #2 Let f (x) = x3 cos x and p0 = 1. Use Newtons method to
nd p2 . Could p0 = 0 be used ?
2.3, #4(a) Let f (x) = x3 cos x. With p0 = 1 and p1 = 0, nd p3
using the Secant meth
Applied Numerical Methods
(MATH 151A, Winter 2017)
Assignment 2
Note:
Due day: Discussion section, 26th January (Thursday). Assignments handed after the
due date will not be counted.
1. Given the following sequence cfw_pn 1
n=0 :
(
pn+1 =
p2n +1
2pn +1
p