A sum of money invested at compounded interest amounts to Rs. 800 in 3 years and to Rs. 840 in 4 years. The rate on interest per annum is