Basic Programming Practices in MATLAB
The following is a short list of basic programming practices.
1. When starting a new problem, start with a clean slate.
In MATLAB, start a new problem with: clear; clc; clf;
clear clears the memory in MATLAB
clc clear
MA233 Section 13.1 - 13.2
Vectors
Denitions:
A scalar quantity represents a number (magnitude but no direction)
A vector quantity represents a direction and a magnitude
A displacement vector measures the displacement between two points. For example, if
MA233 Publishing From MATLAB
A
There are several ways to publish les from MATLAB . Weve tried html and we want to ultimately do L TEX. It
turns out that Moodle wont allow the teachers to view the full html les so were goign to publish in yet another
A
way
MA 233 Section 15.1 and 15.2
Multivariable Optimization
Warm Up Problem #1: WITHOUT YOUR CALCULATOR, nd and classify the local maxima and minima
of the following single variable function.
f (x) = 2x3 + 3x2 12x + 6
First, f (x) = 6x2 + 6x 12. Setting this
Classroom Voting Questions:
Multivariable Calculus
12.1 Functions of Two Variables
1. A function f (x, y ) can be an increasing function of x with y held xed, and be a
decreasing function of y with x held xed.
(a) True, and I am very condent
(b) True, but
Sullivan/Melvin: MA233
Exam #2, Wednesday, Oct. 9, 2013
Name:
SOLUTIONS
Exam Instructions:
1. Answer the questions in the spaces provided on the question sheets.
2. Graphing calculators are only allowed on the calculator section.
3. You have 50 minutes to
Sullivan: MA233 Section A
Exam #1, Friday, Sept 13, 2013
Name:
SOLUTIONS
Exam Instructions:
1. Answer the questions in the spaces provided on the question sheets.
2. Graphing calculators are allowed on this exam, BUT exact answers are expected unless
you
MA233 Section 13.3
Dot Products
Denition: The dot product is a scalar quantity dened geometrically by
v
u v = u v cos
for
0
English Translation: The dot product u v is a scalar measure of
how much two vectors point in the same direction. It can also be
t
MA 233 Section 13.4
Cross Products
Denition: The cross product u v is a vector normal to
both u and v with length equal to the area of the parallelogram
with edges u and v .
uv =
( u v sin ) n
Area of parallelogram
v
v sin
Algebraic Denition: The cross p
MA233 MATLAB Command Reference Sheet
Plotting
Figures and hold on
The figure command will open a new gure window
The hold on command allows you to overlay gures
The subplot command allows you to make arrays of plots.
The syntax is: subplot(rows , colu
Theological Foundations 101
Spring 2016
Instructor: Tyler Sparing
Office Hours: Hour before and after class or by appointment
Email: [email protected]
Tuesday/Thursday: 2:15-3:30
Course Description:
Theological Foundations is an introductory study of C