Answer:
-16
Step-by-step explanation:
Answer:
-8x3 - 4x2 + 8x - 4
Step-by-step explanation:
Franck's answer is better (using ~), but I just wanted to point out that the conditional in yours is slightly redundant. It's easy to forget that, since you already have a boolean value, you don't need to perform a comparison in your conditional. So you could have just done this...
<span>if x
x = false;
else
x = true;
<span>end</span></span>
#3 is not a function because there are two answers for one out put
#4 is a function because it is a straight line
For a regular polygon, it is number of sides times the length of one side.
If you know the polygon's area and apothem, then the perimeter formula is:
Perimeter = Area / (Apothem/2)