fit an equation to it