The mass of an empty density bottle is 30g. When filled with a liquid, the…