Write a sentence that illustrates the meaning of the word "capricious".
The boss's mood was as capricious as the weather, shifting from sunny to stormy in an instant.
The market was highly capricious, with prices fluctuating erratically throughout the day.