How to work out the diameter of a circle from a rectangle
$begingroup$
If we assume these rules
-A rectangle is inside the circle
-All corners of the rectangle touch the edge of the circle
If we say the length is l, the width is w and the diameter is d. What would the equation for d be?
And what would be the equation for a cuboid in a sphere?
It doesn't have to be a square
Sorry- I was mistaken in thinking that an inscribed shape had to be proper- I'll do better than to look at google images next time.
geometry circle
$endgroup$
add a comment |
$begingroup$
If we assume these rules
-A rectangle is inside the circle
-All corners of the rectangle touch the edge of the circle
If we say the length is l, the width is w and the diameter is d. What would the equation for d be?
And what would be the equation for a cuboid in a sphere?
It doesn't have to be a square
Sorry- I was mistaken in thinking that an inscribed shape had to be proper- I'll do better than to look at google images next time.
geometry circle
$endgroup$
$begingroup$
Not necessarily. draw a circle in ms paint and draw a rectangle inside it.
$endgroup$
– yolo
Feb 15 '18 at 15:50
$begingroup$
Intuitively it seems the diameter of the rectangle should be the diameter of the circle, doesn't it? Try to prove if that is or isn't true. Then... well, what's the formula for the diameter of a rectangle.
$endgroup$
– fleablood
Feb 15 '18 at 16:18
$begingroup$
turns out that it is the diagonal of the rectangle that is the diameter.
$endgroup$
– yolo
Feb 15 '18 at 16:20
1
$begingroup$
"-All corners of the rectangle touch the edge of the circle" and "IT IS NOT INSCRIBED!!!" are contradictory statements.
$endgroup$
– fleablood
Feb 15 '18 at 16:27
$begingroup$
By the way the "edge" of a circle is ... the circle itself. I circle is the curve that forms it an not any of the points inside.
$endgroup$
– fleablood
Feb 15 '18 at 16:29
add a comment |
$begingroup$
If we assume these rules
-A rectangle is inside the circle
-All corners of the rectangle touch the edge of the circle
If we say the length is l, the width is w and the diameter is d. What would the equation for d be?
And what would be the equation for a cuboid in a sphere?
It doesn't have to be a square
Sorry- I was mistaken in thinking that an inscribed shape had to be proper- I'll do better than to look at google images next time.
geometry circle
$endgroup$
If we assume these rules
-A rectangle is inside the circle
-All corners of the rectangle touch the edge of the circle
If we say the length is l, the width is w and the diameter is d. What would the equation for d be?
And what would be the equation for a cuboid in a sphere?
It doesn't have to be a square
Sorry- I was mistaken in thinking that an inscribed shape had to be proper- I'll do better than to look at google images next time.
geometry circle
geometry circle
edited Dec 15 '18 at 15:07
yolo
asked Feb 15 '18 at 15:47
yoloyolo
1919
1919
$begingroup$
Not necessarily. draw a circle in ms paint and draw a rectangle inside it.
$endgroup$
– yolo
Feb 15 '18 at 15:50
$begingroup$
Intuitively it seems the diameter of the rectangle should be the diameter of the circle, doesn't it? Try to prove if that is or isn't true. Then... well, what's the formula for the diameter of a rectangle.
$endgroup$
– fleablood
Feb 15 '18 at 16:18
$begingroup$
turns out that it is the diagonal of the rectangle that is the diameter.
$endgroup$
– yolo
Feb 15 '18 at 16:20
1
$begingroup$
"-All corners of the rectangle touch the edge of the circle" and "IT IS NOT INSCRIBED!!!" are contradictory statements.
$endgroup$
– fleablood
Feb 15 '18 at 16:27
$begingroup$
By the way the "edge" of a circle is ... the circle itself. I circle is the curve that forms it an not any of the points inside.
$endgroup$
– fleablood
Feb 15 '18 at 16:29
add a comment |
$begingroup$
Not necessarily. draw a circle in ms paint and draw a rectangle inside it.
$endgroup$
– yolo
Feb 15 '18 at 15:50
$begingroup$
Intuitively it seems the diameter of the rectangle should be the diameter of the circle, doesn't it? Try to prove if that is or isn't true. Then... well, what's the formula for the diameter of a rectangle.
$endgroup$
– fleablood
Feb 15 '18 at 16:18
$begingroup$
turns out that it is the diagonal of the rectangle that is the diameter.
$endgroup$
– yolo
Feb 15 '18 at 16:20
1
$begingroup$
"-All corners of the rectangle touch the edge of the circle" and "IT IS NOT INSCRIBED!!!" are contradictory statements.
$endgroup$
– fleablood
Feb 15 '18 at 16:27
$begingroup$
By the way the "edge" of a circle is ... the circle itself. I circle is the curve that forms it an not any of the points inside.
$endgroup$
– fleablood
Feb 15 '18 at 16:29
$begingroup$
Not necessarily. draw a circle in ms paint and draw a rectangle inside it.
$endgroup$
– yolo
Feb 15 '18 at 15:50
$begingroup$
Not necessarily. draw a circle in ms paint and draw a rectangle inside it.
$endgroup$
– yolo
Feb 15 '18 at 15:50
$begingroup$
Intuitively it seems the diameter of the rectangle should be the diameter of the circle, doesn't it? Try to prove if that is or isn't true. Then... well, what's the formula for the diameter of a rectangle.
$endgroup$
– fleablood
Feb 15 '18 at 16:18
$begingroup$
Intuitively it seems the diameter of the rectangle should be the diameter of the circle, doesn't it? Try to prove if that is or isn't true. Then... well, what's the formula for the diameter of a rectangle.
$endgroup$
– fleablood
Feb 15 '18 at 16:18
$begingroup$
turns out that it is the diagonal of the rectangle that is the diameter.
$endgroup$
– yolo
Feb 15 '18 at 16:20
$begingroup$
turns out that it is the diagonal of the rectangle that is the diameter.
$endgroup$
– yolo
Feb 15 '18 at 16:20
1
1
$begingroup$
"-All corners of the rectangle touch the edge of the circle" and "IT IS NOT INSCRIBED!!!" are contradictory statements.
$endgroup$
– fleablood
Feb 15 '18 at 16:27
$begingroup$
"-All corners of the rectangle touch the edge of the circle" and "IT IS NOT INSCRIBED!!!" are contradictory statements.
$endgroup$
– fleablood
Feb 15 '18 at 16:27
$begingroup$
By the way the "edge" of a circle is ... the circle itself. I circle is the curve that forms it an not any of the points inside.
$endgroup$
– fleablood
Feb 15 '18 at 16:29
$begingroup$
By the way the "edge" of a circle is ... the circle itself. I circle is the curve that forms it an not any of the points inside.
$endgroup$
– fleablood
Feb 15 '18 at 16:29
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
We know that the length from one corner to the opposite must be the diameter. So $$sqrt{l^2+w^2}=d$$ For a cuboid $$sqrt{l^2+w^2+h^2}=d$$
$endgroup$
$begingroup$
Why do I feel so stupid right now? And I assume for a cuboid in a sphere you just need to do... Ok I'm stuck again
$endgroup$
– yolo
Feb 15 '18 at 16:04
$begingroup$
There is a three dimensional analog to the Pythagorean theorem you can use. It gives the distance from one point to the other in 3D
$endgroup$
– MathTrain
Feb 15 '18 at 16:08
1
$begingroup$
The diagonal of rectangle is $d=sqrt{l^2 + w^2}$ the diagonal of a cuboid would be $s = sqrt{d^2 + h^2} = sqrt{(sqrt{l^2 + w^2})^2 + h^2} = sqrt{l^2 + w^2 + h^2}$. The diagonal of a fourth dimensions tesseract would be $sqrt{s^2 + g^2} = sqrt{(sqrt{l^2 + w^2 + h^2)^2 + g^2} }= sqrt{l^2 + w^2 + h^2 +g^2}$ and the diagonal of a five dimension hyper-dyper-cuboid is .....
$endgroup$
– fleablood
Feb 15 '18 at 16:34
add a comment |
$begingroup$
Here is the solution for an inscribed square instead of a rectangle, which may help you find your solution. So, let $s=l=w$. Then, we know the diagonal of the square is equivalent to the diameter of the circle. The diagonal forms a right triangle with the sides; therefore, we have
$$ s^2 +s^2=d_{square}^2$$
where you can solve for $d_{square}$ give by
$$d_{square}=sqrt{2s^2}$$
For a cube, you know the diagonal is equal to the diameter of the sphere. However, the diagonal of one face and the edge of one face form a right triangle such that the hypotenuse is the diagonal of the cube. Therefore, we have
$$d_{square}^2+s^2=d_{cube}^2$$
where you can solve for $d_{cube}$ give by
$$d_{cube}=sqrt{d_{square}^2+s^2}$$
$endgroup$
$begingroup$
It isn't inscribed...
$endgroup$
– yolo
Feb 15 '18 at 16:17
$begingroup$
'It isn't inscribed" What do you mean? What else would "All corners of the rectangle touch the edge of the circle" possibly mean.
$endgroup$
– fleablood
Feb 15 '18 at 16:27
$begingroup$
Perhaps, I miss understood his question thinking he was asking about an inscribed square, but my solution is still valid for an inscribed square. I don't see what the harm is in this post. The assumptions are clearly stated, and through the same process he could solve the rectangular solution with a few minor changes
$endgroup$
– Ralff
Feb 15 '18 at 16:33
$begingroup$
Whilst I know this is between you two. Word of advice. Draw a circle on MS paint. Pick any point near the horizontal diameter and draw a rectangle with the rectangle tool tool
$endgroup$
– yolo
Feb 15 '18 at 16:33
$begingroup$
@yolo I am sorry I misunderstood your question. I understand what you are asking now. You can obtain the solution through a similar thought process. I may have time to edit my answer after a while.
$endgroup$
– Ralff
Feb 15 '18 at 16:35
add a comment |
$begingroup$
"-All corners of the rectangle touch the edge of the circle"
That is called the rectangle being inscribed in a circle.
"IT IS NOT INSCRIBED!!!"
Yes, it is.
......
Pick the center of the circle and draw four line segments (radii) to the four vertices of the rectangle. (We don't know yet that these radii form two intersecting lines; we want to prove that.) This cuts the rectangle into four triangles. The triangles are all isosceles because all radii of the circle are congruent. The pairs of opposite triangles are congruent as they have three congruent sides. Draw the twelve angles of the four triangles. The base angles of the pairs of adjacent triangles are supplementary because they form a right angle together. Look at the four angles and the center of the circle. Figure each one is $180$ minus the two base angles. Then each two adjacent angles are complimentary. (It's just algebra: $a = 180 -2c$ and $b = 180 -2d$ and $c + d =90$ so $a+b = 360 - 2(c + d) = 360 -2*90 = 180$.) Thus the radii you formed were actually two intersecting lines. So the center of the circle is co-linear with the diagonals of the the rectangle.
So the diagonals of the rectangle are the same as the diameter of the circle.
If the sides of the rectangle are $l,w$ then by the pythagorean theorem the diagonal of the rectangle (which is the diameter of the circle) is $sqrt{l^2 + w^2}$.
To extend to three dimensions a similar argument can prove the diagonal of the rectanguloid is the same as the diameter of the sphere. Such an argument is both too similar and too tedious to go into. (Do the same thing but there are twelve triangles and you have to prove that groups of four of them are co-planar and... well, let's just say "symmetry" and say that if the diagonal is not the diameter we have an asymmetric anomaly; that's actually acceptable argument--- it's just not very convincing if we don't know what we are doing.)
The formula for the diagonal of a rectanguloid can be extended so that if the sides of the rectanguloid or $l,w,h$ the diagonal is $sqrt{l^2 + w^2 + h^2}$
That is worth proving. The diagonal of a base face of the rectanguloid is $d= sqrt{l^2 + w^2}$. This diagonal and the height form a right triangle and the hypotenuse of this right triangle is the diagonal of the rectanguloid. So the diagonal of the rectanguloid is $sqrt {d^2 + h^2} = sqrt{(sqrt{l^2 + w^2}^2 + h^2} = sqrt{l^2 + w^2 + h^2}$.
By induction we can conclude this will hold true for multiple dimensions and an $n$-dimensional rectanguloid with sides $s_1, .... s_n$ inscribed in an an $n$ dimensional sphere, will have a diagonal, diameter of $sqrt{s_1^2 + .... + s_n^2}$.
$endgroup$
$begingroup$
"This cuts the rectangle into four triangles." This assumes the center of the circle is inside the rectangle. Oh, well. There are other ways to prove this. And in theory angles can be negative. The results are the same.
$endgroup$
– fleablood
Feb 15 '18 at 17:18
$begingroup$
My bad. I thought to be inscribed the polygon must have to be proper
$endgroup$
– yolo
Feb 15 '18 at 18:30
$begingroup$
"My bad. I thought to be inscribed the polygon must have to be proper" Really??? Why?
$endgroup$
– fleablood
Feb 15 '18 at 18:38
$begingroup$
I'll be honest. I didn't fully understand inscribed before I searched google images for inscribed shapes. They were all proper
$endgroup$
– yolo
Feb 16 '18 at 11:28
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2651852%2fhow-to-work-out-the-diameter-of-a-circle-from-a-rectangle%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
We know that the length from one corner to the opposite must be the diameter. So $$sqrt{l^2+w^2}=d$$ For a cuboid $$sqrt{l^2+w^2+h^2}=d$$
$endgroup$
$begingroup$
Why do I feel so stupid right now? And I assume for a cuboid in a sphere you just need to do... Ok I'm stuck again
$endgroup$
– yolo
Feb 15 '18 at 16:04
$begingroup$
There is a three dimensional analog to the Pythagorean theorem you can use. It gives the distance from one point to the other in 3D
$endgroup$
– MathTrain
Feb 15 '18 at 16:08
1
$begingroup$
The diagonal of rectangle is $d=sqrt{l^2 + w^2}$ the diagonal of a cuboid would be $s = sqrt{d^2 + h^2} = sqrt{(sqrt{l^2 + w^2})^2 + h^2} = sqrt{l^2 + w^2 + h^2}$. The diagonal of a fourth dimensions tesseract would be $sqrt{s^2 + g^2} = sqrt{(sqrt{l^2 + w^2 + h^2)^2 + g^2} }= sqrt{l^2 + w^2 + h^2 +g^2}$ and the diagonal of a five dimension hyper-dyper-cuboid is .....
$endgroup$
– fleablood
Feb 15 '18 at 16:34
add a comment |
$begingroup$
We know that the length from one corner to the opposite must be the diameter. So $$sqrt{l^2+w^2}=d$$ For a cuboid $$sqrt{l^2+w^2+h^2}=d$$
$endgroup$
$begingroup$
Why do I feel so stupid right now? And I assume for a cuboid in a sphere you just need to do... Ok I'm stuck again
$endgroup$
– yolo
Feb 15 '18 at 16:04
$begingroup$
There is a three dimensional analog to the Pythagorean theorem you can use. It gives the distance from one point to the other in 3D
$endgroup$
– MathTrain
Feb 15 '18 at 16:08
1
$begingroup$
The diagonal of rectangle is $d=sqrt{l^2 + w^2}$ the diagonal of a cuboid would be $s = sqrt{d^2 + h^2} = sqrt{(sqrt{l^2 + w^2})^2 + h^2} = sqrt{l^2 + w^2 + h^2}$. The diagonal of a fourth dimensions tesseract would be $sqrt{s^2 + g^2} = sqrt{(sqrt{l^2 + w^2 + h^2)^2 + g^2} }= sqrt{l^2 + w^2 + h^2 +g^2}$ and the diagonal of a five dimension hyper-dyper-cuboid is .....
$endgroup$
– fleablood
Feb 15 '18 at 16:34
add a comment |
$begingroup$
We know that the length from one corner to the opposite must be the diameter. So $$sqrt{l^2+w^2}=d$$ For a cuboid $$sqrt{l^2+w^2+h^2}=d$$
$endgroup$
We know that the length from one corner to the opposite must be the diameter. So $$sqrt{l^2+w^2}=d$$ For a cuboid $$sqrt{l^2+w^2+h^2}=d$$
edited Feb 15 '18 at 16:34
answered Feb 15 '18 at 16:02
JoshiepillowJoshiepillow
565
565
$begingroup$
Why do I feel so stupid right now? And I assume for a cuboid in a sphere you just need to do... Ok I'm stuck again
$endgroup$
– yolo
Feb 15 '18 at 16:04
$begingroup$
There is a three dimensional analog to the Pythagorean theorem you can use. It gives the distance from one point to the other in 3D
$endgroup$
– MathTrain
Feb 15 '18 at 16:08
1
$begingroup$
The diagonal of rectangle is $d=sqrt{l^2 + w^2}$ the diagonal of a cuboid would be $s = sqrt{d^2 + h^2} = sqrt{(sqrt{l^2 + w^2})^2 + h^2} = sqrt{l^2 + w^2 + h^2}$. The diagonal of a fourth dimensions tesseract would be $sqrt{s^2 + g^2} = sqrt{(sqrt{l^2 + w^2 + h^2)^2 + g^2} }= sqrt{l^2 + w^2 + h^2 +g^2}$ and the diagonal of a five dimension hyper-dyper-cuboid is .....
$endgroup$
– fleablood
Feb 15 '18 at 16:34
add a comment |
$begingroup$
Why do I feel so stupid right now? And I assume for a cuboid in a sphere you just need to do... Ok I'm stuck again
$endgroup$
– yolo
Feb 15 '18 at 16:04
$begingroup$
There is a three dimensional analog to the Pythagorean theorem you can use. It gives the distance from one point to the other in 3D
$endgroup$
– MathTrain
Feb 15 '18 at 16:08
1
$begingroup$
The diagonal of rectangle is $d=sqrt{l^2 + w^2}$ the diagonal of a cuboid would be $s = sqrt{d^2 + h^2} = sqrt{(sqrt{l^2 + w^2})^2 + h^2} = sqrt{l^2 + w^2 + h^2}$. The diagonal of a fourth dimensions tesseract would be $sqrt{s^2 + g^2} = sqrt{(sqrt{l^2 + w^2 + h^2)^2 + g^2} }= sqrt{l^2 + w^2 + h^2 +g^2}$ and the diagonal of a five dimension hyper-dyper-cuboid is .....
$endgroup$
– fleablood
Feb 15 '18 at 16:34
$begingroup$
Why do I feel so stupid right now? And I assume for a cuboid in a sphere you just need to do... Ok I'm stuck again
$endgroup$
– yolo
Feb 15 '18 at 16:04
$begingroup$
Why do I feel so stupid right now? And I assume for a cuboid in a sphere you just need to do... Ok I'm stuck again
$endgroup$
– yolo
Feb 15 '18 at 16:04
$begingroup$
There is a three dimensional analog to the Pythagorean theorem you can use. It gives the distance from one point to the other in 3D
$endgroup$
– MathTrain
Feb 15 '18 at 16:08
$begingroup$
There is a three dimensional analog to the Pythagorean theorem you can use. It gives the distance from one point to the other in 3D
$endgroup$
– MathTrain
Feb 15 '18 at 16:08
1
1
$begingroup$
The diagonal of rectangle is $d=sqrt{l^2 + w^2}$ the diagonal of a cuboid would be $s = sqrt{d^2 + h^2} = sqrt{(sqrt{l^2 + w^2})^2 + h^2} = sqrt{l^2 + w^2 + h^2}$. The diagonal of a fourth dimensions tesseract would be $sqrt{s^2 + g^2} = sqrt{(sqrt{l^2 + w^2 + h^2)^2 + g^2} }= sqrt{l^2 + w^2 + h^2 +g^2}$ and the diagonal of a five dimension hyper-dyper-cuboid is .....
$endgroup$
– fleablood
Feb 15 '18 at 16:34
$begingroup$
The diagonal of rectangle is $d=sqrt{l^2 + w^2}$ the diagonal of a cuboid would be $s = sqrt{d^2 + h^2} = sqrt{(sqrt{l^2 + w^2})^2 + h^2} = sqrt{l^2 + w^2 + h^2}$. The diagonal of a fourth dimensions tesseract would be $sqrt{s^2 + g^2} = sqrt{(sqrt{l^2 + w^2 + h^2)^2 + g^2} }= sqrt{l^2 + w^2 + h^2 +g^2}$ and the diagonal of a five dimension hyper-dyper-cuboid is .....
$endgroup$
– fleablood
Feb 15 '18 at 16:34
add a comment |
$begingroup$
Here is the solution for an inscribed square instead of a rectangle, which may help you find your solution. So, let $s=l=w$. Then, we know the diagonal of the square is equivalent to the diameter of the circle. The diagonal forms a right triangle with the sides; therefore, we have
$$ s^2 +s^2=d_{square}^2$$
where you can solve for $d_{square}$ give by
$$d_{square}=sqrt{2s^2}$$
For a cube, you know the diagonal is equal to the diameter of the sphere. However, the diagonal of one face and the edge of one face form a right triangle such that the hypotenuse is the diagonal of the cube. Therefore, we have
$$d_{square}^2+s^2=d_{cube}^2$$
where you can solve for $d_{cube}$ give by
$$d_{cube}=sqrt{d_{square}^2+s^2}$$
$endgroup$
$begingroup$
It isn't inscribed...
$endgroup$
– yolo
Feb 15 '18 at 16:17
$begingroup$
'It isn't inscribed" What do you mean? What else would "All corners of the rectangle touch the edge of the circle" possibly mean.
$endgroup$
– fleablood
Feb 15 '18 at 16:27
$begingroup$
Perhaps, I miss understood his question thinking he was asking about an inscribed square, but my solution is still valid for an inscribed square. I don't see what the harm is in this post. The assumptions are clearly stated, and through the same process he could solve the rectangular solution with a few minor changes
$endgroup$
– Ralff
Feb 15 '18 at 16:33
$begingroup$
Whilst I know this is between you two. Word of advice. Draw a circle on MS paint. Pick any point near the horizontal diameter and draw a rectangle with the rectangle tool tool
$endgroup$
– yolo
Feb 15 '18 at 16:33
$begingroup$
@yolo I am sorry I misunderstood your question. I understand what you are asking now. You can obtain the solution through a similar thought process. I may have time to edit my answer after a while.
$endgroup$
– Ralff
Feb 15 '18 at 16:35
add a comment |
$begingroup$
Here is the solution for an inscribed square instead of a rectangle, which may help you find your solution. So, let $s=l=w$. Then, we know the diagonal of the square is equivalent to the diameter of the circle. The diagonal forms a right triangle with the sides; therefore, we have
$$ s^2 +s^2=d_{square}^2$$
where you can solve for $d_{square}$ give by
$$d_{square}=sqrt{2s^2}$$
For a cube, you know the diagonal is equal to the diameter of the sphere. However, the diagonal of one face and the edge of one face form a right triangle such that the hypotenuse is the diagonal of the cube. Therefore, we have
$$d_{square}^2+s^2=d_{cube}^2$$
where you can solve for $d_{cube}$ give by
$$d_{cube}=sqrt{d_{square}^2+s^2}$$
$endgroup$
$begingroup$
It isn't inscribed...
$endgroup$
– yolo
Feb 15 '18 at 16:17
$begingroup$
'It isn't inscribed" What do you mean? What else would "All corners of the rectangle touch the edge of the circle" possibly mean.
$endgroup$
– fleablood
Feb 15 '18 at 16:27
$begingroup$
Perhaps, I miss understood his question thinking he was asking about an inscribed square, but my solution is still valid for an inscribed square. I don't see what the harm is in this post. The assumptions are clearly stated, and through the same process he could solve the rectangular solution with a few minor changes
$endgroup$
– Ralff
Feb 15 '18 at 16:33
$begingroup$
Whilst I know this is between you two. Word of advice. Draw a circle on MS paint. Pick any point near the horizontal diameter and draw a rectangle with the rectangle tool tool
$endgroup$
– yolo
Feb 15 '18 at 16:33
$begingroup$
@yolo I am sorry I misunderstood your question. I understand what you are asking now. You can obtain the solution through a similar thought process. I may have time to edit my answer after a while.
$endgroup$
– Ralff
Feb 15 '18 at 16:35
add a comment |
$begingroup$
Here is the solution for an inscribed square instead of a rectangle, which may help you find your solution. So, let $s=l=w$. Then, we know the diagonal of the square is equivalent to the diameter of the circle. The diagonal forms a right triangle with the sides; therefore, we have
$$ s^2 +s^2=d_{square}^2$$
where you can solve for $d_{square}$ give by
$$d_{square}=sqrt{2s^2}$$
For a cube, you know the diagonal is equal to the diameter of the sphere. However, the diagonal of one face and the edge of one face form a right triangle such that the hypotenuse is the diagonal of the cube. Therefore, we have
$$d_{square}^2+s^2=d_{cube}^2$$
where you can solve for $d_{cube}$ give by
$$d_{cube}=sqrt{d_{square}^2+s^2}$$
$endgroup$
Here is the solution for an inscribed square instead of a rectangle, which may help you find your solution. So, let $s=l=w$. Then, we know the diagonal of the square is equivalent to the diameter of the circle. The diagonal forms a right triangle with the sides; therefore, we have
$$ s^2 +s^2=d_{square}^2$$
where you can solve for $d_{square}$ give by
$$d_{square}=sqrt{2s^2}$$
For a cube, you know the diagonal is equal to the diameter of the sphere. However, the diagonal of one face and the edge of one face form a right triangle such that the hypotenuse is the diagonal of the cube. Therefore, we have
$$d_{square}^2+s^2=d_{cube}^2$$
where you can solve for $d_{cube}$ give by
$$d_{cube}=sqrt{d_{square}^2+s^2}$$
edited Feb 15 '18 at 17:17
answered Feb 15 '18 at 16:14
RalffRalff
584212
584212
$begingroup$
It isn't inscribed...
$endgroup$
– yolo
Feb 15 '18 at 16:17
$begingroup$
'It isn't inscribed" What do you mean? What else would "All corners of the rectangle touch the edge of the circle" possibly mean.
$endgroup$
– fleablood
Feb 15 '18 at 16:27
$begingroup$
Perhaps, I miss understood his question thinking he was asking about an inscribed square, but my solution is still valid for an inscribed square. I don't see what the harm is in this post. The assumptions are clearly stated, and through the same process he could solve the rectangular solution with a few minor changes
$endgroup$
– Ralff
Feb 15 '18 at 16:33
$begingroup$
Whilst I know this is between you two. Word of advice. Draw a circle on MS paint. Pick any point near the horizontal diameter and draw a rectangle with the rectangle tool tool
$endgroup$
– yolo
Feb 15 '18 at 16:33
$begingroup$
@yolo I am sorry I misunderstood your question. I understand what you are asking now. You can obtain the solution through a similar thought process. I may have time to edit my answer after a while.
$endgroup$
– Ralff
Feb 15 '18 at 16:35
add a comment |
$begingroup$
It isn't inscribed...
$endgroup$
– yolo
Feb 15 '18 at 16:17
$begingroup$
'It isn't inscribed" What do you mean? What else would "All corners of the rectangle touch the edge of the circle" possibly mean.
$endgroup$
– fleablood
Feb 15 '18 at 16:27
$begingroup$
Perhaps, I miss understood his question thinking he was asking about an inscribed square, but my solution is still valid for an inscribed square. I don't see what the harm is in this post. The assumptions are clearly stated, and through the same process he could solve the rectangular solution with a few minor changes
$endgroup$
– Ralff
Feb 15 '18 at 16:33
$begingroup$
Whilst I know this is between you two. Word of advice. Draw a circle on MS paint. Pick any point near the horizontal diameter and draw a rectangle with the rectangle tool tool
$endgroup$
– yolo
Feb 15 '18 at 16:33
$begingroup$
@yolo I am sorry I misunderstood your question. I understand what you are asking now. You can obtain the solution through a similar thought process. I may have time to edit my answer after a while.
$endgroup$
– Ralff
Feb 15 '18 at 16:35
$begingroup$
It isn't inscribed...
$endgroup$
– yolo
Feb 15 '18 at 16:17
$begingroup$
It isn't inscribed...
$endgroup$
– yolo
Feb 15 '18 at 16:17
$begingroup$
'It isn't inscribed" What do you mean? What else would "All corners of the rectangle touch the edge of the circle" possibly mean.
$endgroup$
– fleablood
Feb 15 '18 at 16:27
$begingroup$
'It isn't inscribed" What do you mean? What else would "All corners of the rectangle touch the edge of the circle" possibly mean.
$endgroup$
– fleablood
Feb 15 '18 at 16:27
$begingroup$
Perhaps, I miss understood his question thinking he was asking about an inscribed square, but my solution is still valid for an inscribed square. I don't see what the harm is in this post. The assumptions are clearly stated, and through the same process he could solve the rectangular solution with a few minor changes
$endgroup$
– Ralff
Feb 15 '18 at 16:33
$begingroup$
Perhaps, I miss understood his question thinking he was asking about an inscribed square, but my solution is still valid for an inscribed square. I don't see what the harm is in this post. The assumptions are clearly stated, and through the same process he could solve the rectangular solution with a few minor changes
$endgroup$
– Ralff
Feb 15 '18 at 16:33
$begingroup$
Whilst I know this is between you two. Word of advice. Draw a circle on MS paint. Pick any point near the horizontal diameter and draw a rectangle with the rectangle tool tool
$endgroup$
– yolo
Feb 15 '18 at 16:33
$begingroup$
Whilst I know this is between you two. Word of advice. Draw a circle on MS paint. Pick any point near the horizontal diameter and draw a rectangle with the rectangle tool tool
$endgroup$
– yolo
Feb 15 '18 at 16:33
$begingroup$
@yolo I am sorry I misunderstood your question. I understand what you are asking now. You can obtain the solution through a similar thought process. I may have time to edit my answer after a while.
$endgroup$
– Ralff
Feb 15 '18 at 16:35
$begingroup$
@yolo I am sorry I misunderstood your question. I understand what you are asking now. You can obtain the solution through a similar thought process. I may have time to edit my answer after a while.
$endgroup$
– Ralff
Feb 15 '18 at 16:35
add a comment |
$begingroup$
"-All corners of the rectangle touch the edge of the circle"
That is called the rectangle being inscribed in a circle.
"IT IS NOT INSCRIBED!!!"
Yes, it is.
......
Pick the center of the circle and draw four line segments (radii) to the four vertices of the rectangle. (We don't know yet that these radii form two intersecting lines; we want to prove that.) This cuts the rectangle into four triangles. The triangles are all isosceles because all radii of the circle are congruent. The pairs of opposite triangles are congruent as they have three congruent sides. Draw the twelve angles of the four triangles. The base angles of the pairs of adjacent triangles are supplementary because they form a right angle together. Look at the four angles and the center of the circle. Figure each one is $180$ minus the two base angles. Then each two adjacent angles are complimentary. (It's just algebra: $a = 180 -2c$ and $b = 180 -2d$ and $c + d =90$ so $a+b = 360 - 2(c + d) = 360 -2*90 = 180$.) Thus the radii you formed were actually two intersecting lines. So the center of the circle is co-linear with the diagonals of the the rectangle.
So the diagonals of the rectangle are the same as the diameter of the circle.
If the sides of the rectangle are $l,w$ then by the pythagorean theorem the diagonal of the rectangle (which is the diameter of the circle) is $sqrt{l^2 + w^2}$.
To extend to three dimensions a similar argument can prove the diagonal of the rectanguloid is the same as the diameter of the sphere. Such an argument is both too similar and too tedious to go into. (Do the same thing but there are twelve triangles and you have to prove that groups of four of them are co-planar and... well, let's just say "symmetry" and say that if the diagonal is not the diameter we have an asymmetric anomaly; that's actually acceptable argument--- it's just not very convincing if we don't know what we are doing.)
The formula for the diagonal of a rectanguloid can be extended so that if the sides of the rectanguloid or $l,w,h$ the diagonal is $sqrt{l^2 + w^2 + h^2}$
That is worth proving. The diagonal of a base face of the rectanguloid is $d= sqrt{l^2 + w^2}$. This diagonal and the height form a right triangle and the hypotenuse of this right triangle is the diagonal of the rectanguloid. So the diagonal of the rectanguloid is $sqrt {d^2 + h^2} = sqrt{(sqrt{l^2 + w^2}^2 + h^2} = sqrt{l^2 + w^2 + h^2}$.
By induction we can conclude this will hold true for multiple dimensions and an $n$-dimensional rectanguloid with sides $s_1, .... s_n$ inscribed in an an $n$ dimensional sphere, will have a diagonal, diameter of $sqrt{s_1^2 + .... + s_n^2}$.
$endgroup$
$begingroup$
"This cuts the rectangle into four triangles." This assumes the center of the circle is inside the rectangle. Oh, well. There are other ways to prove this. And in theory angles can be negative. The results are the same.
$endgroup$
– fleablood
Feb 15 '18 at 17:18
$begingroup$
My bad. I thought to be inscribed the polygon must have to be proper
$endgroup$
– yolo
Feb 15 '18 at 18:30
$begingroup$
"My bad. I thought to be inscribed the polygon must have to be proper" Really??? Why?
$endgroup$
– fleablood
Feb 15 '18 at 18:38
$begingroup$
I'll be honest. I didn't fully understand inscribed before I searched google images for inscribed shapes. They were all proper
$endgroup$
– yolo
Feb 16 '18 at 11:28
add a comment |
$begingroup$
"-All corners of the rectangle touch the edge of the circle"
That is called the rectangle being inscribed in a circle.
"IT IS NOT INSCRIBED!!!"
Yes, it is.
......
Pick the center of the circle and draw four line segments (radii) to the four vertices of the rectangle. (We don't know yet that these radii form two intersecting lines; we want to prove that.) This cuts the rectangle into four triangles. The triangles are all isosceles because all radii of the circle are congruent. The pairs of opposite triangles are congruent as they have three congruent sides. Draw the twelve angles of the four triangles. The base angles of the pairs of adjacent triangles are supplementary because they form a right angle together. Look at the four angles and the center of the circle. Figure each one is $180$ minus the two base angles. Then each two adjacent angles are complimentary. (It's just algebra: $a = 180 -2c$ and $b = 180 -2d$ and $c + d =90$ so $a+b = 360 - 2(c + d) = 360 -2*90 = 180$.) Thus the radii you formed were actually two intersecting lines. So the center of the circle is co-linear with the diagonals of the the rectangle.
So the diagonals of the rectangle are the same as the diameter of the circle.
If the sides of the rectangle are $l,w$ then by the pythagorean theorem the diagonal of the rectangle (which is the diameter of the circle) is $sqrt{l^2 + w^2}$.
To extend to three dimensions a similar argument can prove the diagonal of the rectanguloid is the same as the diameter of the sphere. Such an argument is both too similar and too tedious to go into. (Do the same thing but there are twelve triangles and you have to prove that groups of four of them are co-planar and... well, let's just say "symmetry" and say that if the diagonal is not the diameter we have an asymmetric anomaly; that's actually acceptable argument--- it's just not very convincing if we don't know what we are doing.)
The formula for the diagonal of a rectanguloid can be extended so that if the sides of the rectanguloid or $l,w,h$ the diagonal is $sqrt{l^2 + w^2 + h^2}$
That is worth proving. The diagonal of a base face of the rectanguloid is $d= sqrt{l^2 + w^2}$. This diagonal and the height form a right triangle and the hypotenuse of this right triangle is the diagonal of the rectanguloid. So the diagonal of the rectanguloid is $sqrt {d^2 + h^2} = sqrt{(sqrt{l^2 + w^2}^2 + h^2} = sqrt{l^2 + w^2 + h^2}$.
By induction we can conclude this will hold true for multiple dimensions and an $n$-dimensional rectanguloid with sides $s_1, .... s_n$ inscribed in an an $n$ dimensional sphere, will have a diagonal, diameter of $sqrt{s_1^2 + .... + s_n^2}$.
$endgroup$
$begingroup$
"This cuts the rectangle into four triangles." This assumes the center of the circle is inside the rectangle. Oh, well. There are other ways to prove this. And in theory angles can be negative. The results are the same.
$endgroup$
– fleablood
Feb 15 '18 at 17:18
$begingroup$
My bad. I thought to be inscribed the polygon must have to be proper
$endgroup$
– yolo
Feb 15 '18 at 18:30
$begingroup$
"My bad. I thought to be inscribed the polygon must have to be proper" Really??? Why?
$endgroup$
– fleablood
Feb 15 '18 at 18:38
$begingroup$
I'll be honest. I didn't fully understand inscribed before I searched google images for inscribed shapes. They were all proper
$endgroup$
– yolo
Feb 16 '18 at 11:28
add a comment |
$begingroup$
"-All corners of the rectangle touch the edge of the circle"
That is called the rectangle being inscribed in a circle.
"IT IS NOT INSCRIBED!!!"
Yes, it is.
......
Pick the center of the circle and draw four line segments (radii) to the four vertices of the rectangle. (We don't know yet that these radii form two intersecting lines; we want to prove that.) This cuts the rectangle into four triangles. The triangles are all isosceles because all radii of the circle are congruent. The pairs of opposite triangles are congruent as they have three congruent sides. Draw the twelve angles of the four triangles. The base angles of the pairs of adjacent triangles are supplementary because they form a right angle together. Look at the four angles and the center of the circle. Figure each one is $180$ minus the two base angles. Then each two adjacent angles are complimentary. (It's just algebra: $a = 180 -2c$ and $b = 180 -2d$ and $c + d =90$ so $a+b = 360 - 2(c + d) = 360 -2*90 = 180$.) Thus the radii you formed were actually two intersecting lines. So the center of the circle is co-linear with the diagonals of the the rectangle.
So the diagonals of the rectangle are the same as the diameter of the circle.
If the sides of the rectangle are $l,w$ then by the pythagorean theorem the diagonal of the rectangle (which is the diameter of the circle) is $sqrt{l^2 + w^2}$.
To extend to three dimensions a similar argument can prove the diagonal of the rectanguloid is the same as the diameter of the sphere. Such an argument is both too similar and too tedious to go into. (Do the same thing but there are twelve triangles and you have to prove that groups of four of them are co-planar and... well, let's just say "symmetry" and say that if the diagonal is not the diameter we have an asymmetric anomaly; that's actually acceptable argument--- it's just not very convincing if we don't know what we are doing.)
The formula for the diagonal of a rectanguloid can be extended so that if the sides of the rectanguloid or $l,w,h$ the diagonal is $sqrt{l^2 + w^2 + h^2}$
That is worth proving. The diagonal of a base face of the rectanguloid is $d= sqrt{l^2 + w^2}$. This diagonal and the height form a right triangle and the hypotenuse of this right triangle is the diagonal of the rectanguloid. So the diagonal of the rectanguloid is $sqrt {d^2 + h^2} = sqrt{(sqrt{l^2 + w^2}^2 + h^2} = sqrt{l^2 + w^2 + h^2}$.
By induction we can conclude this will hold true for multiple dimensions and an $n$-dimensional rectanguloid with sides $s_1, .... s_n$ inscribed in an an $n$ dimensional sphere, will have a diagonal, diameter of $sqrt{s_1^2 + .... + s_n^2}$.
$endgroup$
"-All corners of the rectangle touch the edge of the circle"
That is called the rectangle being inscribed in a circle.
"IT IS NOT INSCRIBED!!!"
Yes, it is.
......
Pick the center of the circle and draw four line segments (radii) to the four vertices of the rectangle. (We don't know yet that these radii form two intersecting lines; we want to prove that.) This cuts the rectangle into four triangles. The triangles are all isosceles because all radii of the circle are congruent. The pairs of opposite triangles are congruent as they have three congruent sides. Draw the twelve angles of the four triangles. The base angles of the pairs of adjacent triangles are supplementary because they form a right angle together. Look at the four angles and the center of the circle. Figure each one is $180$ minus the two base angles. Then each two adjacent angles are complimentary. (It's just algebra: $a = 180 -2c$ and $b = 180 -2d$ and $c + d =90$ so $a+b = 360 - 2(c + d) = 360 -2*90 = 180$.) Thus the radii you formed were actually two intersecting lines. So the center of the circle is co-linear with the diagonals of the the rectangle.
So the diagonals of the rectangle are the same as the diameter of the circle.
If the sides of the rectangle are $l,w$ then by the pythagorean theorem the diagonal of the rectangle (which is the diameter of the circle) is $sqrt{l^2 + w^2}$.
To extend to three dimensions a similar argument can prove the diagonal of the rectanguloid is the same as the diameter of the sphere. Such an argument is both too similar and too tedious to go into. (Do the same thing but there are twelve triangles and you have to prove that groups of four of them are co-planar and... well, let's just say "symmetry" and say that if the diagonal is not the diameter we have an asymmetric anomaly; that's actually acceptable argument--- it's just not very convincing if we don't know what we are doing.)
The formula for the diagonal of a rectanguloid can be extended so that if the sides of the rectanguloid or $l,w,h$ the diagonal is $sqrt{l^2 + w^2 + h^2}$
That is worth proving. The diagonal of a base face of the rectanguloid is $d= sqrt{l^2 + w^2}$. This diagonal and the height form a right triangle and the hypotenuse of this right triangle is the diagonal of the rectanguloid. So the diagonal of the rectanguloid is $sqrt {d^2 + h^2} = sqrt{(sqrt{l^2 + w^2}^2 + h^2} = sqrt{l^2 + w^2 + h^2}$.
By induction we can conclude this will hold true for multiple dimensions and an $n$-dimensional rectanguloid with sides $s_1, .... s_n$ inscribed in an an $n$ dimensional sphere, will have a diagonal, diameter of $sqrt{s_1^2 + .... + s_n^2}$.
answered Feb 15 '18 at 17:12
fleabloodfleablood
72k22687
72k22687
$begingroup$
"This cuts the rectangle into four triangles." This assumes the center of the circle is inside the rectangle. Oh, well. There are other ways to prove this. And in theory angles can be negative. The results are the same.
$endgroup$
– fleablood
Feb 15 '18 at 17:18
$begingroup$
My bad. I thought to be inscribed the polygon must have to be proper
$endgroup$
– yolo
Feb 15 '18 at 18:30
$begingroup$
"My bad. I thought to be inscribed the polygon must have to be proper" Really??? Why?
$endgroup$
– fleablood
Feb 15 '18 at 18:38
$begingroup$
I'll be honest. I didn't fully understand inscribed before I searched google images for inscribed shapes. They were all proper
$endgroup$
– yolo
Feb 16 '18 at 11:28
add a comment |
$begingroup$
"This cuts the rectangle into four triangles." This assumes the center of the circle is inside the rectangle. Oh, well. There are other ways to prove this. And in theory angles can be negative. The results are the same.
$endgroup$
– fleablood
Feb 15 '18 at 17:18
$begingroup$
My bad. I thought to be inscribed the polygon must have to be proper
$endgroup$
– yolo
Feb 15 '18 at 18:30
$begingroup$
"My bad. I thought to be inscribed the polygon must have to be proper" Really??? Why?
$endgroup$
– fleablood
Feb 15 '18 at 18:38
$begingroup$
I'll be honest. I didn't fully understand inscribed before I searched google images for inscribed shapes. They were all proper
$endgroup$
– yolo
Feb 16 '18 at 11:28
$begingroup$
"This cuts the rectangle into four triangles." This assumes the center of the circle is inside the rectangle. Oh, well. There are other ways to prove this. And in theory angles can be negative. The results are the same.
$endgroup$
– fleablood
Feb 15 '18 at 17:18
$begingroup$
"This cuts the rectangle into four triangles." This assumes the center of the circle is inside the rectangle. Oh, well. There are other ways to prove this. And in theory angles can be negative. The results are the same.
$endgroup$
– fleablood
Feb 15 '18 at 17:18
$begingroup$
My bad. I thought to be inscribed the polygon must have to be proper
$endgroup$
– yolo
Feb 15 '18 at 18:30
$begingroup$
My bad. I thought to be inscribed the polygon must have to be proper
$endgroup$
– yolo
Feb 15 '18 at 18:30
$begingroup$
"My bad. I thought to be inscribed the polygon must have to be proper" Really??? Why?
$endgroup$
– fleablood
Feb 15 '18 at 18:38
$begingroup$
"My bad. I thought to be inscribed the polygon must have to be proper" Really??? Why?
$endgroup$
– fleablood
Feb 15 '18 at 18:38
$begingroup$
I'll be honest. I didn't fully understand inscribed before I searched google images for inscribed shapes. They were all proper
$endgroup$
– yolo
Feb 16 '18 at 11:28
$begingroup$
I'll be honest. I didn't fully understand inscribed before I searched google images for inscribed shapes. They were all proper
$endgroup$
– yolo
Feb 16 '18 at 11:28
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2651852%2fhow-to-work-out-the-diameter-of-a-circle-from-a-rectangle%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
Not necessarily. draw a circle in ms paint and draw a rectangle inside it.
$endgroup$
– yolo
Feb 15 '18 at 15:50
$begingroup$
Intuitively it seems the diameter of the rectangle should be the diameter of the circle, doesn't it? Try to prove if that is or isn't true. Then... well, what's the formula for the diameter of a rectangle.
$endgroup$
– fleablood
Feb 15 '18 at 16:18
$begingroup$
turns out that it is the diagonal of the rectangle that is the diameter.
$endgroup$
– yolo
Feb 15 '18 at 16:20
1
$begingroup$
"-All corners of the rectangle touch the edge of the circle" and "IT IS NOT INSCRIBED!!!" are contradictory statements.
$endgroup$
– fleablood
Feb 15 '18 at 16:27
$begingroup$
By the way the "edge" of a circle is ... the circle itself. I circle is the curve that forms it an not any of the points inside.
$endgroup$
– fleablood
Feb 15 '18 at 16:29