A graduate course in the Mathematics in Finance program at the Courarant Institute of Mathematical Sciences of New York University.
Comments and hints on assignments.
/* Compute the new cost go value. */
........... code ....... /* Compute the expected cost if you don't refinance now */ .......code........................ ....cost_without = ..... /* Compute the expected cost if you do refinance now. */ ...........code .......... ....cost_with = ........ /* The cost to go from here is the smaller of these numbers. */ f(...) = min(cost_without, cost_with); |