0 Favourites

# Solve angles of a trapezoid

This forum is currently in read-only mode.
• 5 posts
• this isnt really related to construct, but i cant seem to find out how to solve the angles of a trapezoid, with all given side lengths.

i know its possible, because theyre are calculators on the internet, i just cant seem to find out HOW to do it.

anyone here know how?

this is what i need to know sorta

• Have you peeked at the javascript on that page?

• i dont know how

EDIT: is this it?

[quote:2jhgahsb]angA=(Math.atan(height/xval))*k1;

if(angA<0){angA=angA+180};

angB=180-angA;

if(angD<0){angD=angD+180};

angC=180-angD;

i dont know how to use java, this is the first time ive ever looked at it, but it seems pretty simple.

im just wondering what does math.atan mean? does it just mean atan? also what is k1? and what is xval? what is adj (adjacent im guessing)? srry for all the questions, i just want to be sure of what im doing.

Develop games in your browser. Powerful, performant & highly capable.

Construct 3 users don't see these ads
• Yeah, atan is probably just inverse tangent, and xval, adj and other variables are probably defined earlier in the code.

• Yikes, that's more complicated than I thought it would be.

Here's what I would suggest: