Tag Archives: interest

Calculate credit payments in WPF and C#

This is a WPF version of the example Calculate credit payments in C#. The calculations are the same. Unfortunately building and using the user interface is much harder in WPF, particularly working with the ListView control. (The unofficial WPF slogan: … Continue reading

Posted in algorithms, calculations, finance, mathematics | Tagged , , , , , , , , , , , , , | Leave a comment

Calculate interest for a loan in C#

This example uses three different methods for calculating interest on a loan. Enter the start and end dates for the loan, the annual interest rate, and the initial principle. When you click the Calculate button, the program calculates the loan’s … Continue reading

Posted in algorithms, finance, mathematics | Tagged , , , , , , , , , , | 1 Comment

Calculate credit payments in C#

For each month the program: Calculates the payment first. This is either a percent of the balance or the minimum amount, whichever is greater. Calculates interest after the payment is calculated but before it is subtracted from the balance. Adds … Continue reading

Posted in algorithms, calculations, finance, mathematics | Tagged , , , , , , , , , , , , , | 7 Comments

Make a stacked graph showing compound interest in C#

The example Show compound interest graphically in C# displays a graph showing contributions, compound interest, and total balance over time for a monthly investment strategy. This example may provide a better representation than that one. It shows the total contributions … Continue reading

Posted in algorithms, calculations, graphics, mathematics | Tagged , , , , , , , , , , , , | Leave a comment

Show compound interest graphically in C#

This is a more graphic version of the example Calculate the value of a monthly investment in C#. Instead of adding values to a ListView control, this example saves points in three lists of points: Balance, Contributions, and Interest. It … Continue reading

Posted in algorithms, calculations, graphics, mathematics | Tagged , , , , , , , , , , , | 1 Comment

Calculate compound interest over time in C#

This example shows how to calculate compound interest over a time period. Enter the principle amount, interest rate, and number of years in the TextBoxes. When you click Calculate, the program uses the following code to display your balance for … Continue reading

Posted in algorithms, mathematics | Tagged , , , , , , , , , | 6 Comments