# ICE: Matlab For

Given some positive number \(K\), write a Matlab function to compute \[ \sum_{k=0}^K \frac{1}{3^k}. \] The function will take one input: the value of \(K\).

The last test will take place at the final exam time on
Tuesday, 12 December, from 1:30-3:30. It will be written as a one-hour (not
50 minute) exam, but you may have the full two hours for it.
In other respects it will be very like the other tests, but
comprehensive - it will emphasize Python, but cover all the
topics we have seen.

Assignment A
is posted.