Exercises in intertemporal open economy macroeconomic