My Solutions to some common Optimization problems