Slope from equation