integrated with functions for expression (2),(22) and ((22))