TI-BASIC:Area

From Learn @ Cemetech
Revision as of 18:25, 24 February 2016 by Maintenance script (talk | contribs) (Initial automated import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

File:@@

Routine Summary

Finds the area of any regular polygon.

Inputs

N,S

Outputs

F

Variables Used

Variables not documented.

Calculator Compatibility

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

@@Authors

@@URL: [@@] Download

No download provided.

: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.