A numerical approach for a class of nonlinear optimal control problems with piecewise fractional derivative. (November 2021)