A Course in Modern Analysis and its Applications