Compare and contrast the following exchange rate systems:
- fixed exchange rate system
- floating exchange rate system
- pegged exchange rate system
Thoroughly discuss advantages and disadvantages of each system and explain how exchange rates are determined under each system.