the price of a bushel of corn is currently $ 3.20 , and the price of a peck of wheat is $ 8.80 . the price of corn is increasing at a constant rate of 5 x cents per day while the price of wheat is decreasing at a constant rate of x ( 2 ^ 1 / 2 ) - x cents per day . what is the approximate price when a bushel of corn costs the same amount as a peck of wheat ?
import math
n0 = 3.2
n1 = 8.8
n2 = 5.0
n3 = 2.0
n4 = 1.0
n5 = 2.0
t0 = math.sqrt(max(0, n3))
t1 = n1 - n0
t2 = t0 - n4
t3 = n2 + t2
t4 = t1 / t3
t5 = n2 * t4
answer = n0 + t5
print(answer)