Math 272 - Assignment #5
Week 5 - Secant Method, fzero, Interpolation
1. Use the Secant method to nd the stated number of solutions to the following equations.
Report your starting values
Report the
Math 272 - Assignment #2
Week 2 - Linear Systems, Truss and Thermo Applications
Note: you will not be asked to solve a complete problem like #4-#8 on the test. However, you will be asked to solve
part
Math 272 - Assignment #3
Week 3 - Graphing, Sparse Matrices, and System Solving
1. Plotting Two-Variable Functions
We can use the meshgrid command not just for plots of matrices we build ourselves, bu
Math 272 - Assignment #6
Week 6 - Function Fitting
1. For each of the datasets DatasetQ1A.xlsx through to DatasetQ1D.xlsx,
download the data le on to the local computer,
load its data into MATLAB usin
Math 272 - Assignment #7
Week 7 - Animation, Intro to Integration
1. Animation and Movies
The position of a point moving counter-clockwise along a unit circle follows the coordinates given by (x, y) =
WEEK #10, Lecture 1: Introduction To Optimization
Optimization Intro
Many design problems and applications involve the search for the best parameters
to achieve a goal. Examples include nding
2
In all
Math 272 - Assignment #8
Week 8 - ODE Solving
1. Use ode45 to generate a graph of the solution to the following DEs, over the specied interval, given the initial condition.
dy
= t2 + y 2 , y(0) = 0, a
Math 272 - Assignment #4
Week 4 - Non-Linear Solving, MATLAB Functions
Writing MATLAB functions
1. Write the function f (x) = x3 + sin(x) as
an anonymous function (using the @ symbol)
a full MATLAB
Math 272 - Assignment #10
Assignment #10 - Optimization
1. A missile has a guidance device which is sensitive to both temperature, t o C, and humidity, h. The range in km over
which the missile can be
WEEK #10, Lecture 2: Constrained Optimization
Optimization Refresher
Many design problems and applications involve the search for the best parameters
to achieve a goal. Examples include nding:
The ch
WEEK #7, Lecture 3: Adaptive Methods, Integration from Data
We have seen the family of Newton-Cotes Methods for estimating denite
integrals.
order 0
order 1
order 2
There is no question that Simpso
WEEK #7, Lecture 1: Introduction to Numerical Integration
Heat Transfer
Consider the cooling n shown below:
We x the temperature at the base, and ask the question
How quickly is heat radiated out of n
.
WEEK #9, Lecture 3: Modern ODE Solvers; Events
Last Class
We saw how the simple calculus approximation
dy
t
y
dt
could be used to update/simulate y over time, based on a dierential equation. All
we
Math 272 - Assignment #11
Week 11 - Optimization
1. Consider a set of 5 points joined together by a collection of springs. The locations of the ve points can be dened by
two 5-element vectors x and y.
Math 272 - Assignment #9
Week 9 - Further ODE Solving
As part of this assignment, you should be able to reproduce the Eulers and Heuns method for numerical solving ODEs.
dy
Your methods should be able
WEEK #8, Lectures 1-3: Numerical DE Solving
ODE Solving
One of the key simulation step in the roller coaster project will be using net forces
to predict motion.
Input: forces
Leads to: dierential eq
WEEK #9, Lecture 1: Fundamentals of Numerical DE Solving
ODEs Without Simple Solutions
We saw last week how we could get numerical/approximate solutions to dierential
equations. The reason we use nume
Math 272 - Assignment #1
MATLAB
Solutions
1. Create a vector with the values 3, 6, 9, . . ., 300, and store it in the vector v.
v = 3:3:300
2. Create a vector with the values 22 , 42 , 62 , . . . , 10