//Send this a term, interestRate (a decimal), and a balance and this function
// will return a monthly payment

function getMonthlyPayment(scheduleTerm, startingInterestRate, totalLoanAmt)
{
  return (totalLoanAmt*(startingInterestRate/12))/(1-Math.pow((1+(startingInterestRate/12)),(-1*scheduleTerm)));
}

