by using electromagnetic radiation or mechanical waves