The second type of problem the calculus deals with is that of finding a function when its rate of change is given. Thus,for example,if we are given the velocity of a moving body at every instant of time,we may seek to find the distance it has movrd as a function of time.This problem belongs to the domain of integral calculus.