Electromagnetic waves problem explanation