Define a domain and randomly generate a value within that domain