Geometry ======== Save all functions into the same file named :file:`geometry.py`. All functions must return type ``float`` values. #. Write the function :py:func:`area_perim_circle` that given the radius of a circle returns the perimeter and the area. Examples: .. literalinclude:: area_perim_circle.txt :language: python3 :lines: 3-13 .. note:: You can download the file with tests :download:`area_perim_circle.txt`. #. Write the function :py:func:`area_volum_sphere` that given the radius of a sphere returns the area and the volume. Examples: .. literalinclude:: area_volum_sphere.txt :language: python3 :lines: 3-13 .. note:: You can download the file with tests :download:`area_volum_sphere.txt`. #. Write the function :py:func:`perim_area_rectangle` that given the lenght of the base and the height of a rectangle returns the perimeter and the area. Examples: .. literalinclude:: perim_area_rectangle.txt :language: python3 :lines: 3-13 .. note:: You can download the file with tests :download:`perim_area_rectangle.txt`. #. Write a function that given the lenght of two legs of a right-angled triangle returns the lenght of the hypotenuse. #. Write a function that given the lenght of the hypotenuse of a right-angled triangle and one of the not right angles in radians, returns the lenght of the two legs. #. Write a function that given the lenght of the hypotenuse of a right-angled triangle and the value in degrees of one of the not right angles, returns the lenght of the two legs. .. rubric:: Solution A solution of these functions is provided in the :download:`geometry.py` file.