Compound, simple would just be the p*i, in this example you are adding the interest of the current value to the current value to give you the compound value.
If you need help with this you can reach me here. http://www.justanswer.com/computer/expert-c0mputer-guy/
Thank you. I think that does it.