Area

Routine Summary

Finds the area of any regular polygon.

Inputs

N,S

Outputs

F

Variables Used

{$variable}

Calculator Compatibility

TI-83/84/+/SE/CSE/CE

Download

[{$download}]

:ClrHome
:Input "NUMBER OF SIDES: ",N
:Input "SIDE LENGTH: ",S
:NS^2/(4tan(180/N→F
:Pause F
:ClrHome

This program uses the tangent ratio to find the area of a regular polygon when giver the number of sides and side length.

.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial 2.5 License.