Calculate p and t and print