20.11.2018 Views

The Economic Consequences of Homelessness in The US

The Economic Consequences of Homelessness in The US

The Economic Consequences of Homelessness in The US

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

if (guessed_pmt > actual_payment)<br />

{<br />

max_rate = mid_rate; # current rate is new maximum<br />

}<br />

else<br />

{<br />

m<strong>in</strong>_rate = mid_rate; # current rate is new m<strong>in</strong>imum<br />

}<br />

}<br />

pr<strong>in</strong>t " <strong>The</strong> Rate is ", mid_rate;<br />

On any modern computer this runs pretty much <strong>in</strong>stantaneously.<br />

Canadian Formula<br />

Canadian mortgages are compounded semi-annually <strong>in</strong>stead <strong>of</strong> monthly like<br />

<strong>US</strong> mortgages.<br />

Monthly Pmt =<br />

(P*(((1+i/200)^(1/6)-1))/(1-(((1+i/200)^(1/6)))^-(n*12)))<br />

Where:<br />

P = pr<strong>in</strong>cipal outstand<strong>in</strong>g<br />

i = annual <strong>in</strong>terest rate percentage<br />

n = number <strong>of</strong> years<br />

Here is a easier to read representation:<br />

i 1/6<br />

( 1 + --- ) - 1<br />

200<br />

Pmt = Pr<strong>in</strong>cipal x ------------------------<br />

i 1/6 -12 x n<br />

1 - [ (1 + --- ) ]<br />

200<br />

Or to convert canadian <strong>in</strong>terest rates to <strong>US</strong> <strong>in</strong>terest rates:<br />

Can. Rate 1/6<br />

<strong>US</strong> Rate = 1200 x [ ( 1 + --------- ) - 1 ]<br />

200<br />

or as a formula, <strong>US</strong> Rate = 1200 * ((1 + Can.Rate/200)^(1/6) - 1)<br />

You'll note if you plug this <strong>in</strong>to the <strong>US</strong> formula you get the above formula for payment.<br />

Page 235 <strong>of</strong> 289

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!