Part B: Write one function for each option to describe the value of the investment f(n), in dollars, after n years. (4 points)

Number of years 1 2 3
Option 1 (amount in dollars) 1100,1210,1331
Option 2 (amount in dollars) 1100 ,1200,1300