Floating
Floating is the condition in which an object or substance remains at the surface of a liquid or within a gas, rather than sinking or settling. It results from buoyancy, governed by density contrasts and gravity. Archimedes’ principle states that the buoyant force on a submerged object equals the weight of the displaced fluid. If the object's average density is less than the surrounding fluid, it experiences a net upward force and floats; if it is denser, it sinks; if densities are equal, it is neutrally buoyant.
In fluids such as water, floating is exploited by ships and boats whose hulls displace enough water
Floating can also occur in air. Lighter‑than‑air craft, such as balloons and airships, rise because the gas
In computing, floating-point numbers represent real values with a mantissa and exponent, allowing a wide range
Applications of floating extend from navigation and oceanography to graphics, scientific computing, and embedded systems, where