IMPS_2017/FILES/10_10
-
10_10.pdf, Lecture notes (PDF);
-
10_10.ppt, Lecture notes (PowerPoint);
-
age_integer.m,
taking small steps in age, using integer arithmetic.
-
age_real.m,
taking small steps in age, using real arithmetic.
-
hat.m,
defining the hat function.
-
hat_vector.m,
defining the hat function so that vector input is acceptable.
-
real_roots.m,
a function which returns the real roots of a quadratic equation.
-
restaurant_tab.m,
a function to figure out the final bill at a restaurant.
-
road_trip_cost.m,
a function to estimate the cost of a road trip.
-
sqrt_fail.png,
a plot showing that our sqrt function has failed.
-
sqrt_function.m,
a function to compute square roots.
-
sqrt_function2.m,
a revised version of sqrt_function, which accepts vector input.
-
sqrt_script.m,
a script to compute square roots.
-
sqrt_script_use1.m,
demonstration #1 of using sqrt_script.
-
sqrt_script_use2.m,
demonstration #2 of using sqrt_script.
-
theron.m,
a function to evaluate the Theron formula for weight.
-
theron.png,
a plot of the Theron formula results.
-
trout.m,
a function to estimate trout weight based on age.
-
trout_vector.m,
a revision of trout.m that accepts vector input.
-
trout.png,
a plot of the trout data.
-
xrange.m,
a function which accepts XLO and XHI, makes sure that XLO < XHI,
and that both values are in [0,1].
Last revised on 09 October 2017.