Step 1: Understanding the Question:
We need to simplify the expression:
\[
5\sqrt{5} \times 5^3 \div 5^{-3/2}
\]
and compare it with:
\[
5^{x+2}
\]
to find the value of \(x\).
Step 2: Key Formula or Approach:
Use the laws of exponents:
\[
a^m \times a^n=a^{m+n}
\]
\[
\frac{a^m}{a^n}=a^{m-n}
\]
Also,
\[
\sqrt{5}=5^{1/2}
\]
Step 3: Detailed Explanation:
Rewrite the expression:
\[
5\sqrt{5} \times 5^3 \div 5^{-3/2}
\]
Since:
\[
5\sqrt{5}=5^1 \times 5^{1/2}=5^{3/2}
\]
So:
\[
5^{3/2}\times 5^3 \div 5^{-3/2}
\]
Apply exponent rules:
\[
=5^{3/2+3-(-3/2)}
\]
\[
=5^{3/2+3+3/2}
\]
\[
=5^{3+3}
\]
\[
=5^6
\]
Given:
\[
5^{x+2}=5^6
\]
Equate exponents:
\[
x+2=6
\]
\[
x=4
\]
Step 4: Final Answer:
The value of \(x\) is:
\[
\boxed{4}
\]
Hence, the correct option is:
\[
\boxed{\text{(D) 4}}
\]