Select function: 
51015−5−10−15246810−2−4−6−8−10−12
a = 1.0
p = 1.0
q = 1.0
θ = 0.52
r = 1 + cos ( 0.52c ) = 1.87