Dimensions of velocity, coefficient of viscosity and density are,
[v]=[LT−1]
[η]=[Adxdv][F]=[L2][T−1][MLT−2]=[ML−1T−1]
[ρ]=[ML−3]
Now, [v]=[η]x[ρ]y[r]z
⇒[LT−1]=[ML−1T−1]x[ML−3]y[L]z
Now, by using dimensional homogeneity, we will get,
M0=M(x+y)
⇒y=−x
For T,
x=1
⇒y=−x=−1
For L,
1=−x−3y+z
⇒z=−1