Answer:
T = 3.967 °C
Step-by-step explanation:
The formula for density is mass divided by volume.
Using a mass of 1kg and applying the given volume formula V, we arrive at:
D = 1 / (999.87 - 0.06426T + 0.0085043T² - 0.0000679T³)
= (999.87 - 0.06426T + 0.0085043T² - 0.0000679T³)-1
To find the first derivative of D in relation to temperature T:
dD/dT = 
Setting dD/dT = 0 to determine critical points results in:
= 0
By applying the quadratic formula, we uncover the roots:
T = 79.53 and T = 3.967
Given that temperature is constrained between 0 and 30, we select T = 3.967.
Next, we calculate the second derivative to ascertain if it will yield a maximum:

Substituting T=3.967 into the equation:
d²D/dT² = -1.54 x 10-8 a negative outcome indicates a maximum.
When we input T = 3.967 into the volume equation, we find V = 0.001, which indicates that the density is highest at a volume of 0.001 m³, yielding a density of
D = 1/0.001 = 1000 kg/m³.
Thus, T = 3.967 °C.