Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

basic trigonometry in GDL for the mathematically challenged

David Collins
Advocate
I'm trying to get GDL to come up with the adjacent angle of a right triangle for which I know the base and the hypotenuse.
SINa = Opposite/Hypotenuse. Cool.
How do I solve for "a"? All my old books assume I'm going to go look it up in the tables. Is there a way to get GDL to hand over the angle if I know the value of SINa?
I note with great interest that sin a = +/- SQR( 1-cos**a). Oh, my head!
David Collins

Win10 64bit Intel i7 6700 3.40 Ghz, 32 Gb RAM, GeForce RTX 3070
AC 27.0 (4001 INT FULL)
2 REPLIES 2
Anonymous
Not applicable
Try the ASN fonction.
The syntaxe is
a = ASN (opposite/hypothenuse)
the value of "a" will be in this "area" : -90° < ASN(x) < 90°
David Collins
Advocate
That did the trick!
Many thanks.
David Collins

Win10 64bit Intel i7 6700 3.40 Ghz, 32 Gb RAM, GeForce RTX 3070
AC 27.0 (4001 INT FULL)

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!