设f’(x)=cosx一2x,且f(0)=2,求f(x)。
【正确答案】正确答案:∫f"(x)dx=∫(cosx一2x)dx=sinx一x 2 +C 故f(x)=sinx-x 2 +C 又f(0)=2,得C=2, 故f(x)=sinx一x 2 +2
【答案解析】