Hey im working on a program that evaluates the area under a curve. The curves that will be asked to evaluate are polynomials of the 4th, 3rd, and 2nd order:

4th order:

y(x) = ax4 + bx3 + cx2 + dx + e

3rd order:

y(x) = ax3 + bx2 + cx + d

2nd order:

y(x) = ax2 + bx + c

need to have the user specify whether they want to use a 4th, 3rd, or 2nd order polynomial. The user will then be prompted to specify the coefficients (a, b, c, etc. ) for their equation. This will be the equation used in the calculations.

i dont know were to really start and looking for advice and some help with the math because calculus is not my strong point.

4th order:

y(x) = ax4 + bx3 + cx2 + dx + e

3rd order:

y(x) = ax3 + bx2 + cx + d

2nd order:

y(x) = ax2 + bx + c

need to have the user specify whether they want to use a 4th, 3rd, or 2nd order polynomial. The user will then be prompted to specify the coefficients (a, b, c, etc. ) for their equation. This will be the equation used in the calculations.

i dont know were to really start and looking for advice and some help with the math because calculus is not my strong point.