Numerical optimizationThe function f(a,b) = a^2*e^(a*b) + 3*a*ln(b)is calculated by:x1 = a^2x2 = a*bx3 = e^x2x4 = ln(b)x5 = a*x4x6 = 3*x5x7 = x1*x3f = x6 +x7Use forward-mode automatic differentiation to find f(0.3,0.5) andD_p f(0.3,0.5), where p = [a b]^T = [1 2]^T.
Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!
(Save $1 )
One time Pay
(Save $5 )
Billed Monthly
*First month only
You can see the logs in the Dashboard.