There is no built-in function for this. I'm not very familiar with this area, so I'm not sure how easily it could be implemented.
I don't know what alpha, f(alpha), q, Dq.etc are and really. Can you possibly break the analysis down into parts and try to implement those?