Algorithm for Finding Optimal Control for Problems with a Free Right Endpoint Based on Gradient Descent | IEEE Conference Publication | IEEE Xplore