A function f is defined by f(x)=|x|m|x−1|m,∀x∈R.The maximum value of the function is ? (m,n∈N)
mnnm×mmnn equals