单项选择题

sympy中,用哪个函数可以求出定积分()

A.diff(f,x)
B.integrate(f,(x,1,2))
C.diff(f,x,x)
D.integrate(f,x,3)