how does the amount of energy relate to wavelength and frequency how does the amount of energy in a wave relate to the amount of danger it poses to living things?