sub find_slope [view]