The number of roots of a quadratic function can be determined from its discriminant.
If Disc> 0, the function has two distinct roots
If Disc = 0, the function has a repeated root
If Disc < 0, the function has no real root.
The discriminant can be calculated as:
Disc = b² - 4ac
For the given equation:
Disc = 9 - 4(2)(1) =1
Since the value of discriminant is positive, the function will have two distinct roots.
So, the answer to this question is option B