IMPS_2017/FILES/09_21
-
09_21.pdf, Lecture notes (PDF);
-
09_21.ppt, Lecture notes (PowerPoint);
-
factorial_formula.m,
evaluate the factorial function using a formula;
-
factorial_stepping.m,
evaluate the factorial function using a stepping stone formula;
-
factorial_stepping2.m,
a second version of the code to evaluate the factorial function
using a stepping stone formula;
-
gardner_1966_12.pdf,
an article by Martin Gardner on Pascal's triangle;
-
interest_plot.m,
plot the solution to an interest rate problem;
-
interest_sequence.m,
compute the sequence of values in an interest rate problem;
-
interest_until.m,
compute an interest rate sequence of values until a particular
value is reached;
-
nchoosek_formula.m,
evaluate n-choose-k using a formula;
-
nchoosek_max.m,
report the maximum value of n-choose-k for a fixed n;
-
nchoosek_row.m,
print a row of Pascal's triangle;
-
nchoosek_stepping.m,
evaluate n-choose-k using a stepping stone formula;
-
nchoosek_sum.m,
compute the sum of a row of Pascal's triangle;
-
pascal.png,
an image of Pascal's triangle;
-
pascal_prob.m,
normalize Pascal's triangle to represent probabilities;
-
pascal_rowbar.m,
a row of Pascal's triangle as a bar plot.
-
pascal_rowsum.m,
compute the sum of a row of Pascal's triangle;
-
pascal_triangle.m,
print some of Pascal's triangle;
Last revised on 02 October 2017.