Revealing a quantum feature of dimensionless uncertainty in linear and quadratic potentials by changing potential intervals