EasyManua.ls Logo

Sharp PC-1403 - Page 233

Sharp PC-1403
252 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
227
where
L
:
B
ase
l
ength
{
the
lo
ng
est of
s
id
e
s
a
,
b,
an
d
c
)
h
:
Height
(Figur
es are
trunca
t
ed
t
o
thr
ee
dec
i
m
a
l
p
l
a
c
e
s.
)
Area
o
f triangle
S
_a
+
b
+
c
-
2
S
=
J
s(s-a
)
(s
-
b
)Cs
-
c
)
(
2)
(
1
)
•REMARKS
•
HOW TO OP
E
RATE
1
.
Pre
ss
~ W
.
(Progr
a
m starts)
Input the
num
be
r
of
vert
exe
s
(l
.
e
. ,
po
i
n
ts
)
an
d
th
e
c
oo
rd
i
na
t
es x and y of
eac
h
verte
x
acco
r
d
i
n
g
t
o
t
he
di
spl
a
y
.
2
.
Next
,
press
[QEJ
00
.
I
nput the
verte
x
numb
e
r
(
i.e.,
p
o
i
nt
n
um
b
e
r)
o
f
eac
h
of the
t
hree
v
ertexes of
t
he
t
ria
n
g
l
e
accord
i
ng to
t
h
e
d
i
s
p
la
y
,
and
th
e
a
r
e
a
o
f
the
t
ria
n
gle
w
ill be printed out.
When you press
I
EHTER
J
b
efo
r
e ent
e
r
i
n
g
t
h
e ve
rt
e
x
num
be
r,
t
h
e
su
m total of the
areas of all the
tr
i
a
ng
l
es
i
s
out
p
ut
o
n
t
h
e pr
i
nte
r.
3
.
I
f
you press
~
~
!
,
th
e sum
tota
l
o
f
al
l
t
he
t
r
ia
ng
l
e
a
r
eas
wi
ll be cleared and
t
h
en the program
ends
.
Note:
Th
e number of vertexes
ma
y be
s
t
o
r
ed up to
th
e
fo
ll
o
wi
ng
li
m
i
t
s:
255
ve
rte
xes
Any polygon
i
s
t
heor
et
i
c
a
ll
y
a
n
agg
re
gatio
n of
t
r
i
ang
l
e
s. By
u
til
iz
i
ng this
theory
,
let us
calcula
t
e the
a
r
e
a
o
f a
p
oly
go
n
.
T
his
p
r
o
gr
a
m
f
i
gur
e
s out
t
h
e
are
a of a polygon by
dividing the
p
o
lygon
in
t
o
t
r
ia
ng
les,
calcul
a
t
i
ng
th
e
a
re
a
o
f
e
ach
t
riang
l
e,
a
nd obtaining
the
s
um
t
otal
o
f the
a
r
eas
o
f
all
th
e
tri
ang
l
e
s
.
Required Peripheral
Eq
u
ipment
C
E-1
2
6P
PROGRAM
TI
T
LE:
Cal
c
u
l
ation o
f
Are
a
of
N
-
s
id
e
d Polygon

Related product manuals