



from math import factorial, radians






def 	_lowerCAmelCase						(				__lowerCamelCase   :     float		,	__lowerCamelCase   :     int = 18		,	__lowerCamelCase   :     int = 10     ):



 """simple docstring"""





 __SCREAMING_SNAKE_CASE       :    Any       =	angle_in_degrees - ((angle_in_degrees // 360.0) * 360.0)

 # Converting from degrees to radians
 __SCREAMING_SNAKE_CASE       :    Tuple       =	radians(__lowerCamelCase     )

 __SCREAMING_SNAKE_CASE       :    Tuple       =	angle_in_radians
 __SCREAMING_SNAKE_CASE       :    Union[str, Any]       =	3
 __SCREAMING_SNAKE_CASE       :    str       =	-1

 for _ in range(__lowerCamelCase     ):
  result += (b * (angle_in_radians**a)) / factorial(__lowerCamelCase     )

  __SCREAMING_SNAKE_CASE       :    Optional[Any]       =	-b  # One positive term and the next will be negative and so on...
  a += 2  # Increased by 2 for every term.

 return round(__lowerCamelCase		,	__lowerCamelCase     )


if __name__ == "__main__":
      __import__("""doctest""").testmod()











from diffusers.utils.testing_utils import require_onnxruntime

@require_onnxruntime
class       _SCREAMING_SNAKE_CASE	:
     pass






