The word DOCUMENT has the following letters:
Vowels: O, U, E (3 vowels)
Consonants: D, C, M, N, T (5 consonants)
Since all vowels must come together, treat the vowels (O, U, E) as one single block.
This gives:
1 vowel block (OUE) + 5 consonants (D, C, M, N, T) = 6 units to arrange
The 6 units can be arranged in:
6!=6×5×4×3×2×1
=720 ways
Within the vowel block, the 3 vowels can be arranged among themselves in:
3!=3×2×1
=6 ways
Total arrangements = (Ways to arrange the 6 units) × (Ways to arrange vowels within the block)
Total =6!×3!
=720×6
=4320
Therefore, the letters of DOCUMENT can be arranged in 4320 ways with all vowels together.