
    Calculate the total delivery coverage area for a fleet management system where delivery zones form a regular polygon, given the number of equal-length street segments (s) that define the zone boundaries and the length of each segment (l) in kilometers. The resulting area will help determine optimal resource allocation and fleet distribution within the delivery territory.
    

    
from math import tan, pi

def area_polygon(s, l):
    """
    Calculate the total delivery coverage area for a fleet management system where delivery zones form a regular polygon, given the number of equal-length street segments (s) that define the zone boundaries and the length of each segment (l) in kilometers. The resulting area will help determine optimal resource allocation and fleet distribution within the delivery territory.
    

    """
from math import tan, pi

def area_polygon(s, l):
    """
    Calculate the total delivery coverage area for a fleet management system where delivery zones form a regular polygon, given the number of equal-length street segments (s) that define the zone boundaries and the length of each segment (l) in kilometers. The resulting area will help determine optimal resource allocation and fleet distribution within the delivery territory.
    

    """
    area = s * l ** 2 / (4 * tan(pi / s))
    return area