Reputation: 11
I have this; (x)=-(x^3+6*x^2-18*x)/(4*(x^2+2)); Have differentiated and tried to solve for x but get too many answers. graph
Upvotes: 0
Views: 1942
Reputation: 5335
Use realroots
to discard complex roots:
y:-(x^3+6*x^2-18*x)/(4*(x^2+2));
realroots(diff(y,x)=0),numer;
[x=-1.688117772340774,x=0.8158789575099945]
Upvotes: 1