The above diagram shows the problem description.
I have to find the final temperature distribution after thermal equilibrium.
I am assuming that the thermal energy is conserved but not the temperature.(Correct me if I am wrong)
Energy of the materials at initial state is (Refer Image)
For...