[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2360
  • Last Modified:

Calculating 2 sides of right triangle if you only know the hypotenuse and angle?

I need a formula in the form of

side1 = ...
side 2 = ...

Assume hypotenuse is 5 and anle is 30 degreess

I know the formula is sin(side1/hypotenuse) = 30 ... but I forgot how to extract the side1
0
polkadot
Asked:
polkadot
1 Solution
 
ozoCommented:
the sides are 5*sin(30°), and 5*cos(30°)
0
 
CallandorCommented:
>I know the formula is sin(side1/hypotenuse) = 30 ... but I forgot how to extract the side1

The arcsin function reverses the sin function:
side1/hypotenuse = arcsin(30)
side1 = hypotenuse * arcsin(30)

For side2, it's cos:
cos(side2/hypotenuse) = 30
side2/hypotenuse = arccos(30)
side2 = hypotenuse * arccos(30)
0
 
CallandorCommented:
Oops, ozo has it right.  The correct formula is side1/hypotenuse = sin(30).
0
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
polkadotAuthor Commented:
Why isn't it:

Side 1 = hypotenuse * sin(angle)
Side 2 = hypotenuse * cos(angle)
0
 
Adam314Commented:
that is exactly what ozo said, but using the numbers you gave
0
 
CallandorCommented:
That's what ozo wrote - the hypotenuse is 5, right?
0
 
polkadotAuthor Commented:
its not giving me the same results as this site:

http://www.1728.com/trig.htm
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

Tackle projects and never again get stuck behind a technical roadblock.
Join Now