The question is "Find the tangent to y = 2 - sin(x); Where x = Pi"
I've solved this equation but looking at my work is not helping.
First I get the derivative of the question which nets me " - cos X" by using the power rule/trig derivatives. Than I substitute x for Pi which gets me a positive 1.
From here it gets weird because now I have y - 2 = cos (x) * (x - Pi). I'm not sure why the 2 is set up like that.
Next I have y = cos x*x-cos(x) Pi + 2 = y = x - Pi + x. Which is the answer.
I did this with a tutor but I can't understand why after getting a 1 I have to loop around and do all of this extra work. Can someone please explain why I am doing this and for what purpose? What does tangent in this scenario do for helping me in graphing or finding derivatives?
EDIT: Better asked, What am I suppose to do after I find the Gradient as @Patrick Stevens has pointed out?