I have been scouring the Internet and various geometry books trying to figure out an issue I'm dealing with at work (I'm a professional statistician). It's been over 30 years since I've had a geometry class, so my brain is a bit rusty in this area. Here's what I have so far, can someone tell me if I'm on the right track?(adsbygoogle = window.adsbygoogle || []).push({});

Background

We are taking 2 measurements of the diameter of a cylindrical object using a simple caliper. The two measurements are taken 90° from each other. I use the word "cylindrical" loosely, as the objects are not perfectly round. There is some eccentricity.

Problem

What I would like to know is, using only these two measurements, can I calculate the maximum possible eccentricty of the object? I have posed the question as trying to find the major and minor axes of an ellipse. One possibility of course is that I have made my measurements exactly on the major and minor axes. That's easy. But what if my measurements are on two other random lines through the ellipse? Can I use that information to calculate the lengths of the major and minor axes?

I've attached a jpg image to illustrate the scenario, exagerating the lengths. Refer to the picture for what follows.

I know the length of AB and CD. I know they are perpendicular to each other. Obviously, I don't know theta. I think, given the orientation of my two line segments, an infinite number of ellipses could be drawn through those 4 points.

What I'd like to do is assume my major and minor axes are along the X and Y axes and then calculate the lengths of the major and minor axes for various values of theta. For a given theta, I can calculate the coordinates of A, C, D, and B.

Questions

1) Am I making this too complicated for myself? Is there something really simple I'm overlooking?

2) Do I iterate theta only through 45° or all the way to 89°? It seems to me I only need to iterate theta from 1° to 45°.

3) So far, as I attempt to calculate the lengths of the major and minor axes as in 2), I get some places where my results "blow up". I.e., Excel returns an error of some kind. It could be my equations are incorrect. I'm checking them for the umpteenth time.

Any help or direction would be greatly appreciated!

Thank you!

**Physics Forums - The Fusion of Science and Community**

# Calculate ellipse from 4 points?

Have something to add?

- Similar discussions for: Calculate ellipse from 4 points?

Loading...

**Physics Forums - The Fusion of Science and Community**