A floating object is displacing fluids that would somehow or another fill the space it occupies. For instance, a ball floating motionless on…