Note: cosp and sinp take radian values; degree
values are shown in this demo for ease of interpretation.
The functions cosp, sinp satisfy:
|cosp(1, x)| + |sinp(1, x)| = 1 for all x
|cosp(2, x)|2 + |sinp(2, x)|2 = 1 for all x
|cosp(3, x)|3 + |sinp(3, x)|3 = 1 for all x