Text this: Discrete-time nonlinear stochastic optimal control problem based on stochastic approximation approach