POCKETBOOK functions mathematical