and they are on opposite ends of the electromagnetic spectrum, then why can't light travel through walls which is right in the middle of the spectrum?  

This question has already been asked [here](http://www.physlink.com/Education/AskExperts/ae175.cfm?CFID=38736108&CFTOKEN=686d5d990db4e8a0-A73FF6D5-15C5-EE01-B960081244D63FF9). However, I am not entirely satisfied by the answer given on that page which relies on fanciful analogies and metaphors of ants, elephants etc. I am looking for a better explanation.  

I think the crux of the matter, and my dilemma, relates to formula for [penetration depth](http://en.wikipedia.org/wiki/Penetration_depth). This is a well known formula used to explain the fact that low frequency waves have more penetration than high frequency waves.   

But then how come gamma waves have such high penetration?   

Are there some assumptions behind derivation of this formula which break when we consider very high frequency waves?  

Or, are there some new factors that need to be taken into account as we move into the high frequency regime?   

Could it be that maybe there are no assumptions behind the formula that break down when considering very high frequency waves, but we need to consider gamma waves as particles in order to fully understand their penetration through matter? 

If given a radio source and a gamma source of equal intensity, then will the radio source have more penetrability than the gamma source per formula for [penetration depth](http://en.wikipedia.org/wiki/Penetration_depth)? If not, why not?