Dynamic Programming Under Parametric Uncertainty With Applications In Cyber Security And Project Management