It is given that mass is proportional to velocity, density and acceleration due to gravity
m∝vρg
[m]=k[v]a[ρ]b[g]c............(1)
Dimensional formula for mass is [ML0T0]
Dimensional formula for velocity is [LT−1]
Dimensional formula for density is [ML−3]
Dimensional formula for acceleration due to gravity is [LT−2]
So, [ML0T0]=k[LT−1]a[ML−3]b[LT−2]c
ML0T0=MbLa−3b+cT−a−2c
Now, on comparing the powers
b=1
a−3b+c=0ora+c=3
−a−2c=0ora+2c=0
so,a=6
c=−3
Put values of a,b and c in equation (1)
m=kv6ρg−3
m∝v6
So, mass varies with sixth power of velocity.