question about precision

Manuel shared this question 2 years ago
Needs Answer

I have to calculate the area of a quadrilateral (given sides and one angle) with high precision for uni. I tested my results with geogebra using the show 15 decimal places option, but they differ form the 7th significant digit on. Should trust my code or geogebra?

Comments (6)

photo
1

Please include a file. It's useless just to talk about it

photo
1

sure thing:

"cuadriatero_lados.ggb" calculates the area given the sides a,b,c,d and angle 'alfa' as constants using the input line,

"cuadriatero_vertices.ggb" calculates the area given the points R,S,T,U in the same manner

photo
photo
1

en tus archivos veo dos cuadrilateros totalmente diferentes así que no sé qué comparar; ¿podrías mandar dos cuadrilateros con los lados de igual longitud y un angulo igual y que dé areas diferentes?

photo
1

Also in both files you seem to be using GeoGebra's Polygon() command to calculate the area

photo
1

it seems I didn't explain myself, I need to calculate the area programming and using trigonometry. I just wondered if geogebra was a reliable tool to check the answers with high precision

photo
1

la cuestión es ¿por qué duda de los calculos hechos con GG?

si ha encontrado algo equivocado nos gustaría ver qué es

© 2023 International GeoGebra Institute