KAlgebra/Credit payment: Difference between revisions

From KDE UserBase Wiki
No edit summary
No edit summary
Line 11: Line 11:
x- the sum you get from the bank
x- the sum you get from the bank


y- the monthly interest rate
y- the monthly interest rate (you can use the previous function with parameter the yearly interest rate f(x))


z- how many month you have to pay the credit
z- how many month you have to pay the credit

Revision as of 16:57, 16 December 2010

Function , which calculate the monthly interest rate by given yearly interest rate.

x-yearly given interest rate

f:= x-> x/12

Function , which calculate the whole sum you have to return to the bank

x- the sum you get from the bank

y- the monthly interest rate (you can use the previous function with parameter the yearly interest rate f(x))

z- how many month you have to pay the credit

c:=(x,y,z)-> x*(1+z*y/100)