[/quote]# In this project, you will write a program that will factor a trinomial of the form ax2 + bx + c
# Here are some assumptions you should make:
* a, b, and c are all integers.
* a is positive.
* c is nonzero.
# Remember that if ax2 + bx + c = (d1 + e1)(d2 + e2), then a = d1d2 and c = e1e2. This means that both d1 and d2 are to be divisors of a, and e1 and e2 are to be divisors of c. This gives you a method of checking for values of d1, d2, e1, and e2.
# Keep in mind also that you have to consider both positive and negative values of e1 and e2.
# The input will be the coefficients for the trinomial. You will output the factorization (if it can be factored), or a message indicating that it cannot be factored. [/quote]
I'm lost on this one. I understand what it is looking for, but I'm not even sure where to start or what to do.
# Here are some assumptions you should make:
* a, b, and c are all integers.
* a is positive.
* c is nonzero.
# Remember that if ax2 + bx + c = (d1 + e1)(d2 + e2), then a = d1d2 and c = e1e2. This means that both d1 and d2 are to be divisors of a, and e1 and e2 are to be divisors of c. This gives you a method of checking for values of d1, d2, e1, and e2.
# Keep in mind also that you have to consider both positive and negative values of e1 and e2.
# The input will be the coefficients for the trinomial. You will output the factorization (if it can be factored), or a message indicating that it cannot be factored. [/quote]
I'm lost on this one. I understand what it is looking for, but I'm not even sure where to start or what to do.