Sharp PC-1403 Operation Manual page 233

Hide thumbs Also See for PC-1403:
Table of Contents

Advertisement

227
where
L:
Base length {the
longest of
sides
a,
b, and c)
h:
Height
(Figures
are truncated to three
decimal
places.)
Area
of
triangle
S
_a+b+c
-
2
S=Js(s-a)(s-b)Cs-c)
(2)
(1)
•REMARKS
• HOW TO OPERATE
1. Press
~
W .
(Program
starts)
Input the number
of vertexes (l.e.,
points)
and the
coordinates
x
and y
of
each
vertex
according to the display.
2.
Next, press
[QEJ
00
.
Input the
vertex
number
(i.e.,
point
number)
of
each
of the three vertexes of the
triangle according
to
the
display,
and the area
of
the triangle
will
be printed out.
When you
press
I
EHTERJ
before entering the vertex
number, the
sum
total of the
areas of all the triangles is output
on
the
printer.
3.
If you press ~
~!
,
the
sum
total
of
all
the triangle areas
will
be cleared and
then
the program
ends.
Note: The
number of vertexes
may be stored
up
to
the following
limits:
255 vertexes
Any polygon is theoretically an aggregation
of triangles.
By utilizing
this theory,
let us
calculate the
area of a
polygon.
This
program
fi
g ures out the
area
of
a
polygon by
dividing the polygon into
triangles, calculating
the area of
each triangle,
and obtaining
the sum total
of
the
areas
of
all
the triangles.
Required Peripheral
Equipment
CE-126P
PROGRAM
TITLE: Calculation
of Area of
N-sided Polygon

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents