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

Some help with trigo

Anonymous
Not applicable
I would apreciate some help for this trigonometrical problem.
I am searching for H or ang, function of X and ray. I don't find a solution.
Thanks to anyone for the highligth.

trigo.jpg
16 REPLIES 16
Law of Sines. I think. Not that bad if I'm right.

a/SIN(A)=b/SIN(B)=c/SIN(C)

The angle we know, A=135. Opposite is the side we know, a=R.

The other side we know, c=ray.

You're looking for B.

R/SIN(135)=ray/SIN(C)

SIN(C)*R=ray*SIN(135)

SIN(C)=(ray*SIN(135))/R

C=ASN((ray*SIN(135))/R)

B=180-A-C.
Something like that.
James Murray

Archicad 27 • Rill Architects • macOS • OnLand.info
David Collins
Advocate
Unsolvable, I think.
X minus the endbit (and therefore H) could be be anything, depending on the value of ang.
David Collins

Win10 64bit Intel i7 6700 3.40 Ghz, 32 Gb RAM, GeForce RTX 3070
AC 27.0 (4001 INT FULL)
Frank Beister
Moderator
I think it's solveable, because the triangle over 'X' makes the figure stable.

SIN(ang)=H/R
SIN(ang/2)=s/R
X=d1+d2
d2=H*TAN(45)=H
TAN(ang/2)=d1/H or SIN(ang/2)=d1/(2*s) or COS(ang/2)=H/(2*s)

I have not the time to solve it, maybe later or someone else wants...
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
Frank Beister
Moderator
Sorry, I haven't seen that James has the solution yet:

ang = 180 - 135 - ASN( ray*SIN(135) /R)
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
Anonymous
Not applicable
James wrote:
Law of Sines. I think. Not that bad if I'm right.

a/SIN(A)=b/SIN(B)=c/SIN(C)

The angle we know, A=135. Opposite is the side we know, a=R.

The other side we know, c=ray.

You're looking for B.

R/SIN(135)=ray/SIN(C)

SIN(C)*R=ray*SIN(135)

SIN(C)=(ray*SIN(135))/R

C=ASN((ray*SIN(135))/R)

B=180-A-C.
Something like that.
Thank you so much, James, you save me. It works perfectly.
The link posted by Bill is helpful, too. Thanks to all for your help.
Vitruvius
Booster
I think the formulae are:

H = X*SIN(45) --- X being the hypoteneuse of small triangle
Ang = ASN(H/R) --- and then plugged into the large triangle formula

Assuming from your diagram that X, RAY, and 45d are known values.

Cheers
Cameron Hestler, Architect
Archicad 27 / Mac Studio M1 Max - 32 GB / LG24" Monitors / 14.5 Sonoma
Anonymous
Not applicable
Vitruvius wrote:
I think the formulae are:

H = X*SIN(45) --- X being the hypoteneuse of small triangle
Ang = ASN(H/R) --- and then plugged into the large triangle formula

Assuming from your diagram that X, RAY, and 45d are known values.

Cheers
Not exact, H = R*sin(ang)
For the rest, X, ray and 45 are known.

I did i first try with the sum of angles into a triangle, another one with pythagoras (Frank's example), without success.
I can assure you that James's solution works perfectly. The occasion for me to rediscover this "sine rule" (Bill's link).
Thanks anyway.

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!