I have the following equation:
$$D=\frac{1}{64} \pi A ^3 B \sin \left(C\right)-\frac{1}{2} \pi A B \sin \left(C\right)$$
which I want to solve for $A$. The equation is cubic in $A$ so this should give me 3 answers and, potentially, imaginary parts to the answers. I know, from the physical meaning of the parameters, that all parameters ($A$,$B$,$C$ and $D$) are positive and real.
My question is: how can I use Solve on this equation and make sure that there will be no imaginary parts popping up in the solution?
I have used the suggestion by Chris and tried:
Solve[d == 1/64 π a^3 b Sin[c] - 1/2 π a b Sin[c], a, Reals]
but I still see that there is a $\imath\sqrt{3}$ term in the answer. Why does this still appear?


Solve[F[x],x,Reals]as suggested in http://reference.wolfram.com/mathematica/ref/Solve.html ? e.g. 'Solve[x^3 + 2 x^2 + 3 x + 4 == 0, x, Reals] // N' – chris Feb 26 '13 at 20:38ToRadicalsas in my answer below – chris Feb 26 '13 at 20:47Acan be positive; they must sum to zero (the coefficient of the quadratic term). Also it would be helpful to post Mathematica notation so it can be cut/pasted rather than keyed in from scratch by all concerned. – Daniel Lichtblau Feb 26 '13 at 20:57SolveoptionCubics->False. – Daniel Lichtblau Feb 26 '13 at 21:07Cubics->Falseoption doesn't solve it however – Michiel Feb 27 '13 at 06:29Cubics->Falseone gets explicit Root[] functions as solutions. When you plug in numeric values for the parameters they will numericize to reals if they are indeed real valued. To see what I mean, try this.ss = a /. Solve[d == 1/64 \[Pi] a^3 b Sin[c] - 1/2 \[Pi] a b Sin[c], a, Cubics -> False]; sseval = ss /. {d -> 1/2, b -> 3/4, c -> 7}; N[sseval] Out[1765]= {-5.30097556376, -0.654772200975, 5.95574776474}Then repeat withssrad = a /. Solve[d == 1/64 \[Pi] a^3 b Sin[c] - 1/2 \[Pi] a b Sin[c], a, Cubics -> True];etc. – Daniel Lichtblau Feb 27 '13 at 15:01