


def 							__lowercase     (				__lowerCAmelCase							:       float     ):
							return 1_0 - x * x






def 							__lowercase     (				__lowerCAmelCase							:       float      ,					__lowerCAmelCase							:       float     ):
							# Bolzano theory in order to find if there is a root between a and b
							if equation(__lowerCAmelCase     ) * equation(__lowerCAmelCase     ) >= 0:
														raise ValueError('Wrong space!'     )

							a__    =  a
							while (b - a) >= 0.01:
														# Find middle point
														a__    =  (a + b) / 2
														# Check if middle point is root
														if equation(__lowerCAmelCase     ) == 0.0:
																					break
														# Decide the side to repeat the steps
														if equation(__lowerCAmelCase     ) * equation(__lowerCAmelCase     ) < 0:
																					a__    =  c
														else:
																					a__    =  c
							return c


if __name__ == "__main__":
						import doctest

						doctest.testmod()

						print(bisection(-2, 5))
						print(bisection(0, 6))








from math import pi






def 							__lowercase     (				__lowerCAmelCase							:       int      ,					__lowerCAmelCase							:       int     ):
							return 2 * pi * radius * (angle / 3_6_0)


if __name__ == "__main__":
						print(arc_length(90, 10))




