Before you attempt this activity, it is best that you review lecture video three from week two. You can find the video and slides on the module page.
For this activity you will be using the integrated development environment recommended by the module leader. If you need to set up your development environment, it is recommended that you check out the instructions from activity four of week one.
Are You Struggling?
If you have trouble with any of the tasks or want to check your answers are correct, then please make yourself known to a member of staff.
For this task, you will be testing your knowledge on arithmetic and in particular the process of calculating interest. You are required to provide an equation that will calculate the interest earned on a principal figure over a defined period of time for a set interest rate. The values and variables are defined below:
Variable | Definition | Value |
---|---|---|
\(p\) | The principal amount. | £10,492 |
\(t\) | The length of time. | 7 Years |
\(r\) | The rate of interest. | 0.025% |
For this task, you will be testing your knowledge on arithmetic and assigning the result of an equation to a variable. To complete this task, you will need to answer the series of questions below, providing a solution in Python.
For this task, you will be using the assignment operator ('\(=\)') in conjunction with an arithmetic operator to provide a solution to these questions:
For this task you are expected to use notation similar to \(*=\) to solve the problems above.
For this task, you will be using the comparison operators. You are required to provide solutions that would satisfy the questions provided below.
For this task you are expected to use the same value for \(a\) to solve each of the equations above.
For this task, you are required to answer the following questions with an appropriate solution: