KAlgebra/Credit payment

From KDE UserBase Wiki
Revision as of 18:17, 18 December 2010 by Marto1914 (talk | contribs)

1.Write this Function in console mode.It calculates the monthly interest rate by given yearly interest rate.

monthlyInterestRate:= yearlyInterestRate-> x/1200

2.Write this Function in the console mode.It calculates the monthly payment you have to return to the bank

  • mir=monthlyInterestRate
monthly_payment:=(sum, mir, months)->(sum*mir^months*(mir-1))/(mir^months-1))

3.Write this Function in the console mode.It calculate the whole sum you have to return to the bank

sum:=(monthlyPayment,months)->monthlyPayment*months