Dimensional analysis example