Application of Optimal Control Theory on Tractor-Trailer Combination for Farm Use