Electron Density Profiles In The Ionosphere And Exosphere