Write a Python function that calculate side length of a equilateral polygon


Topic: Write a Python function that calculate side length of a equilateral polygon

Solution

import math
def side_length(no_of_sides, circumradius):
    return 2 * circumradius * math.sin(math.pi / no_of_sides)



List all Python Programs