`y = cos(x) - sin(x), (pi, -1)` Find an equation of the tangent line to the curve at the given point.

balajia | Student

The slope of the tangent =  `dy/dx` at (pi,-1).

`dy/dx = -sinx-cosx`

The slope of the tangent is equal to 1.

The equation of the tangent is `y-(-1)=1(x-pi)` .

that is `x-y=pi+1`

``