Modified index Homework 3