Assume that the following variable declarations have been made.
double d = Math.random();
double r;
Which of the following assigns a value to r from the uniform distribution over the range 0.5 <= r < 5.5?
A) r = d + 0.5;
B) r = d + 0.5 * 5.0;
C) r = d * 5.0;
D) r = d * 5.0 + 0.5;
E) r = d * 5.5;