Text this: Modeling of electrostatic actuated mems cantilever beam for application as optical switch