This is part of my coursewekr for MITx 600
Sum the area and square of the perimeter of the regular polygon. The function returns the sum, rounded to 4 decimal places.
To complete this exercise I imported the math library to get the tangent and pi functions.