Solved

A Triangle Math Formula

Posted on 1998-01-31
6
1,236 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 5

Accepted Solution

by:
dirtdart earned 40 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

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 …
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

734 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