计算题 11.设f’(x)=cosx一2x,且f(0)=2,求f(x)。
【正确答案】∫f'(x)dx=∫(cosx一2x)dx=sinx一x2+C
故f(x)=sinx-x2+C
又f(0)=2,得C=2,
故f(x)=sinx一x2+2
【答案解析】