Analytical investigation and numerical verification of Casimir effect on electrostatic nano-cantilevers