Probability for roots of quadratic equation to be real, with coefficients being dice rolls. I really need help with this question.

The coefficients $a,b,c$ of the quadratic equation $ax^2+bx+c=0$ are determined by throwing $3$ dice and reading off the value shown on the uppermost face of each die, so that the first die gives $a$, the second $b$ and and third $c$. Find the probabilities that the roots the equations are real, complex and equal.

I was thinking about using the fundamental formula but i'm not sure how to go about doing it. Help would be greatly appreciated.
 A: The value of the discriminant $b^2−4ac$ tells you which of the three cases, with regards to the roots, you are in. I'm assuming your three cases are: complex non-real roots, real distinct roots, and a real repeated root.
For instance, there are distinct real roots if and only if $b^2−4ac>0$. 
So, to find the probability that the roots are distinct and real, first find the number of outcomes in which 
the square of the second roll exceeds  4 times the product of the first and last rolls.
Let's do this. Assuming the dies are all six-sided, computing the number of such outcomes will be easy if you consider the value of the second roll:
If the second roll is 1 or  2 this can't happen (keep in mind we want $b^2>4ac$).
If the second roll is 3, there are exactly three outcomes: first roll 1, third 1 ($9>4\cdot1\cdot1$); 
first roll 2, third 1  ($9>4\cdot2\cdot1$); and first roll 1, third 2  ($9>4\cdot1\cdot2$).
I'll leave the rest for you... 
The point is you can, with a bit of effort, find the number of outcomes for which the roots will be distinct and real. You just need to enumerate them so that you find them all. 
Now, if the number of outcomes where the roots are distinct and real is $m$, then the probability that the roots are distinct and real is $m\cdot(1/6^3)$.
That's one case. Now do   easy case (with regards to counting outcomes): the probability that the roots are the same is the probability that the square of the second roll is equal to  four times the product of the other two rolls (the roots are equal if and only if $b^2=4ac $).  Find the number of outcomes for which this happens and multiply by $1/6^3 $.
The last case you can compute more easily. Just sum the two previous probabilities and subtract from 1 (one of the three cases has to happen and the three cases are mutually exclusive).
A: For roots to be real,
$ b^2 - 4ac >= 0 $
the following values of {b,a,c} are possible,
{2,1,1} 
{3,1,1} {3,1,2} {3,2,1} 
{4,1,1} {4,1,2} {4,2,1} {4,2,2} {4,3,1} {4,13,}
{5,1,1} {5,1,2} {5,2,1} {5,2,2} {5,3,2} {5,2,3} {5,3,1} {5,1,3}
{6,1,1} {6,1,2} {6,2,1} {6,2,2} {6,3,1} {6,1,3} {6,3,3} {6,3,2} {6,2,3}
These are 27 cases.
While the total cases possible for the values of a, b, c are 6*6*6
hence probability equals $\frac{27}{216}$ = $0.125$
..........................................................................................................................................
For the roots to be complex, 60 - 27 = 33 cases are possible,
probability equals $\frac{3}{216}$ = $0.152$
..........................................................................................................................................
For roots to be equal, discriminant 
$ b^2 - 4ac = 0 $
which is possible for the following values of {b,a,c} only {6,3,3}, {4,2,2}, {2,1,1},
probability equals  $\frac{3}{216}$ = $0.0138$
A: Or using a computer (in this case haskell):
$ ghci
GHCi, version 7.0.3: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> let cases = [b^2-4*a*c | a <- [1..6], b <-[1..6], c <-[1..6]]
Prelude> sum [ 1 | x <- cases]
216
Prelude> sum [ 1 | x <- cases, x > 0]
38
Prelude> sum [ 1 | x <- cases, x == 0]
5
Prelude> sum [ 1 | x <- cases, x < 0]
173
Prelude> :q
Leaving GHCi.

