Topics in stochastic numerics with applications in finance and optimization