C [因为f(x)=2-|x|=所以
f(x)dx=-1(2+x)dx+(2-x)dx=+=+2=.]
5.设f(x)=则f(x)dx=( )
A. B.
C. D.
D [f(x)dx=x2dx+(2-x)dx
=x3+
=+=.]
二、填空题
6.若(2x-3x2)dx=0,则k等于__________.
1 [(2x-3x2)dx=(x2-x3)|=k2-k3=0,∴k=0(舍)或k=1.]
7.(1+cos x)dx等于________.
π+2 [∵(x+sin x)′=1+cos x,
8.已知f(x)=若f(f(1))=1,则a=__________.
1 [因为f(1)=lg 1=0,