问题 选择题

函数f(x)=sinx+cosx在点(0,f(0))处的切线方程为(  )

A.x-y+1=0

B.x-y-1=0

C.x+y-1=0

D.x+y+1=0

答案

∵f(x)=sinx+cosx

∴f′(x)=cosx-sinx

∴f'(0)=1,所以函数f(x)在点(0,f(0))处的切线斜率为1;

又f(0)=1,

∴函数f(x)=sinx+cosx在点(0,f(0))处的切线方程为:

y-1=x-0.即x-y+1=0.

故选A.

选择题
单项选择题