TI-BASIC:Area

From Learn @ Cemetech
Jump to navigationJump to search


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

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.