Home / Expert Answers / Computer Science / 1-table-1-shows-the-percentage-increases-in-tuition-fees-for-the-next-20-years-table-1-a-assume-pa846

(Solved): 1) Table 1 shows the percentage increases in tuition fees for the next 20 years. Table 1 a) Assume ...



1) Table 1 shows the percentage increases in tuition fees for the next 20 years.
Table 1
a) Assume that the current cost for

1) Table 1 shows the percentage increases in tuition fees for the next 20 years. Table 1 a) Assume that the current cost for one year at a local college is RM 4000 . Use a for loop to determine the total cost of a 4-year education for a student that will begins in year 17 until year 20. The tuition fees for each year can be calculated using Eq.1: Current Year Cost = Previous Year Cost + (Previous Year Cost * increase / 100) (Eq. I) [3 Marks] b) Plot the amount of the college cost ( \( y \)-axis) as a function of time (x-axis). Include appropriate title, \( x \)-axis and \( y \)-axis labels. Copy/paste your plot into your answer file. [2 Marks] 2) Use a while loop to determine how long it will take to accumulate RM 1000000 in a bank account that pays \( 6 \% \) annual interest if you deposit RM10000 initially and RM 1000 at the end of each year.


We have an Answer from Expert

View Expert Answer

Expert Answer


a) total_cost = 0 for i in range(17,21): current_cost = 4000 + (4000 * (1 + (i-1)*0.10)) total_c
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe