-4
$\begingroup$

I need to ask Mathematica to solve the symbolic quadratic equation ax2 + bx + c = 0. Does it give you the right answer?

$\endgroup$

closed as off-topic by Yves Klett, Kuba, Karsten 7., Sjoerd C. de Vries, m_goldberg Mar 24 '15 at 13:27

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Yves Klett, Karsten 7., Sjoerd C. de Vries, m_goldberg
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ Could you provide the equation in proper Mathematica code? Do you mean a x^2 +b x+c==0? $\endgroup$ – Karsten 7. Mar 22 '15 at 23:06
  • $\begingroup$ the command to solve polynomial is called Solve. Try it and if you still can't do it, post what you tried. $\endgroup$ – Nasser Mar 22 '15 at 23:25
  • $\begingroup$ Mathematica can't answer that question because (I'm batman) it assumes that a,b and c are variables. The answer you are looking for (quadratic formula will not be given) Not directly though you can try this link <Link> in a minute</link> $\endgroup$ – Jawad_Mansoor Mar 11 '17 at 11:03
  • $\begingroup$ The link is [here] [here]mathematica.stackexchange.com/questions/29667/… $\endgroup$ – Jawad_Mansoor Mar 11 '17 at 11:20
6
$\begingroup$

try with: Solve[a*x^2 + b*x + c == 0, x]

$\endgroup$
  • $\begingroup$ @laura, refer to comment above as you will not be able to get quadratic formula direclty from mathematica. $\endgroup$ – Jawad_Mansoor Mar 11 '17 at 11:03
6
$\begingroup$

In Mathematica 10:

==Hello I would like to solve the quadratic equation please

enter image description here

$\endgroup$
  • 8
    $\begingroup$ Being polite to the free-form input parser is very important! $\endgroup$ – kirma Mar 23 '15 at 21:23

Not the answer you're looking for? Browse other questions tagged or ask your own question.