This month we have another 3D geometry challenge. We are projecting squares onto cylinders and spheres and measuring the perimeter. Create a worksheet that calculates any of the following:
Challenge 1: Perimeter
Calculate the perimeter of a square with a side length of 50 onto the following:
Clarifications:
Challenge 2: Area
Calculate the area of the above projected squares.
Challenge 3: Function or Program
Write a function or program that computes the perimeter or area of the projected square where the inputs are the length of a side of the square and the diameter of the sphere / cylinder.
Can you incorporate error checking in situations where the projected square goes beyond the boundaries of the square or cylinder?
Bonus Challenge – Graphing:
Use the XY Plot, 3D Plot, or Chart Component to depict the change in perimeter or area as a function of the length of one side of the square.
Bonus Challenge – Advanced Input Controls:
Incorporate advanced input controls (e.g., sliders, radio buttons, etc.) to allow people to change the inputs (e.g., length of the side of a square, diameter of the cylinder / sphere) to change the results.
You can submit partial worksheets. For example, you can solve the first challenge and submit additional worksheets later in the month as you solve later challenges.
3D CAD models created in Creo Parametric 7 have been attached to this challenge if anyone wants to verify their calculations.
Find the Mathcad Community Challenge Guidelines here!
Hmm, a little more than a quarter of July has already passed and still no contribution has been received.
Then I would like to open the round dance.
Incidently, I would not say that we are practicing non-Euclidean geometry here. 😉
EDIT: BTW, how about adding a Gnomonic projection?
Prime 11 sheet and pdf print attached
Here is my attempt.
I've only done the sphere so far; I might have a go at the cylinder if I find the time before the end of the month..
Although I adopted a straightforward deterministic approach to calculating the perimeter, I decided to calculate the area using a Monte-Carlo method - just for the hell of it!
Alan
New version of my sheet.
Added the Gnomonic projection and a few bits and pieces here and there.
I would really wish the sliders to work more smoothly and precisely and not wait for subsequent calculations before displaying another change. Subsequent calculations that depend on them should be canceled when the slider is moved.
Not sure if a stereographic projection (central projection with center ( 0 | -d/2 | 0) ) would be worth dealing with...
Dear Werner_E
I try to plot your last image. How about the perimeter or area of the projected square?
As I have already written, I was not sure whether it would be worth dealing with this case as well (meaning that I am not sure whether I would be willing to spend the time necessary 🙂 ).
I haven't dealt with this challenge since then either. There are therefore no results (yet??) for perimeter and area. The circumference should not be too difficult to determine from the four arcs. It may be an additional challenge to determine the size of the square (or rather the ratio square side/sphere radius) where the perimeter is a maximum. When the square side a is changed from 0 to infinity, the perimeter starts at zero and approaches zero again when the square side a approaches infinity.
For the area, I could imagine an implementation of Alan's Monte Carlo approach for a change. Of course the area must approach the full surface area of the sphere when a approaches infinity.
But as I said, at the moment there is only the drawing of the stereographic projection, which was easy to adapt from the existing ones.
I think that in a gnomonic projection the projection point is from the centre of the sphere, as in your earlier diagram, not from the far surface.
@AlanStevens wrote:
I think that in a gnomonic projection the projection point is from the centre of the sphere, as in your earlier diagram, not from the far surface.
Correct, but the gnonomic projection is already implemented in the last (second) version of my worksheet. I added the "heigth", the distance of the square plane to the sphere as a third input parameter, but of course putting the square just in a tangential plane would suffice to cover all cases.
The same would apply to the sterographic projection which I only mentioned as being a possible additional task. There was then the corresponding drawing. However, I have not (yet?) worked on this variant.
Ah, yes! I must read things more carefully!!
Ok, so I have extended my earlier worksheet to include the cylinder and a couple of the other challenges.
Alan
EDIT:
Small (but important!) correction to error check included
Alan