Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Create a code snippet to find the roots of a quadratic equation.

### Response:
def quadratic_roots(a, b, c): 
    determinant = (b**2 - 4*a*c) 
    root1 = (-b + math.sqrt(determinant)) / (2*a)
    root2 = (-b - math.sqrt(determinant)) / (2*a)
  
    return root1, root2