add 3^7 * 2^4 + 1, cost + 0.5(0.2dbl + 0.3add)/(0.1tri + 1)