Analysis of Open and Closed Economies