解:∵f(x)=3sinx+4cosx,x∈[0,π],∴f(x)=5sin(x+φ),其中cosφ=35,sinφ=45则当x+φ=π2时,函数f(x)取最大值5当x=π时,函数f(x)取最小值-4故f(x)的值域为[-4,5]故选C.