where f is the external force applied to the effective mass, and i is the output current of the device. From Equation (5), the displacement of the cantilever at the static balance, zs, made by the gravitational force of the effective mass is determined by solving the following equation