Write a function to calculate the apothem of polygon given the number of edges, circumradius


Topic: Write a function to calculate the apothem of polygon given the number of edges, circumradius

Solution

import math
def apothem_of_polygon(number_of_edges, circumradius):
    return circumradius * math.cos(180/number_of_edges)
    



List all Python Programs