How do you calculate tension

2 answers

Due to bending in a beam?
Due to weight of mass hanging from ceiling by string?
Due to compression sound wave in steel bar?
Due to cooling of same bar while ends are fixed?
etc etc etc etc ........
I'm waiting for the answer here...

Talk about tension!