Work As An Integral