Text this: PDE Constrained Optimization in Stochastic and Deterministic Problems of Multiphysics and Finance