if x+1 is a factor of x^3-2x^2+5x+c, find the value of c.

let f(x) = x^3-2x^2+5x+c

if x+1 is a factor, then
f(-1) = 0
-1 -2 -5 + c = 0
c = 8

To find the value of c, we need to use the fact that x+1 is a factor of x^3 - 2x^2 + 5x + c.

When x+1 is a factor of a polynomial, it means that if we substitute x = -1 into the polynomial, we will get zero.

So, let's substitute x = -1 into the given polynomial and solve for c:

(-1)^3 - 2(-1)^2 + 5(-1) + c = 0

Simplifying the equation:

-1 + 2 - 5 + c = 0

-4 + c = 0

c = 4

Therefore, the value of c is 4.