A maths question (business related!)
A maths question (business related!)
Author
Discussion

H6CJF

Original Poster:

720 posts

222 months

Monday 4th November 2013
quotequote all
I'm in the process of assisting H18ENF with one of his gadget projects. This involves making a 4 sided acrylic pyramid with a base of 39cm square.

As one who always manages to cut things to the wrong shape / size, I thought I would consult the brains of PH in order that I can 'measure twice & cut once'

The question is simple really: what size do the sides need to be cut to in order for them all to be at 45deg to the base?

(I really should have paid more attention in maths 40years ago!)

Cheers


mojitomax

1,876 posts

223 months

Monday 4th November 2013
quotequote all




consider the pyramid comprising of a square base and the sides are at 45 degrees to the base.

let each of the sides of the base be called a) with a length of 39cm

divide the base into two triangular halves. the dotted line c) can be calculated using Pythagorus' theorem. c squared = a squared + a squared, so c) = 55.154cm

the side of the pyramid is x which is calculated from another triangle. x squared = d squared + e squared. d and e are the same as the angle of the pyramid is 45 degrees.

d and e are half of the length of the side c.

x = 39cm.

hope that helps

H6CJF

Original Poster:

720 posts

222 months

Monday 4th November 2013
quotequote all
Wow!

Thank you very much for going to all that trouble!... I never dared for pictures as well.

Of course, I knew Mr Pythagorus would come into it smile

Cheers

mrmr96

13,736 posts

235 months

Monday 4th November 2013
quotequote all
I made it that each triangular face needs to be 39 wide at the base (obviously) and then 25.58 tall.

This based on the base of the pyramid being 39 x 39. So to meet in the middle each side forms a triangle where this piece is the hypotenuse. We know the adjacent side (i.e. half the base) is 19.5.

SOH CAH TOA. We know the angle, plus the adjacent and we need to find the hypotenuse. So Cos(45) = 19.5/H. Rearranges to H = 19.5/Cos(45). H = 27.58 (2dp)

I can check this still works out to a right angle triangle using pythagoras if you want. 19.5^2 + 19.5^2 = 760.5 = 27.57 ^ 2.

mojitomax

1,876 posts

223 months

Monday 4th November 2013
quotequote all
however i didn't consider where you calculated the 45 degrees from. if you consider 45 degrees from the centre of the face and not the edge the calculation is different.





in this case the height of the pyramid v) = 39/2 = 19.5cm

the base of the pyramid used to calculate the edge length is the same as before 27.577, which gives a new edge length of 33.775cm

the new angle that is made at xd = 35.265 degrees.

hope that helps

H6CJF

Original Poster:

720 posts

222 months

Monday 4th November 2013
quotequote all
Phew! Was getting confused for a minute.. To clarify, the 45deg bit relates to the angle that the pointy bits (technical term) lean in from the base.. which is what I think you are both saying

Thank you

beer

zcacogp

11,239 posts

275 months

Monday 4th November 2013
quotequote all
H6CJF said:
Phew! Was getting confused for a minute.. To clarify, the 45deg bit relates to the angle that the pointy bits (technical term) lean in from the base.. which is what I think you are both saying
Those will be edges.

The flat bits are called faces. The pointy bits you refer to, where two faces meet, are called edges.

The even-more-pointy bits are called corners.

Where the 45Deg angle is to be is critical - is it base face to side face or base face to edge. Mojitomax has covered both scenarios in his pictures.


Oli.

mojitomax

1,876 posts

223 months

Monday 4th November 2013
quotequote all
mrmr96 said:
I made it that each triangular face needs to be 39 wide at the base (obviously) and then 25.58 tall.

This based on the base of the pyramid being 39 x 39. So to meet in the middle each side forms a triangle where this piece is the hypotenuse. We know the adjacent side (i.e. half the base) is 19.5.

SOH CAH TOA. We know the angle, plus the adjacent and we need to find the hypotenuse. So Cos(45) = 19.5/H. Rearranges to H = 19.5/Cos(45). H = 27.58 (2dp)

I can check this still works out to a right angle triangle using pythagoras if you want. 19.5^2 + 19.5^2 = 760.5 = 27.57 ^ 2.
27.58cm is the height of the apex of the pyramid from the centre of the pyramid base but the edge length of each side is slightly longer.

anonymous-user

85 months

Monday 4th November 2013
quotequote all
Now the really tricky question would be to work out from the thickness of the acrylic what angle you'll have to mitre the edges to in order to get a nice clean finish...

H6CJF

Original Poster:

720 posts

222 months

Monday 4th November 2013
quotequote all
Critical bit is the angle of the pointy bits (faces?)to the horizontal (base)- must be 45deg

Thanks for all the help chaps

mojitomax

1,876 posts

223 months

Monday 4th November 2013
quotequote all
H6CJF said:
Critical bit is the angle of the pointy bits (faces?)to the horizontal (base)- must be 45deg

Thanks for all the help chaps
then you require my second calculation. this considers the angle of each face to be 45 degrees from the base.

the first calculation considers each edge to be at 45 degrees to the base

H6CJF

Original Poster:

720 posts

222 months

Monday 4th November 2013
quotequote all
Greg66 said:
Now the really tricky question would be to work out from the thickness of the acrylic what angle you'll have to mitre the edges to in order to get a nice clean finish...
Oh god! You do have a point there.... Do I want to know the answer to this? Acrylic is ermmm... 2.5mm?

mojitomax

1,876 posts

223 months

Monday 4th November 2013
quotequote all
Greg66 said:
Now the really tricky question would be to work out from the thickness of the acrylic what angle you'll have to mitre the edges to in order to get a nice clean finish...
The thickness of the material will not affect the angle





The angle of the mitre at the base of the face is simply 45 degrees as that is given in the initial conditions.

The angle of the mitres of the sloping sides is more difficult to calculate.

but it is 90-73.897 degrees.

the angle required is half of DBC.

to calculate this we require the lengths BC and CD and the length BH

we know that AF = 33.775 from the previous calculations. therefore AB is half of this - 16.8875.

the angle BAC can be calculated from the previous work. AE = 39 and AF = 33.775. if we divide the triangle AFE in to and drop a line from the apex F down to meet AE and cut it in half (call this point G) then there is a right angled triangle AGF where AG = 39/2 = 19.5

so we have AF = 33.775, AG = 19.5,

FG squared = 33.775 squared - 19.5 squared

So FG = 27.577.

tan FAG = 27.577/19.5

FAG = 54.736 degrees

AB is half of AF = 16.8875 (33.775/2)

ABC is a right angle

cos ABC = 16/AC , we have calculated ABC = 54.736 degrees, so AC = 29.250

this gives another right angled triangle ADC where AD = AC = 29.250, so DC squared = 29.250 squared + 29.250 squared

DC = 41.366

CH = DC/2 = 20.683.

using Pythagoras, HB = 11.942 and tanHBC = 41.366/11.942

HBC = 73.897 degrees.

The mitre angle on the sloping sides is 90-73.897 degrees.

mojitomax

1,876 posts

223 months

Monday 4th November 2013
quotequote all
and now i'm off for a pint (of Red wine!!)

RichB

56,491 posts

315 months

Monday 4th November 2013
quotequote all
So if it's 90-73.897 is that 16.103 degrees?

H6CJF

Original Poster:

720 posts

222 months

Monday 4th November 2013
quotequote all
Jeepers, I am sincerely impressed!

I'm off to fetch my 12" ruler, protractor, set square, hacksaw and file now ;-)

mojitomax

1,876 posts

223 months

Monday 4th November 2013
quotequote all
RichB said:
So if it's 90-73.897 is that 16.103 degrees?
I not doing ALL the work wink

Good luck and if the angles are wrong, oops. but the maths is sound so you should be ok. however i am recalling the theory from nearly 20 years ago!

H6CJF

Original Poster:

720 posts

222 months

Monday 4th November 2013
quotequote all
Really appreciate your help thanks. Let you know how it goes :-)

mojitomax

1,876 posts

223 months

Monday 4th November 2013
quotequote all
H6CJF said:
Really appreciate your help thanks. Let you know how it goes :-)
No worries,

it's quite refreshing to know that i still remember it. and for all those people who say that they will never use algebra or trigonometry...

The last time i dusted off tan, cos and sin was when i was calculating the largest size TV that would fit in the alcove at home.

Let me know how you get on.

Just to be on the safe side, i'd cut the sides out of card and make sure it all fits properly.

anonymous-user

85 months

Monday 4th November 2013
quotequote all
mojitomax said:
The thickness of the material will not affect the angle





The angle of the mitre at the base of the face is simply 45 degrees as that is given in the initial conditions.

The angle of the mitres of the sloping sides is more difficult to calculate.

but it is 90-73.897 degrees.

the angle required is half of DBC.

to calculate this we require the lengths BC and CD and the length BH

we know that AF = 33.775 from the previous calculations. therefore AB is half of this - 16.8875.

the angle BAC can be calculated from the previous work. AE = 39 and AF = 33.775. if we divide the triangle AFE in to and drop a line from the apex F down to meet AE and cut it in half (call this point G) then there is a right angled triangle AGF where AG = 39/2 = 19.5

so we have AF = 33.775, AG = 19.5,

FG squared = 33.775 squared - 19.5 squared

So FG = 27.577.

tan FAG = 27.577/19.5

FAG = 54.736 degrees

AB is half of AF = 16.8875 (33.775/2)

ABC is a right angle

cos ABC = 16/AC , we have calculated ABC = 54.736 degrees, so AC = 29.250

this gives another right angled triangle ADC where AD = AC = 29.250, so DC squared = 29.250 squared + 29.250 squared

DC = 41.366

CH = DC/2 = 20.683.

using Pythagoras, HB = 11.942 and tanHBC = 41.366/11.942

HBC = 73.897 degrees.

The mitre angle on the sloping sides is 90-73.897 degrees.
I know the thickness doesn't matter. That was just for fun.

The mitre angle is 30 degrees. The above is all sound up to the bit in bold, which should be 20.663/11.942.

If the mitre angle is 90-a, then sin a = (3^0.5)/2.


The quick version:

The base corners are A, B, C, D. The apex is E. The centre of the base is F and the midpoint of AB is G. AB = a.

First we work out EG. Because the faces are at 45 degrees to the base, in the triangle EFG, EF = FG = a/2. So EG = a/(2^0.5).

In the triangle AFE, EF = a/2, and AF = half the diagonal of the square base = (a*2^0.5)/2 = a/(2^0.5).
So AE^2 = a^2/4 + a^2/2 = a^2 * 3/4; therefore AE = (a/2)*3^0.5. That's the 33.77 figure.

Then I took a slightly different approach. I took a triangle ACH, where H is a point on the BE edge, and HC and HA are both perpendicular to BE.

I eventually want to work out the angle FHC. To get there, I need to work out HC, and to do that, I need to work out angle EBC (the angle at the base of a face).

Angle EBC I'll call beta. BE = AE = (a/2)*3^0.5. So cos beta = (a/2)/((a/2)*3^0.5) = 3^-0.5

Now I look at the triangle BHC. HC = a * sin beta. Using sin^2 x + cos^2 x = 1, I get sin^2 beta = 1 - cos^2 beta = 1 - 1/3 = 2/3. So sin beta = (2/3)^0.5.

Now I can look at half of my "slice" triangle, FHC. I know that HC is half the diagonal of the base, or a/2^0.5. I know that HC is a * sin beta. So sin angle FHC = (a/2^0.5)/(a*sin beta) = 1/(2^0.5*sin beta) = 1/(2^0.5*((2/3)^0.5)) = (3^0.5)/2.

Which means angle FHC = 60 degrees. That's the angle of the face that you have to have left, so to speak, so you have to remove 30 degrees for the mitre.




Edited by anonymous-user on Monday 4th November 23:35