'''simple docstring'''

import requests
from bsa import BeautifulSoup







def __UpperCamelCase( _A       :					str	,      _A       :					dict     ):
   '''simple docstring'''
   UpperCAmelCase__				:					int 					=	BeautifulSoup(requests.get(_A	,      params=_A     ).content	,      '''html.parser'''     )
   UpperCAmelCase__				:					Optional[int] 					=	soup.find('''div'''	,      attrs={'''class''': '''gs_ri'''}     )
   UpperCAmelCase__				:					int 					=	div.find('''div'''	,      attrs={'''class''': '''gs_fl'''}     ).find_all('''a'''     )
   return anchors[2].get_text()


if __name__ == "__main__":
  UpperCamelCase__  :						Any					=      {
      'title': (
          'Precisely geometry controlled microsupercapacitors for ultrahigh areal '
          'capacitance, volumetric capacitance, and energy density'
      ),
      'journal': 'Chem. Mater.',
      'volume': 30,
      'pages': '3979-3990',
      'year': 2_018,
      'hl': 'en',
  }
  print(get_citation('https://scholar.google.com/scholar_lookup', params=params))





'''simple docstring'''

from math import factorial, radians







def __UpperCamelCase( _A       :					float	,      _A       :					int = 18	,      _A       :					int = 10     ):
   '''simple docstring'''
   UpperCAmelCase__				:					int 					=	angle_in_degrees - ((angle_in_degrees // 3_6_0.0) * 3_6_0.0)

   # Converting from degrees to radians
   UpperCAmelCase__				:					Dict 					=	radians(_A     )

   UpperCAmelCase__				:					Union[str, Any] 					=	angle_in_radians
   UpperCAmelCase__				:					List[str] 					=	3
   UpperCAmelCase__				:					int 					=	-1

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

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

   return round(_A	,      _A     )


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




