We have the theoretical formula to determine the temperature of the water flowing from the intake (of weir type) of a dam for the next two cases of the weter temperature T in a pond. If z is the depth of any point and H is a constant depth, the mean temperature T of the flowing water are
T=T0/2a(√H+a)2+r2-√(H-a)2+r2), when T=T0 for z≤H and T=0 for z≥H, and
T=β/4a{(H+a)√(H+a)2+r2-(H-a)√(H-a)2+r2-2a√a2+r2
-r2logH-a+√(H-a)2+r2/H+a+√(H+a)2+r2·a+√a2+r2/-a+√a2+r2}
when T=β(H-z) for z≤H and T=0 z≥H, a and r are the parameters that express the lengths and β is a constant.