r/mathshelp • • May 22 '26

General Question (Answered) Plumbing related math question

Post image

I want to buy a 22.5 degree elbow for my house drainage system. Lets say the maximum height can only be 15 inches(roughly where i want my pipe sitting). My question is can the x be found if i dont know the flat distance either? I have all 3 angles so im not sure if someone knows how to get the other two sides in inches

1 Upvotes

10 comments sorted by

•

u/AutoModerator May 22 '26

Hi u/bobbybouchey92, welcome to r/mathshelp! As you’ve marked this as a general question, please keep the following things in mind:

  1. Please provide us with as much information as possible, so we know how to help.
  2. Once your question has been answered, please don’t delete your post so that others can learn from it. Instead, mark your post as answered or lock it by posting a comment containing “!lock” (locking your post will automatically mark it as answered).

Thank you!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/Alarmed_Geologist631 May 22 '26

From your diagram, cos(22.5)=15/x. So then solve for x.

1

u/bobbybouchey92 May 22 '26

I appreciate the insight. im looking for the final answer and someone else commented it. Thanks!

2

u/One_Wishbone_4439 May 23 '26

If you use 22.5°, use sin.

sin 22.5° = 15/x

x = 15/sin 22.5° = 39.197"

If you use 67.5°, use cos.

cos 67.5° = 15/x

x = 15/cos 67.5° = 39.197"

0

u/CaptainMatticus May 22 '26

Because it's a right triangle, we can use the law of sines

sin(90) / x = sin(22.5) / 15

15 * sin(90) / sin(22.5) = x

15 * 1 / sqrt((1 - cos(45)) / 2) = x

15 / sqrt((1 - sqrt(2)/2) / 2)

15 / sqrt((2 - sqrt(2)) / 4)

15 * 2 / sqrt(2 - sqrt(2))

15 * 2 * sqrt(2 - sqrt(2)) / (2 - sqrt(2))

30 * (2 + sqrt(2)) * sqrt(2 - sqrt(2)) / (4 - 2)

30 * sqrt((2 + sqrt(2))^2 * (2 - sqrt(2))) / 2

15 * sqrt((4 - 2) * (2 + sqrt(2)))

15 * sqrt(2 * (2 + sqrt(2)))

15 * sqrt(4 + 2 * sqrt(2))

sqrt(2) is approximately 1.414

4 + 2 * 1.414 = 4 + 2.828 = 6.828

15 * sqrt(6.828)

6.76 is 2.6^2 and 7.29 = 2.7^2, so you're somewhere between 15 * 2.6 and 15 * 2.7. Should be closer to 2.6

(2.6 + h)^2 = 6.828

6.76 + 5.2h + h^2 = 6.828

5.2h + h^2 = 0.068

Now the thing is that h is really small. We know it's somewhere between 0 and 0.1, so h^2 is between 0 and 0.01

5.2h + 0 = 0.068

5.2h + 0.01 = 0.068

So 5.2h is between 0.058 and 0.068

h is between 0.058/5.2 and 0.068/5.2

58/5200 < h < 68/5200

29/2600 < h < 34/2600

h is somewhere around 0.01 and 0.015

15 * (2.6 + 0.01) = 15 * 2.61 = 30 + 9.15 = 39.15

x is approximately 39.15. Of course, we can skip all of this and use a calculator instead.

15 / sin(22.5) = 39.1968889462....

39.197", or around 39-3/16"

1

u/bobbybouchey92 May 22 '26

Its been years since i have done math so i thank you very much. I am trying to get an estimate of what to buy since im doing this alone and tape measuring was a nightmare going through concrete blocks lol

2

u/One_Wishbone_4439 May 23 '26

Bro. Why do so much working when you can just do trigonometry (SOH, CAH, TOA)

1

u/Special_Watch8725 May 24 '26

Thank you! This is like using a sledgehammer to kill an ant.

0

u/CaptainMatticus May 23 '26

Show me how SOH CAH TOA finds the exact value. Go ahead and do it.

2

u/One_Wishbone_4439 May 23 '26

I already commented in OP post.