Text this: Nonlinear modeling of compliant mechanism