A glass bottle filled with oil weighs 590 grams. After Sophia uses 200 milliliters of oil, the bottle of oil weighs 400 grams.

The weight M of the bottle of oil, in grams, is a function of V, the volume, in milliliters, of oil Sophia has used.
Write the function's formula.

To find the function's formula, we need to determine the relationship between the weight M and the volume V.

From the given information, we can determine that 590 grams is the initial weight of the bottle filled with oil and 200 milliliters is the volume Sophia has used. The weight after using 200 milliliters is 400 grams.

Let's assume that the weight of the oil decreases linearly with the volume used.

The change in weight is 590 grams - 400 grams = -190 grams.
The change in volume is 0 milliliters - 200 milliliters = -200 milliliters.

We can use the formula for the equation of a straight line, y = mx + b, where y represents the weight M, x represents the volume V, m is the slope, and b is the y-intercept.

We can calculate the slope m using the formula: m = (change in y) / (change in x) = (-190 grams) / (-200 milliliters) = 0.95 grams/mL.

The y-intercept b is the initial weight of the bottle filled with oil, which is 590 grams.

The formula for the function M, weight as a function of volume, can be written as:

M(V) = 0.95V + 590

Therefore, the function's formula is M(V) = 0.95V + 590.