KAlgebra/Credit payment: Difference between revisions

From KDE Wiki Sandbox
No edit summary
No edit summary
Line 1: Line 1:
1.Write this Function , which calculate the monthly interest rate by given yearly interest rate.
1.Write this Function in console mode.It calculates the monthly interest rate by given yearly interest rate.


x-yearly given interest rate
x-yearly given interest rate
Line 7: Line 7:
[[File:Screenshot-26.png|600px]]
[[File:Screenshot-26.png|600px]]


2.Write this Function , which calculate the whole sum you have to return to the bank
2.Write this Function in the console mode.It calculates the whole sum you have to return to the bank


x- the sum you get from the bank
x- the sum you get from the bank

Revision as of 18:34, 17 December 2010

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

x-yearly given interest rate

f:= x-> x/12

2.Write this Function in the console mode.It calculates 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)