



"""simple docstring"""







from math import factorial, radians

def     UpperCamelCase_   (   lowerCAmelCase__				:    float   ,       lowerCAmelCase__				:    int = 18   ,       lowerCAmelCase__				:    int = 10						)						->       float:

  """simple docstring"""




  lowerCAmelCase_       :    int								=			angle_in_degrees - ((angle_in_degrees // 360.0) * 360.0)

  # Converting from degrees to radians
  lowerCAmelCase_       :    Optional[int]								=			radians(lowerCAmelCase__						)

  lowerCAmelCase_       :    Optional[Any]								=			angle_in_radians
  lowerCAmelCase_       :    Tuple								=			3
  lowerCAmelCase_       :    str								=			-1

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

    lowerCAmelCase_       :    Dict								=			-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()










"""simple docstring"""







from diffusers.utils.testing_utils import require_onnxruntime







@require_onnxruntime
class 				UpperCamelCase__       :




      """simple docstring"""




      pass





