To measure the coefficient of friction of a block sliding on a surface, you just have to mount a simple experiment like the following one: