How to solve this using following method.
$\int_0^1 |x-5| dx$
I know how to use similar question.
If we have given -
$\int_1^5 |x-3| dx$
Then using method it changes into -
$\int_1^3 -(x-5) dx + \int_3^5 (x-5) dx$
Then we integrate.
But I don't know how to change above question using this method.