Re: How to calculate the height of a triangle given the "pitch" and the length of the hypotenuse?
- Posted by DonCole Aug 11, 2013
- 2075 views
K_D_R said...
I have a construction calculator which will calculate the the triangle, height, side b, given the opposite angle. I haven't been able to find or write such a function.
-- given: c = 122 -- the hypotenuse B = 2.23 -- degrees, the "pitch" or "slope" (0.0384941) -- need to calculate: b -- the triangle height/side opposite the hypotenuse a -- length triangle base -- once I have the length of b, I can calculate a using -- the Pythagorean theorem.
Any help will be appreciated.
Ken Rhodes
K_D_R said...
cargoan said...
b = c * sin(deg2rad(B)) a = c * cos(deg2rad(B))
Wonderful! Thanks a million!
Ken
Wait a minuet here. This post got me interest in designing a triangle calculator.
Don't you have to have 3 elements to calculate a triangle?
side, side, side
side, angle side
angle, side, angle
angle, angle, angle
given:
c = 122 the hypotenuse
B = 2.23 degrees, the "pitch" or "slope" (0.0384941)
According to cargoan's calculations
b = c * sin(deg2rad(B))
a = c * cos(deg2rad(B))
a=122
b=0
Don Cole