convert physical quantity to basic units