Text this: On the Weierstrass Theorem on extrema and its application for finding fixed points and zeros of mappings