A rod of length l with thermally insulated lateral surface consists of material whose heat conductivity coefficient varies with temperature as k=a/T, where a is a constant. The ends of the rod are kept at temperatures T1 and T2. Find the function T(x), where x is the distance from the end whose temperature is T1.