Question: Remainder Lagrange in series

dear all

I hope to write taylor expansion with remainder lagrange ..That is taylor lagrange expansion of a given function.

I tried 
series(cos(x),x=0,5) 

or taylor(cos(x),x=0,5) 
always the remainder written USING O(x^6)
I want the reminder depend on the derivative ..that is Lagrange Taylor expansion

Many thanks

Please Wait...