



'''simple docstring'''





from __future__ import annotations

import math
from collections.abc import Callable




def        lowerCamelCase  (				_snake_case  :						Callable[[int | float], int | float]     ,   _snake_case  :						int | float     ,   _snake_case  :						int | float     ,   _snake_case  :						int = 100     ,   ):





    '''simple docstring'''


    lowercase__		       =						x_start
    lowercase__		       =						fnc(_snake_case       )
    lowercase__		       =						0.0

    for _ in range(_snake_case       ):
        # Approximates curve as a sequence of linear lines and sums their length
        lowercase__		       =						(x_end - x_start) / steps + xa
        lowercase__		       =						fnc(_snake_case       )
        length += math.hypot(xa - xa     ,   fxa - fxa       )

        # Increment step
        lowercase__		       =						xa
        lowercase__		       =						fxa

    return length


if __name__ == "__main__":




 def        lowerCamelCase  (				_snake_case  :						str       ):





     '''simple docstring'''


     return math.sin(10 * x       )

 print("f(x) = sin(10 * x)")
 print("The length of the curve from x = -10 to x = 10 is:")
 SCREAMING_SNAKE_CASE__      					=     10
 while i <= 10_0000:
  print(f'''With {i} steps: {line_length(f, -10, 10, i)}''')
  i *= 10









'''simple docstring'''





def        lowerCamelCase  (				_snake_case  :						int     ,_snake_case  :						int       ):





    '''simple docstring'''


    return x if y == 0 else greatest_common_divisor(_snake_case     ,x % y       )




def        lowerCamelCase  (				_snake_case  :						int     ,_snake_case  :						int       ):





    '''simple docstring'''


    return (x * y) // greatest_common_divisor(_snake_case     ,_snake_case       )




def        lowerCamelCase  (				_snake_case  :						int = 20       ):





    '''simple docstring'''


    lowercase__		       =						1
    for i in range(1     ,n + 1       ):
        lowercase__		       =						lcm(_snake_case     ,_snake_case       )
    return g


if __name__ == "__main__":
 print(f'''{solution() = }''')




