Hello I have defined my distance function as
d = (5757*x^3)/100000 - (2227*x^2)/10000 + (1303*x)/2500 + 25/2
I then differentiate this to get diff
(5757*x^3)/100000 - (2227*x^2)/10000 + (1303*x)/2500 + 25/2 ans = (1303*x)/2500 - (4999*x^2)/100000 + 25/2
how would I calculate the gradient at varying X values?
Thanks. Gav.
Best Answer