This project calculates the compound interest, represents the result in form of a table, and also makes use of JFreeChart Library to represent the result graphically.
Compound interest is the addition of interest to the principal sum of a loan or deposit, or in other words, interest on interest. It is the result of reinvesting interest, rather than paying it out, so that interest in the next period is then earned on the principal sum plus previously accumulated interest.
Formula Used-
The formula used for calculating Compound Interest in this project is-
A = P((1+r/n)^(nt))
Where-
A- Maturity Amount
P- Principal Amount
r- Rate of Interest
n- Number of times amount compounded per year
Requirements-
I used Netbeans IDE to make this Project.
I used JFreeChart library to make the charts from the data produced after calculation.
jfreechart-1.0.1.jar and jcommon-1.0.0.jar are required for this project. They can be downloaded from the internet.
Below are the screenshots of the working of the application.
Screenshot-1 (Home Page)
Screenshot-2 (Tabular representation of the calculated result)
Screenshot-3 (Line Chart representation of the calculated result)
Screenshot-4 (Bar Chart representation of the calculated result)
Screenshot-5 (3D-Bar Chart representation of the calculated result)
You can find the source code in the project zip file.
Submitted by MADHUR AGRAWAL (madhuragrawal)
Download packets of source code on Coders Packet
Comments