ParentFull threadlongemen3000·Maybe the derivation could be done by the complex step trick, if programing an AD system is too hardView on HN