Example 6-16 shows how to write a program to factor a polynomial of the form x2 + bx + c, where b and c are integers. Modify the program so that it can also factor polynomials of the form ax2 + bx + c, where a, b, and c are integers. Note that the polynomial –2x2 – 3x + 2 can be factored as:
–2 x 2 – 3 x + 2 = (–2 x + 1) ( x + 2) = – (2 x – 1) ( x + 2).
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.