Derivation and optimization of deflection equations for tapered cantilever beams using the finite element method