Method for compound interest.
simple_compound(principal, rate, duration) Computes compound interest for given duration.
principal : float, the principal or starting value.
rate : float, the rate of interest.
duration : float, the period of growth.
By studying historical data we can know the compounded growth rate of an investment from the inception date. For example if we know that an investment has grown at the rate of 6% in the past and if we expect similar growth in the future also, We can plot this graph to understand whether the current price is underpriced or overpriced as per projected return.