The law of floatation states that a floating object displaces a fluid such that weight of the displaced fluid is equal to the weight of the object.
An object is immersed in a fluid. In order that the object becomes invisible, it should