Spring 1998

Ileana Streinu

- Log on (using the class account) on any of the SGI workstations in McC 104.
- At the Unix prompt, type Cinderella& (with capital C).
- You can save the files in your 274b-xx account.
- You can also try to run it from Exceed, on any of the Windows machines in McC 104 or Burton basement - but I have not tested this feature and I cannot guarantee that it works without glitches.

- Do the construction for the false proof of "all triangles are
isosceles" and see what was wrong with the picture I had on the
blackboard:
- Draw a triangle ABC.
- Construct the angular bisector a of vertex A.
- Take the median point M of the opposite side BC.
- Construct the perpendicular h on BC through point M.
- Construct the intersection point D of a and h.
- Take the perpendicular DE from D onto AB and DF from D onto AC.
- Think of, and be prepared to answer the question: what was wrong with the "proof"?

- Explore Cinderella's features. Learn how to compute areas of polygons, lengths of segments, draw circles.
- Draw a triangle, compute its area, move one of its vertices and watch the area change. When does the sign change?
- Draw a polygon, compute its area. Then move its vertices (allowing self intersections of the egdes), and watch how the area changes. Can you tell when it becomes negative?
- Draw a few points in a new Cinderella window, them go to
the Views menu and select Spherical view. A new window will pop up,
showing you a sphere with images of these points on it. Play with the
controls of the Spherical View window to view them better. Move
the points in the original window, see what happens in the
Spherical View window.

On Tuesday I will use the spherical view model to explain why the formula for computing the area looks as it does. Later we will need to refer to this model when discussing duality. So play with it, to become familiar with it.

Using a programming language of your choice (C, C++, Java), write a function to implement this test. Write a small program to call this function on 2-3 data sets. Use Cinderella to get values for the coordinates of the points in these data sets (i.e., draw 4 points in Cinderella, then look into the Construction window to see what their coordinates are). The advantage of this way of getting the points is that you can see whether the segments cross or not - and thus you can test the correctness of your code.

However, since this is

No strict deadline for submitting an answer to this problem, but you should probably work on it in the following 2 weeks, as later we'll move on to new topics.

Last modified February 10, 2000.