Limit of a chord

Introducing the gradient function