I get confused when I read that the Energy of wave in classical mechanics is correlated to the amplitude E ~ A^2
(pls. point me to a doc which shows that, couldn't find any exact formula on internet), but then when we are talking about atoms,photons,electrons
they say it is dependent on the...