Diagram of a microcantilever vibrating close to a surface. A cantilever of length L, width b and thickness h, is vibrating at flexural mode n = 4. The cantilever-surface gap g was varied from ~200 μm to ~1 μm. Liquid confined in the gap causes additional hydrodynamic forces due to squeeze-film damping. The amplitude of vibration is drawn not to scale.