polynom

Functions about polynoms.

td1a_unit_test_ci.polynom.solve_polynom(a, b, c)[source]

Solve a real polynom of degree 2.

Paramètres:
  • a – coefficient for \(x^2\)

  • b – coefficient for \(x\)

  • c – coefficient for \(1\)

Renvoie:

couple of solutions or one if the degree is 1.