TI-BASIC:Area: Difference between revisions
From Learn @ Cemetech
Jump to navigationJump to search
Initial automated import |
Automated @@ correction |
||
Line 1: | Line 1: | ||
{{Template:TI-BASIC:Routine | {{Template:TI-BASIC:Routine | ||
|picture= | |picture= | ||
|summary=Finds the area of any regular polygon. | |summary=Finds the area of any regular polygon. | ||
|input=N,S | |input=N,S | ||
Line 6: | Line 6: | ||
|variables used=A,B,F,N,P,S,V | |variables used=A,B,F,N,P,S,V | ||
|compatibility=TI-83/84/+/SE/CSE/CE | |compatibility=TI-83/84/+/SE/CSE/CE | ||
|author= | |author= | ||
|authors= | |authors= | ||
|url= | |url= | ||
}} | }} | ||
Latest revision as of 22:11, 24 February 2016
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.