Question 1177214
<pre><font face = "consolas" color = "indigo" size = 3><b>
Hi
 9 balls:  5W and 4Bk  (9! ways of arranging 9 Balls)

I. Reserve one of each color for the end spots...leaving 7 balls
The 7 balls can be arrange in 7! ways.

II> P(different colors on both ends = 2*7!/9! (white or black on either end)
 2*7!/9!= 2/9*8 = 1/9*4 = 1/36 = .0278

Wish You the Best in your Studies.
</font></b></pre>