Introduction: In the field of physics, the weight and density of objects play crucial roles in how we understand and…