Three Essays on Stochastic Optimization Applied in Financial Engineering and Inventory Management