https://nikofile2.blogsky.com/1396/07/05/post-1182/حل-عددی-در-مسائل-کنترل-بهینه