But when I apply SHA-256 to public key mentioned in example I'm getting another hash then shown in this article. Same happens when I perform RIPEMD-160 hashing of SHA-256 hash.
It happens not only when I follow this article but any other article too.
Could someone suggest what did I do wrong?
I had the same problems, the study is the key. For educational purpose a made this:
https://bitcointalksearch.org/topic/excel-hash-256-5322103
And use this site to learn how hash works:
https://www.fileformat.info/tool/hash.htm
This forum has a lot of material, for increase your learning.