The unit price of apple per kilogram is 2.5 yuan. Please write down the analytic formula and domain of the function between the total price of apple and the weight x kilogram Just taught me how to learn function. Thank you
y=2.5x
X > 0 [the weight purchased must be positive]