Question: how to figure out how much interest you'll earn?
Answer: The amount of your deposit, or the amount you lend, using the variable “p” for "principal"
How frequently to calculate and pay interest (yearly, monthly, or daily, for example), using “n” for the number of times per year.