x * y = k
Where x and y are token reserves, and k is a constant.
Larger trades cause more slippage:
new_y = k / (x + dx) dy = y - new_y price_impact = dy / y