I need some help solving a third order polynom. I have the function showen in the code. And I would like to get x. The first solution i expect is 30 for the code below.
Later I would like to solve e.g.: "fun == 200" and I expect the result to be 10.859
syms x;fun = (pi*(x^3 - 234*x^2 + 18252*x))/2700;eqn1 = fun == (674*pi)/5; %original Function
eqn2 = fun == 423.4867; %rounded
solve(eqn1,x) 30 102 - 3^(1/2)*24i 102 + 3^(1/2)*24isolve(eqn2,x) root(4398046511104*z^3*pi - 1029142883598336*z^2*pi + 80273144920670208*z*pi - 5028788349271654875, z, 1) root(4398046511104*z^3*pi - 1029142883598336*z^2*pi + 80273144920670208*z*pi - 5028788349271654875, z, 2) root(4398046511104*z^3*pi - 1029142883598336*z^2*pi + 80273144920670208*z*pi - 5028788349271654875, z, 3)
Best Answer