# HP Forums

Full Version: Area of Polygon and Azimuth of Line
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello
1. Can hp prime calculate the Area of Polygon using the X,y Coordantes ?
I need to draw the Polygon with the given coordnates and calculate the Area.

2. Can Hp prime calculate the Azimuth of lines / points ?

thanks for help
Hello,

Have you looked at the geometry app?
Use the cmd/polygon/polygon function to create a n point polygon.
Then use the cmd/measure/area function to calculate the area.
You can also do it from the cas command line: area(polygon(point1, ... pointn)) where point is a complex number with the point coordinates.

As for azimuth, this can also be done in the geometry app using the angle measure tool.

Cyrille
(07-02-2018 05:46 AM)cyrille de brébisson Wrote: [ -> ]Hello,

Have you looked at the geometry app?
Use the cmd/polygon/polygon function to create a n point polygon.
Then use the cmd/measure/area function to calculate the area.
You can also do it from the cas command line: area(polygon(point1, ... pointn)) where point is a complex number with the point coordinates.

As for azimuth, this can also be done in the geometry app using the angle measure tool.

Cyrille

Boa noite
Tenho uma variável de matriz "M0" com duas colunas com valores de norte e este de um perímetro e gostaria de plotar um polígono no gráfico "G0".
Saudações.