By a root of an integrand i mean the place where the total_calka = 0.
There is the variable module. I just forgotten to add it, because i thought it would be unnecessary
module variables
implicit none
real(10) :: r, u, r6, tempred, f, r2, r1, calka,beta
real :: start, finish
integer:: i,k...