Is it possible to multiply an arrange of numbers by a cell?

For example:

A B
1 x
2
3
4
5

Is there a way to multiply A2:A6 by whatever value is in B2? I want to be able to change B2 and have the numbers in A2:A6 change.

Thanks,
Bob