
Kaley W. answered 05/29/19
Experienced Tutor Specializing in Python Programming
Total price of gas depends on three values: price per gallon, number of miles traveled, and MPG. Assuming none of these is constant, then we do have a function in which total price depends on MPG, but it also depends on two other variables. We have a multivariable function, with dependent variable total price and independent variables price per gallon, miles traveled, and MPG.