Jump to content

KAlgebra/Credit payment: Difference between revisions

From KDE UserBase Wiki
Marto1914 (talk | contribs)
No edit summary
Marto1914 (talk | contribs)
No edit summary
Line 1: Line 1:
1.Write this Function in console mode.It calculates 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
{{Input|1=monthlyInterestRate:= yearlyInterestRate-> x/1200}}
 
{{Input|1=f:= x-> x/12}}


[[File:Screenshot-26.png|600px]]
[[File:Screenshot-26.png|600px]]


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


x- the sum you get from the bank
*mir=monthlyInterestRate


y- the monthly interest rate (you can use the previous function with parameter the yearly interest rate f(x))
{{Input|1=monthly_payment:=(sum, mir, months)->(sum*mir^months*(mir-1))/(mir^months-1))}}


z- how many month you have to pay the credit
[[File:Screenshot-32.png|600px]]


{{Input|1=c:=(x,y,z)-> x*(1+z*y/100)}}
3.Write this Function in the console mode.It calculate the whole sum you have to return to the bank


[[File:Screenshot-32.png|600px]]
{{Input|1=sum:=(monthlyPayment,months)->monthlyPayment*months}}

Revision as of 18:17, 18 December 2010

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