Electron cyclotron wave and electrostatic wave in bounded plasmas