Interest earned on a fixed deposit is governed by compound interest. This computation is not easy to master and manually…