def TR6(rv, max=4, pow=False):
 return _TR56(rv, cos, sin, (lambda x: (1 - x)), max=max, pow=pow)

def TR6 ( rv , max = 4 , pow = False ) : return _TR56 ( rv , cos , sin , ( lambda x : ( 1 - x ) ) , max = max , pow = pow )
replacement of cos**2 with 1 - sin(x)**2 .