Yes. The buoyancy of an object comes down to the difference between its density and the density of the surrounding medium. Whether you’re talking about compressing the medium or compressing gas within an object then the buoyancy of the object will change.
Latest Answers