Similar triangle problem
ok...i tried searching a bit before posting this question, and it may be a little long winded so try to hang with me. this is going to be for an audio frequency tuning calculator i'm making in visual basic, so i need to come up with a formula to figure all 3 sides of similar triangles.
ok...so, a user puts in 2 different depths, height, and width (tho width is irrelevant in this scenario). now, i know that subtracting the depths will give me one measurement (side a), and height entered is another measurement (side b). pythagorean theorem gives me the hypotenuse of the big triangle (side c). that there is the easy part. so for instance we'll say the bottom is 12" long, and height is 14" which makes the hypotenuse 18.44". so then we have this:
now...the similar triangle lies within. the hypotenuse and side A are made of wood, .75" thick. that effectively gives us this:
i can determine the height of the new triangle by subtracting .75" from the height, giving me 13.25". and put 14/13.25 = 12/z, i can figure that side z = 11.36". and pythagorean theorem to get the hypotenuse. getting me this:
aaaaaaand this is where i get stuck. i need the sides of that smaller white triangle. distance from the big hypotenuse to the small one is .75" thick, but where it meets the other 2 edges is longer and i dont know how to find the sides of the new triangle :(
so basically i need the lengths of m, n, and o. or any combination of the 2 and i can figure out the third. then figure a way to incorporate them into a formula for my program
i hope i posted that as clear as possible. any help would be GREATLY appreciated. i've been stumped on this for a while now lol. thanks in advance!
nice!! that's exactly what i'm looking for. and haha yes...that's a lil more complicated than i thought. i thought i may be getting close, but had a feeling there was a lot more to it to figure out what i needed. so...following that method, and using the dimensions for my triangle, i have:
and i use .75 instead of 1, so:
does that look correct?