maths.quadratic_equations_complex_numbers ========================================= .. py:module:: maths.quadratic_equations_complex_numbers Functions --------- .. autoapisummary:: maths.quadratic_equations_complex_numbers.main maths.quadratic_equations_complex_numbers.quadratic_roots Module Contents --------------- .. py:function:: main() .. py:function:: quadratic_roots(a: int, b: int, c: int) -> tuple[complex, complex] Given the numerical coefficients a, b and c, calculates the roots for any quadratic equation of the form ax^2 + bx + c >>> quadratic_roots(a=1, b=3, c=-4) (1.0, -4.0) >>> quadratic_roots(5, 6, 1) (-0.2, -1.0) >>> quadratic_roots(1, -6, 25) ((3+4j), (3-4j))