Text this: Newton-Type Methods for Optimization and Variational Problems