Using the fact that tan(q) is the slope which is the derivative of y(x,t) with respect to x, we can write this as
Thus
Making the size of Dx approach zero
Dividing both sides by mDx leads to
Newton's second law along the y-axis