Help My Brother Work on his Tan(gent)!
Python, 23938 score

from math import*
def apothem(n):
 c=int(n*tan(pi/n)/2*10)

 s=',&gt;' + '+'*c
 m="&gt;[-]&gt;[-]&lt;&lt;[&gt;&gt;+&lt;&lt;-]&gt;&gt;[&lt;&lt;&lt;[&gt;+&gt;+&lt;&lt;-]&gt;&gt;[&lt;&lt;+&gt;&gt;-]&gt;-]&lt;&lt;"*2
 p="&gt;&gt;[-]&lt;[-]&lt;+++++&lt;[-]++++++++++"
 d="&gt;[&gt;+&lt;-]&gt;[&lt;&lt;[&gt;&gt;&gt;+&gt;+&lt;&lt;&lt;&lt;-]&gt;&gt;&gt;&gt;[&lt;&lt;&lt;&lt;+&gt;&gt;&gt;&gt;-]&lt;[&gt;+&lt;&lt;-[&gt;&gt;[-]&gt;+&lt;&lt;&lt;-]&gt;&gt;&gt;[&lt;&lt;&lt;+&gt;&gt;&gt;-]&lt;[&lt;-[&lt;&lt;-&gt;&gt;[-]]+&gt;-]&lt;-]&lt;&lt;+&gt;]"
 o="&lt;."
 print s+m+p+d+o



the area of a regular polygon is nsa/2 width n given in Python and a later in BF. s is the sidelength of the polygon, which can be computed from a and n
c is a constant, such that the area is (aac+5)/10, so only this formula must be coded into BF. c is between 15 and 25.
s is the starting point for the BF code: read the apothem and write c
m does c=ca twice, so in the cell formaly holding c there is aac
p prepares for the final operation, clearing temporary cells, adding 5 to aac and setting the first cell to 10
d division
o output


This is my first writing in BF, so all algorithms are from this page.