>>> import math >>> from mat import f_mat >>> x=round(f_mat(10, 20), 1) >>> x 0.8 >>> x=round(f_mat(0.5, 0.8), 1) >>> x 1.7 >>> x=round(f_mat(0, 0), 1) >>> x 2.2 >>> x=round(f_mat(math.pi/2, 0), 1) >>> x 1.2