Activity 1 ^^^^^^^^^^ .. image:: ../img/calculator.jpg :width: 700 * **Due**: Friday October 09th at 11:59 PM, via OWL (in the ``Assignments`` tab) * **Marking Scheme**: `act1_marking_scheme.txt `_ What you need to do ------------------- Build a function to compute compound interest given a starting amount(``P``), an annual interest rate (``r``), the number of compoundings per year (``n``) and the total number of years (``t``). Your function should return ``A``, which is the value of the principle plus the interest after compounding. Use this formula: .. image:: ../img/compound_interest.png :width: 600 Call your function with the following test values: ``P = 1000``, ``r = 0.02``, ``n=1``, ``t=5``. Print the resulting output. What to submit (in zipped folder) --------------------------------- 1. Your python file (``activity1.py``) 2. A text file with your output (``output.txt``)