Nicely done Frank!
This was an exercise in symmetry for my students (and me). I was mainly trying to demonstrate symmetry across both the x and y axes and across the y = x diagonal (leading to inverse functions later, perhaps). I was wanting students to understand the role of switching signs from + to - and - to + for the ordered pairs (x, y) AND to see what happens when we switch x and y, plotting (y, x). Sometimes we get interesting visual and mathematical effects... sometimes almost like a kaleidoscope.
I have never decided whether I was trying to teach a little programming using mathematics or to teach a little mathematics using programming. No matter... the students seemed to enjoy the experience for the most part and so did I.
Thanks for your interest and help! I am the complete beginner here and I'm learning by everyone sharing their programs.
Stan
Bookmarks