Use five different colors to paint the four rectangles A, B, C and D shown in the figure. No two rectangles sharing an edge can be the same color. How many ways are there to color the rectangles?

There are 120 ways to color the 4 rectangles
The given parameters are:
Paints, n = 5
Rectangles, = 4
The number of ways to color the rectangles is
[tex]Ways = ^nP_r[/tex]
This gives
[tex]Ways = ^5P_4[/tex]
Apply the permutation formula
[tex]Ways = \frac{5!}{1!}[/tex]
Evaluate the expression
Ways = 120
Hence, there are 120 ways to color the 4 rectangles
Read more about permutation at:
https://brainly.com/question/1216161
#SPJ1