Evaluate slope of a tangent line:

y=1-(1/2)x^2, P(2,-1)

The answer is supposed to be -1, but I'm getting -2.

[1-2-2h-(1/2)h^2]-[-1]/h

[-1-2h-(1/2)h^2+1]/h

[h(-2-1/2h)]/h

-1/2(0)-2

=-2

first using calculus to check

y=1-(1/2)x^2, P(2,-1)
dy/dx = -x
at x = 2
That is
-2
Like you are right, period.

y=1-(1/2)x^2

y'=0-2/2 x
slope= -x=-2

The lim method:
=1-(1/2)(x+h)^2 -1+1/2(x)^2
= 1-1/2)(x^2+2xh+h^2)-1+1/2(x)^2 all over h
as h > 0
= ( -xh-h^2)/h= -x at at 2,-1
=-2

To evaluate the slope of the tangent line to the curve at point P(2,-1), you can use the concept of derivative.

To find the derivative of the function y = 1 - (1/2)x^2, you can apply the power rule for differentiation. The power rule states that if you have a function of the form y = kx^n, then the derivative is given by dy/dx = knx^(n-1).

In this case, you need to find the derivative dy/dx of y = 1 - (1/2)x^2. Applying the power rule, you get:

dy/dx = 0 - (1/2) * 2x^(2-1)
= -x

Now that you have the derivative, you can evaluate the slope at point P(2,-1) by substituting x = 2 into the derivative:

slope = dy/dx = -2

Therefore, the correct answer is -2, not -1. It seems there might be an error in the provided answer.