Factoring Polynomials

collin.day.0 at gmail.com collin.day.0 at gmail.com
Thu Dec 18 14:37:35 EST 2008


I am trying to write a simple application to factor polynomials. I
wrote (simple) raw_input lines to collect the a, b, and c values from
the user, but I dont know how to implement the quadratic equation

x = (-b +or- (b^2 - 4ac)^1/2) / 2a

into python. Any ideas?



More information about the Python-list mailing list