Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

A Triangle Math Formula

Posted on 1998-01-31
6
Medium Priority
?
1,254 Views
Last Modified: 2006-11-17
This has little to do with VB other than the program I am writing is written in VB. It is really about math but I didn't know where else to ask.

I have a triangle

a
|\
|_\c
b


I always know the length of the three sides.
Angle b is always 90 degrees.

What the heck is the formula to find the angle of a or c?

I know that the two angles add up to 90 degrees but can't remember my highschool math well enough to remember how to figure this out. Too many years without using it I guess.
0
Comment
Question by:schworak
  • 4
6 Comments
 
LVL 3

Author Comment

by:schworak
ID: 1454676
Edited text of question
0
 
LVL 3

Author Comment

by:schworak
ID: 1454677
Edited text of question
0
 
LVL 3

Author Comment

by:schworak
ID: 1454678
Edited text of question
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 5

Accepted Solution

by:
dirtdart earned 120 total points
ID: 1454679
In your drawing above, side I will refer to side ab and side ac, referring to the sides running between the angles.

angle a = Atn(cb/ab)
angle c = Atn(ab/cb)
0
 
LVL 8

Expert Comment

by:mrmick
ID: 1454680
hmmm...

That returns radians dirtdart, schworak is working in degrees.

schworak, the formula for degrees is dirtdarts formula with an added conversion:

angle a = Atn(cb/ab)  * (180 / 3.14159265359)
angle c = Atn(ab/cb)  * (180 / 3.14159265359)

0
 
LVL 3

Author Comment

by:schworak
ID: 1454681
That works great. Thanks. RADIANS and DEGREES are easily converted between each other.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question