IMPS_2017/FILES/10_12
-
10_12.pdf, Lecture notes (PDF);
-
10_12.ppt, Lecture notes (PowerPoint);
-
addem.m,
adds A, B, and C, return the result in TOTAL.
-
bumps.jpg,
a plot of the bumps function.
-
bumps.m,
evaluates a function z(x,y) that has a bump up and one down.
-
bumps_surf.m,
uses the MATLAB surf() command to display the bumps function.
-
dividem.m,
computes the ratio A/B.
-
gap.m,
plays one "gap N" game.
-
gap_average.m,
estimates the average score in a "GAP" game if the size of the gap is N.
-
gap_averages.m,
computes the average length of "GAP N" games for N = 1 to 30.
-
maxmin.m,
sorts A and B into BIG and SMALL values.
-
plotshape.m,
will draw the shape with vertices XLIST, YLIST.
-
quadratic_demo.m,
generates quadratic equations and displays real roots.
-
quadratic_evaluate.m,
evaluates a quadratic polynomial.
-
quadratic_random.m,
randomly selects coefficients of a quadratic polynomial.
-
quadratic_root.m,
returns real roots of a quadratic polynomial.
-
scientific.m,
computes the scientific notation representation of a number.
-
triangle_perimeter.m,
computes the perimeter of a triangle.
-
wrap.m,
uses “wrap-around” counting.
Last revised on 22 October 2017.