On the Numerical Solutions for Solving Optimal Control Problems: Continuous Optimal Control Problems