设(0,1)之间的随机数为U(0,1),(-2,6)为U(-2,6)
[-2,6]的长度为(6-(-2))=8
U(-2,6)=-2+U(0,1)* (6-(-2))
U(-2,6)=-2+U(0,8)