tag:blogger.com,1999:blog-91728351214717235382024-02-20T19:51:44.555-08:00mathfestRoss Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.comBlogger179125tag:blogger.com,1999:blog-9172835121471723538.post-41006792209237115552022-06-02T06:31:00.003-07:002022-06-02T06:35:38.620-07:00Solving equations graphically<p> I often solve equations of the form f(x) = g(x) by graphing y = f(x) and y = g(x) on the Cartesian plane and looking for any points of intersection. The <a href="http://www.sineofthetimes.org/a-triple-number-line-model-for-visualizing-solutions-to-equations/" rel="nofollow" target="_blank">Sine of the Times blo</a>g shows a way to investigate these equations without jumping to a second dimension and introducing y. <a href="http://www.sineofthetimes.org/a-triple-number-line-model-for-visualizing-solutions-to-equations/" rel="nofollow" target="_blank">The post</a> is well worth a read.</p><p><br /></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="http://www.sineofthetimes.org/a-triple-number-line-model-for-visualizing-solutions-to-equations/" rel="nofollow" style="margin-left: 1em; margin-right: 1em;" target="_blank"><img alt="" data-original-height="586" data-original-width="800" height="234" src="https://blogger.googleusercontent.com/img/a/AVvXsEh5B-ySE6pZQv2ujybaRiLo_0BXoefBwjPgZfIVfJdKEtvjfGcQZpI2X29yp9cqnKhFCnu-VIBpTOywOSbD2hgQhlqfLO5bREOdz5rdBXpeDKzt6L8EEh56GEYtt6Q7aWH-e3muxzscbjOU0b9g-nXdJxyLnKZ52_7qt4MO13oiFSFcaxq9KHJSOdq6" width="320" /></a></div><br /><br /><p></p>Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com0tag:blogger.com,1999:blog-9172835121471723538.post-2379415321684510252018-10-26T06:18:00.001-07:002018-10-26T06:28:45.223-07:00The Orthocircle. Who knew?I have been writing some support materials for the yet to be released <a href="https://mailchi.mp/e3550b658945/rt1ryrjpqz" target="_blank">Pattern Blocks+</a> mathies tool. I received feedback that many elementary teachers would not be familiar with the term "altitude", much less "orthocentre". It occured to me, that I knew about the incentre and incircle, the circumcentre and circumcircle, but couldn't recall ever constructing an orthocircle.<br />
<div>
<br /></div>
<div>
I read Math is Fun's <a href="https://www.mathsisfun.com/geometry/triangle-centers.html" target="_blank">Triangle Centers</a> page and loved the visuals and interactive sketches, but they did not include an orthocircle. The page says that there are actually thousands of "centres" of a triangle, and I wonder if "interior points" was what was meant.</div>
<div>
<br /></div>
<div>
After a little more surfing, I wrote the following:</div>
<div>
<br /></div>
<div>
<blockquote class="tr_bq">
<span style="font-family: "arial" , "helvetica" , sans-serif; font-size: 13px;">The three altitudes of a triangle always intersect in a single point called the </span><em style="font-family: arial, helvetica, sans-serif; font-size: 13px;">orthocentre</em><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: 13px;"> of the triangle. This point is the centre of a circle that can be constructed by creating a triangle with sides parallel to the original triangle through its vertices (see below). </span></blockquote>
<blockquote class="tr_bq">
<img alt="A construction of the orthocircle of a triangle" src="https://support.mathies.ca/en/mainSpace/files/PB_Orthocentre.png" style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 13px; height: 177px; padding: 4px; width: 231px;" /><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: 13px;"> </span></blockquote>
</div>
<div>
It was nice to dust off The Geometer's Sketchpad again.</div>
<div>
<br /></div>
<div>
Is the orthocircle as new to you as it was to me?</div>
<div>
Is what I have written accurate or is it better to say that this is one of many orthocircles?</div>
<div>
<br /></div>
<div>
See <a href="https://en.wikipedia.org/wiki/Medial_triangle#Anticomplementary_triangle">https://en.wikipedia.org/wiki/Medial_triangle#Anticomplementary_triangle</a></div>
<div>
<br /></div>
<div>
My 11th blog anniversary went by on the 23rd.</div>
Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com0tag:blogger.com,1999:blog-9172835121471723538.post-10350941278654148102017-05-18T04:25:00.000-07:002017-05-21T06:16:27.053-07:00Exploring Area and PerimeterAt the RMS Spring Symposium, Dr. Christine Suurtamm used the following scenario as a springboard to talk about Math content knowledge and pedagogical content knowledge (i.e., what is important mathematically and how to help a student learn about it).<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieNBIl9jbf8ZQ0Cp5YazbpiGIvcjHvqErsAtnFNvh4aOy-RgUrFUxKMSFNIya0pk-Z6M-ay_2v1cmj4QvAUC2KNMSW55BOwSdQRAUHRuopBGIVN6btjWS9wa-Y85sJoC96M9azvHMHIv0/s1600/RMSAreaPerimeter.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieNBIl9jbf8ZQ0Cp5YazbpiGIvcjHvqErsAtnFNvh4aOy-RgUrFUxKMSFNIya0pk-Z6M-ay_2v1cmj4QvAUC2KNMSW55BOwSdQRAUHRuopBGIVN6btjWS9wa-Y85sJoC96M9azvHMHIv0/s400/RMSAreaPerimeter.jpg" width="400" /></a></div>
<br />
There was lots of rich discussion. It made me think about taking three sides of a polygon and moving the middle side out. Here the right side of the square has been moved out to make a rectangle with larger area and larger perimeter. I called this "extrusion" but am not sure that is mathematically correct and became uninterested in whether the new side was parallel to the old one.<br />
<br />
For a simple quadrilateral, it makes sense to me that as you move the middle side out, the area gets bigger.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlMpetpZMm-3pR4AMb7FBKBDXr-nyzjUHMSely4J0I3p8myxIbfUJnEOIGbVsKvKgDc0pgfghE14WZWSlhwUnYUdByeeeKHewcvQmnYRSEc8fms3x3UDMgYMkL65PPavtERMUcQE1I07M/s1600/Extrusion1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="215" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlMpetpZMm-3pR4AMb7FBKBDXr-nyzjUHMSely4J0I3p8myxIbfUJnEOIGbVsKvKgDc0pgfghE14WZWSlhwUnYUdByeeeKHewcvQmnYRSEc8fms3x3UDMgYMkL65PPavtERMUcQE1I07M/s400/Extrusion1.png" width="400" /></a></div>
<br />
To keep the notation friendlier, let's call newA "C" and newB "D". <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcHhi6TMySMtTRPfapTBUuQ30KvnJDtMm7Pd3Eel7noSV46eds9k1DREDkMbj8Ib2V5E-2jTkxsLk0lM6BCocATfBY4knd5sSGs_-rbIWnTnHNcHFMYWna1mXETehxL2EJvE9swxiJHmI/s1600/Extrusion2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="197" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcHhi6TMySMtTRPfapTBUuQ30KvnJDtMm7Pd3Eel7noSV46eds9k1DREDkMbj8Ib2V5E-2jTkxsLk0lM6BCocATfBY4knd5sSGs_-rbIWnTnHNcHFMYWna1mXETehxL2EJvE9swxiJHmI/s400/Extrusion2.png" width="400" /></a></div>
<br />
<br />
The perimeter looks like it is getting bigger (i.e., that AC + CD + DB is bigger than AB) but I wondered if the decrease in CD might be bigger than the increase along the ray formed by the containing sides (AC + DB).<br />
<br />
My buddy Greg used a triangle inequality argument to convince me that the perimeter gets bigger. The triangle inequality is a fancy way of saying that the shortest distance between two points is a line. Here the distance from A to D is shortest along the line, going via C is longer.<br />
<br />
AC + CD > AD<br />
<br />
Similarly, looking at triangle ABD,<br />
<br />
AD + DB > AB<br />
<br />
Putting it together,<br />
<br />
AC + CD + DB > AD + DB > AB<br />
<br />
So the new perimeter is bigger than the old one.<br />
<br />
I started to feel smug and accomplished and then I thought about a counter-example,<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPFx60jQv4Zq1dlHR2Q45xYon2t7h-md2jpC1IjligmykfnSFGr9V3QadI4S_DexrrzlRWdAlYqp7KwHtT3OnA0n9FzP81-f80FIbfnqtgxve-BqWb6tjPN_zRwro6sRI4q3yZF-7TfHg/s1600/Extrusion3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="301" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPFx60jQv4Zq1dlHR2Q45xYon2t7h-md2jpC1IjligmykfnSFGr9V3QadI4S_DexrrzlRWdAlYqp7KwHtT3OnA0n9FzP81-f80FIbfnqtgxve-BqWb6tjPN_zRwro6sRI4q3yZF-7TfHg/s400/Extrusion3.png" width="400" /></a></div>
<br />
As a teacher, where would you go with this?<br />
<br />Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com0tag:blogger.com,1999:blog-9172835121471723538.post-33285219608512727542017-05-15T08:23:00.000-07:002017-05-15T08:24:21.067-07:00Another visualization taskHere is another interesting setup, shared in Tom Steinke's OAME 2017 session. I have seen circles around squares and circles inside squares, but not circles and squares sharing a baseline. <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieE8M1fOU1AzsgVpz4rtqOJP8dwIqw0Lsrxt_g2B2-RpRYYmuODRNijYc_j65QSj76GwiO5AJVCd0SdQaGQQ6RoVDTMyuAdb31DphzE7NjKmjhBMxTQJrPEn3Aqnf5ug6MZzRNdFd5dWw/s1600/SquareCircleBaseline.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="307" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieE8M1fOU1AzsgVpz4rtqOJP8dwIqw0Lsrxt_g2B2-RpRYYmuODRNijYc_j65QSj76GwiO5AJVCd0SdQaGQQ6RoVDTMyuAdb31DphzE7NjKmjhBMxTQJrPEn3Aqnf5ug6MZzRNdFd5dWw/s320/SquareCircleBaseline.png" width="320" /></a></div>
I think a student could do a lot of productive reasoning about what the situation would look like prior to using the <a href="http://www.isenegger.ca/blog/SquareCircleBaseline/index.html" target="_blank">interactive sketch</a>.<br />
<br />
<br />
<ol>
<li>What does the rectangle look like at the extremes?</li>
<li>Will the side be greater than or less than the diameter?</li>
<li>What fraction of the side length of the square do you think the diameter will be?</li>
</ol>
<div>
Opening the sketch and dragging the point, without showing the measurements, is interesting. How close is a student's guess about where the position of the drag point must be for the rectangle to be a square? How close is there estimation of the relationship between the square's side and the diameter?</div>
<div>
<br /></div>
<div>
Lastly, they could choose an arbitrary diameter, like 100, and see if they can verify the result. Surprisingly, everything comes out nice and evenly with narry a square root of two in sight!</div>
Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com0tag:blogger.com,1999:blog-9172835121471723538.post-50751204126566158642017-05-12T05:55:00.001-07:002017-05-12T05:55:55.030-07:00Slanty SquaresI attended a well-crafted session with Kit Luce yesterday. She handed out a square and asked us what questions it brought to mind. One participant wondered if the green square was half of the total. I thought that was interesting and also thought that the green area was clearly more than a half.
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEim1_uGP1Hh_SBt5tE2Vzj6U1wa8ITBLtVqf4Q2yZsM4A-QIue7pk5LZXM5jpHgOFir8p7HwBIcPpcVGhut0-ZPyYbhDLeP_1RWtOU76lUM3abKmjvzNUvZ7Dvs19Mag2kFnxinuvBE14w/s1600/SlantySquares.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEim1_uGP1Hh_SBt5tE2Vzj6U1wa8ITBLtVqf4Q2yZsM4A-QIue7pk5LZXM5jpHgOFir8p7HwBIcPpcVGhut0-ZPyYbhDLeP_1RWtOU76lUM3abKmjvzNUvZ7Dvs19Mag2kFnxinuvBE14w/s320/SlantySquares.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
I took the rather woeful photo above, imported it into the <a href="http://www.mathies.ca/apps.php" target="_blank">mathies Notepad Tool</a>, and used a grid to estimate the areas. I was surprised that the green area seemed to be significantly less that one-half.<br />
<br />
I then turned to Sketchpad to model the situation. Apparently, Blogger doesn't let me use an iframe to embed a web sketch at a regular http:// address, so you have to visit the <a href="http://www.isenegger.ca/blog/SlantySquares" target="_blank">interactive sketch</a> in its own window.<br />
<br />
What is special about the place where the green square is exactly one-half of the area?<br />
<br />
Do you find this as counter-intuitive as I do?Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com1tag:blogger.com,1999:blog-9172835121471723538.post-66553497689707143822017-05-12T03:36:00.000-07:002017-05-12T03:36:10.381-07:00A parti at OAME 2017Yesterday, Greg Clarke and I gave a session at OAME 2017, entitled "Reasoning and Proving with Relational Rods". Toward the end, we talked about <a href="https://en.wikipedia.org/wiki/Partition_(number_theory)" target="_blank">partitions of a number and Young Diagrams</a>. There are 297 partitions of 17, including:<br />
<br />
<ul>
<li>17</li>
<li>16 + 1</li>
<li>15 + 2</li>
<li>15 + 1 + 1</li>
<li> </li>
<li> </li>
<li> </li>
<li>2 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1</li>
<li>1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1</li>
</ul>
<div>
There are only five partitions of 17 that have distinct odd parts:</div>
<div>
<ul>
<li>17</li>
<li>13 + 3 + 1</li>
<li>11 + 5 + 1</li>
<li>9 + 7 + 1</li>
<li>9 + 5 + 3</li>
</ul>
<div>
A Young Diagram is an arrangement of squares, that corresponds to a partition. You can create Young-like diagrams using the Relational Rods+ and the Colour Tiles <a href="http://mathies.ca/apps.php" target="_blank">mathies Learning Tools</a>.</div>
</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBvuPJQzUokMUwjR9ViEeM_7N2vKmnv29Y7kYRYhVTTl2MaAfUG3zPJl-GB4YnWh9OK6wXH8wufaRKz_YJVRd8jJ_NBxZGKva6DEQp0ZPxKUGj0rIxGczzEvqBqtx8WHpvyembfTGAkyg/s1600/FivePartitionsOf17DistinctOddParts.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="302" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBvuPJQzUokMUwjR9ViEeM_7N2vKmnv29Y7kYRYhVTTl2MaAfUG3zPJl-GB4YnWh9OK6wXH8wufaRKz_YJVRd8jJ_NBxZGKva6DEQp0ZPxKUGj0rIxGczzEvqBqtx8WHpvyembfTGAkyg/s320/FivePartitionsOf17DistinctOddParts.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
A conjugate is a partition that you get when you flip the rows and the columns of its Young Diagram. For example, the conjugate of </div>
<div>
17 = 9 + 5 + 3</div>
<div>
is</div>
<div>
17 = 3 + 3 + 3 + 2 + 2 + 1 + 1 + 1 + 1</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIZB_Nxv94I-75fTJ1KLBTBV1jvc_8GMZSicMPxHU0MK_Qba5oPifgvfYsWnKizZTjrqXMUbu6yJufCYd27FCtELviBOu7Q-xaY_Afb_DgyznQm-htHmvtBShe7cnijShmcyWTmpFkAow/s1600/ConjugateExample.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="188" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIZB_Nxv94I-75fTJ1KLBTBV1jvc_8GMZSicMPxHU0MK_Qba5oPifgvfYsWnKizZTjrqXMUbu6yJufCYd27FCtELviBOu7Q-xaY_Afb_DgyznQm-htHmvtBShe7cnijShmcyWTmpFkAow/s320/ConjugateExample.png" width="320" /></a></div>
<div>
<br /></div>
<div>
Sometimes, when you create a conjugate of a partition, you get the same partition. That partition is called a <b>self-conjugate</b>. For example,</div>
<div>
17 = 5 + 4 + 4 + 3 + 1</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxEN5KMhd6MoLc-q1ywAEyI9KsQO4uoNWQYJF2fPCcGYCypgxd7scO3_nQicbp15bH2XBJS6DRBXAkZ2oZQ1RAHNU5uoTMzY33GXBLwYMBUnKa7KNnRNlU0zxTymJtNSyYC1uh-EOZvyI/s1600/SelfConjugateExample17.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="154" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxEN5KMhd6MoLc-q1ywAEyI9KsQO4uoNWQYJF2fPCcGYCypgxd7scO3_nQicbp15bH2XBJS6DRBXAkZ2oZQ1RAHNU5uoTMzY33GXBLwYMBUnKa7KNnRNlU0zxTymJtNSyYC1uh-EOZvyI/s320/SelfConjugateExample17.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Using Relational Rods+</td></tr>
</tbody></table>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZLGRWyIdteIvbOVWAunz9-Y3YHKnO6sRJxRnISQml4qWQtwaorfa2wFSNpKJcI8pO6txaNekgxQoEqAzNntHUyKqP82iZrn5Y5D5KiTHYbT0xZJ9ZkxL7jGCl6Fu4FRb6NICKYGJY-g0/s1600/SelfConjugateExample17ColourTiles.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="206" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZLGRWyIdteIvbOVWAunz9-Y3YHKnO6sRJxRnISQml4qWQtwaorfa2wFSNpKJcI8pO6txaNekgxQoEqAzNntHUyKqP82iZrn5Y5D5KiTHYbT0xZJ9ZkxL7jGCl6Fu4FRb6NICKYGJY-g0/s320/SelfConjugateExample17ColourTiles.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Using Colour Tiles<br />(the colours are unnecessary)</td></tr>
</tbody></table>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
It turns out that there are five partitions of 17 that are self-conjugates. Can you find the other 4? It is more fun if you use <a href="http://www.mathies.ca/apps.php" target="_blank">Colour Tiles</a>, since you have the reflection and rotate buttons.</div>
<div>
<br /></div>
<div>
In our session, Greg and I stated the theorem that:</div>
<div>
<br /></div>
<blockquote class="tr_bq">
The number of partitions with distinct odd parts<br />is the same as the number of self-conjugates. </blockquote>
<div>
<br /></div>
<div>
For 17, that number is 5. We gave a way to create a self-conjugate from a partition with distinct odd parts (and vice-versa) which establishes a one-to-one correspondence. Can you see how the two sets of five are related?</div>
<div>
<br /></div>
<div>
See the <a href="http://mathclips.wikispaces.com/RelationalRodsPlusTool#ReasoningProving" target="_blank">article</a> on which our talk was based on the less-accessible <a href="https://en.wikipedia.org/wiki/Partition_(number_theory)" target="_blank">wikipedia article</a> that gave us the idea for more details.</div>
Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com0tag:blogger.com,1999:blog-9172835121471723538.post-57148441141685137322016-11-16T12:21:00.003-08:002016-11-16T12:21:44.848-08:00A little late to the US Election PartyYou may have heard about the United States having an election recently. In fact, all the talk about Florida and racial divisions might have reminded you of other recent elections.<br />
<br />
I spent some happy time after the 2004 election gathering data, by county, in a <a href="http://www.isenegger.ca/blog/2004Election_revised.ftm">Fathom document</a>. I was inspired by some fascinating articles with incredible data visualizations:<br />
<br />
<a href="http://www.princeton.edu/~rvdb/JAVA/election2004/" target="_blank">The changing colors of America (1960-2004)</a>
<br />
<br />
<a href="http://www-personal.umich.edu/~mejn/election/2016/" target="_blank">Maps of the 2016 US presidential election results</a> (it used to be 2004)
<br />
<br />
and posed a few questions on <a href="http://mathforum.org/kb/thread.jspa?threadID=1111374" target="_blank">The Math Forum</a>. <br />
<br />
<a href="http://fathom.concord.org/" target="_blank">Fathom</a> is licensed by the Ontario Ministry of Education for use in its publicly funded schools and Ontario has an innovative Data Management course at the Grade 12 level.<br />
<br />
Here are two of the plots that I created in Fathom which I also think are very cool - not quite as fancy as the ones above however. These make you wonder where "middle America" has gone...<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUMO1aNZZZaghSext2CCUlw-Jr32bZCXzkJVRWWOJAtKWnBzUgaMBvnbTo1U3Yv6TC4IiQSt5nrZGCvW7cHCB5a6NQz33qIGY3LNtgTRiMATde8i3F9iyDOJkeysmv00T5Iukm7HP7fSg/s1600/FathomMapsForBlog2016.gif" imageanchor="1"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUMO1aNZZZaghSext2CCUlw-Jr32bZCXzkJVRWWOJAtKWnBzUgaMBvnbTo1U3Yv6TC4IiQSt5nrZGCvW7cHCB5a6NQz33qIGY3LNtgTRiMATde8i3F9iyDOJkeysmv00T5Iukm7HP7fSg/s640/FathomMapsForBlog2016.gif" width="497" /></a><br />
<br />
The comments related to the collection are worth a read.Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com0tag:blogger.com,1999:blog-9172835121471723538.post-6319237475536472642016-02-09T12:11:00.000-08:002019-03-24T11:55:36.695-07:00Tribute to Bob ElliottMy dad used to listen to <a href="https://en.wikipedia.org/wiki/Gilmour%27s_Albums" target="_blank">Gilmour's Albums</a> religiously - it was Sunday after all. Gilmour introduced me to Bob and Ray who I just loved. <a href="https://en.wikipedia.org/wiki/Bob_Elliott_(comedian)" target="_blank">Bob Elliott</a> died a week ago, so I am embedding two of my favorites as a tribute.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: center;">
<iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/gZEyvwhjcFk/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/gZEyvwhjcFk?feature=player_embedded" width="320"></iframe></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/Qvrh73BVraE/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/Qvrh73BVraE?feature=player_embedded" width="320"></iframe></div>
<br />
Smart - like <a href="https://www.youtube.com/watch?v=s74Cw3sqG5I" target="_blank">Shakespearean Baseball</a><br />
<br />
<br />
<br />Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com0tag:blogger.com,1999:blog-9172835121471723538.post-51865001966832227192016-02-09T10:35:00.003-08:002016-02-09T10:35:49.845-08:00Using a CLIPS Activity in SMART Notebook - ReduxIn <a href="http://mathfest.blogspot.ca/2009/12/using-clips-activity-in-smart-notebook.html" target="_blank">a post from 2009</a>, Giancarlo Brotto explained how to embed .swf downloads from <a href="http://www.mathclips.ca/" target="_blank">MathCLIPS</a> into SMART Notebook. This year, SMART Notebook will be moving away from Flash, and so Giancarlo has updated the video with three methods to embed CLIPS activities, games and tools into a Notebook file. He even added some promotion for other SMART products, I guess that is what you do if you are Global Education Strategist for SMART. <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe width="320" height="266" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/tQKtcp-LN4k/0.jpg" src="https://www.youtube.com/embed/tQKtcp-LN4k?feature=player_embedded" frameborder="0" allowfullscreen></iframe></div>
<br />
<br />
<br />Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com0tag:blogger.com,1999:blog-9172835121471723538.post-13114854404736954672015-12-18T05:32:00.000-08:002015-12-18T05:32:19.433-08:00Creating a custom formula in Google Sheets to concatenate a range of values with a delimiterIn the past, I have written a little VBA to create an Excel function to do this. I use it to take a range of cells containing email addresses and make one string containing those addresses delimited by semi-colons suitable for pasting into the TO: field of an email.<br />
<br />
Now that I am using Google Sheets more, I was curious if I could do a similar thing.<br />
<br />
With a little investigation, I was able to go to Tools | Script Editor and enter the following:<br />
<br />
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0uzgEXbtDFanOTvA1UXn05Nb-cZs9kQRZWn4qe4kSJ6XT2nrstGT8ESyZGiVQeVKSyvNkgvIlqP5VrkxsAyk75XNayNwKtZBjP54e6N9Nbj09Ox0GaW1Y1wuc_G608hr4flRpboSRrp_w/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> function CCAT(range, delimiter) {
var returnString = '';
var rows = range.length;
for (r=0; r<rows;r++){
var cols = range[r].length;
for (c=0; c<cols; c++){
returnString += range[r][c]+delimiter;
}
}
return returnString;
}
</code></pre>
<br />
Once it is saved I can invoke it from my Sheet using something like:<br />
<br />
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0uzgEXbtDFanOTvA1UXn05Nb-cZs9kQRZWn4qe4kSJ6XT2nrstGT8ESyZGiVQeVKSyvNkgvIlqP5VrkxsAyk75XNayNwKtZBjP54e6N9Nbj09Ox0GaW1Y1wuc_G608hr4flRpboSRrp_w/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> =CCAT(C2:C25,";")
</code></pre>
<br />
Notice that a range like C2:C25 is automatically converted by Sheets into a two dimensional array.<br />
<br />
After successfully creating the function, I searched for a similar solution online and found that there are ways to do it that do not require a custom script - see<br />
<a href="https://productforums.google.com/forum/?hl=en#!category-topic/docs/how-do-i/FQbzbVK4-i0">https://productforums.google.com/forum/?hl=en#!category-topic/docs/how-do-i/FQbzbVK4-i0</a> , however my script is illustrative if not elegant.Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com1tag:blogger.com,1999:blog-9172835121471723538.post-80515712546431882362015-11-04T08:57:00.000-08:002015-11-04T08:57:04.789-08:00Scratch and Binomial Walks<div class="separator" style="clear: both; text-align: left;">
I am at the #<a href="http://bringittogether.ca/" target="_blank">bit15</a> conference and attended the Coding and Math session with @<a href="http://www.researchideas.ca/" target="_blank">georgegadanidis</a>. We learned a little <a href="https://scratch.mit.edu/" target="_blank">Scratch</a> programming.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
We did the requisite square and circle creation tasks. He had some nice connections to higher level math - including extending a two coin toss scenario to the binomial theorem. At that point, I worked on my program to make the cat do a binomial walk - not realizing that he would have that example later. I have shared my project at <a href="https://scratch.mit.edu/projects/86529699/">https://scratch.mit.edu/projects/86529699/</a> and embedded it below:</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<iframe allowfullscreen="" allowtransparency="true" frameborder="0" height="402" src="//scratch.mit.edu/projects/embed/86529699/?autostart=false" width="485"></iframe>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The cat should start moving when you click the green flag. In the offline Scratch editor, you can export the list of horizontal positions where 0 is the centre. I then imported it into Fathom to make a histogram.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhESeaVRHZuBpehcYkgeGTrgRX8i9eqKrz8d1pyHEChjutSptVP_BumcXIJ0LKQocOhxWKyzzpvMVDVmAgnsdXPL3OdLpIlu4NvKseIThrp-idqw3w7IoH_iCp3yCNXPiEyMJ1RRiG3QLc/s1600/BinomialHistogram.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhESeaVRHZuBpehcYkgeGTrgRX8i9eqKrz8d1pyHEChjutSptVP_BumcXIJ0LKQocOhxWKyzzpvMVDVmAgnsdXPL3OdLpIlu4NvKseIThrp-idqw3w7IoH_iCp3yCNXPiEyMJ1RRiG3QLc/s1600/BinomialHistogram.gif" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
Looks pretty binomial to me!</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
I am using Twitter as part of our #mmmmECOO presentation - my handle is <a href="https://twitter.com/search?q=%40rossisen&src=typd" target="_blank">@rossisen</a>.</div>
<br />Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com6tag:blogger.com,1999:blog-9172835121471723538.post-41191732465448230862015-06-11T04:33:00.000-07:002015-06-11T04:33:03.297-07:00How do I Construct these Loci?If you have two points, A and B, in the plane and then determine a third point P by measuring the distances to the original two and having the sum of those distances constant, you define an ellipse.<br />
<br />
PA + PB = k<br />
<br />
Tracing out such a locus is a fairly standard thing that is done in Sketchpad by defining the sum as a segment, creating a point on the segment to partition the length in 2, creating a circle with each partition as a radius, and tracing out the intersections.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjalZIHtsf5PESe05JLgel5haf1-uDfVJsGJgyPcPv0QgQMV6lP7YedUkdY1h1AiGxXjYwPScol-Mc8fJM5XQ-fyDq9j6_T3j5iBgDdgI45MwsXblwdhte8wl4t3avySom37-kPYoEtJ_g/s1600/Ellipse.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="245" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjalZIHtsf5PESe05JLgel5haf1-uDfVJsGJgyPcPv0QgQMV6lP7YedUkdY1h1AiGxXjYwPScol-Mc8fJM5XQ-fyDq9j6_T3j5iBgDdgI45MwsXblwdhte8wl4t3avySom37-kPYoEtJ_g/s400/Ellipse.png" width="400" /></a></div>
<br />
<br />
<br />
What if you have three points, A, B, and C, in the plane and then determine a fourth point P by measuring the distances to the original three and having the sum of those distances be a constant?<br />
<br />
PA + PB + PC = k<br />
<br />
Here, I have constructed the Fermat Point P[0] which is the point where the sum is a minimum. Then I traced out three points with the constant sum approximately 10, 12 and 14 units.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0-qDzK-U3d8xDx9J74KeH21jN1feMQ9_3ADxAaRP9I4mG-KtIgjr6heDuVWz_K3Gnhmh3dPFHTeKdkw_1h3IzIuXB_4sZpWWm6LDyoZMsCWjvw0-F4NE-5lkOCpLT3q4C6UqGoaBHtfw/s1600/SumOfDistances.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="295" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0-qDzK-U3d8xDx9J74KeH21jN1feMQ9_3ADxAaRP9I4mG-KtIgjr6heDuVWz_K3Gnhmh3dPFHTeKdkw_1h3IzIuXB_4sZpWWm6LDyoZMsCWjvw0-F4NE-5lkOCpLT3q4C6UqGoaBHtfw/s400/SumOfDistances.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
I am looking for a more elegant way to trace out the locus corresponding to any given constant sum of distances to the vertices. I would also like to know what the curve is called and whether there is a way to graph a relation with that shape.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
I am calling on the vast readership and commenters to help!</div>
Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com1tag:blogger.com,1999:blog-9172835121471723538.post-9660062260921963422015-06-02T04:55:00.000-07:002015-06-02T05:04:11.623-07:00An Interactive Version of the Triangle InvestigationIn the <a href="http://mathfest.blogspot.ca/2015/05/investigating-triangles.html" target="_blank">previous post</a>, I captured movies of my investigation with The Geometer's Sketchpad. Web Sketchpad allows for including an HTML 5 version of the sketch on a webpage, like this one.<br />
<br />
Drag the yellow dot, currently on the triangle to trace out the various positions and area of the triangle.<br />
<br />
<iframe height="600" src="http://isenegger.ca/blog/TriangleLongestSide10/index.html" width="600">
<p>
Your browser does not support iframes.</p>
</iframe><br />
<br />
Note that I have enforced the maximum side length of 10 in a very strange way. Can you describe what I have done? Can you do it in a similar or better way?<br />
<br />
Where do you have to place the yellow dot in order to have an area of 0?<br />
<br />
How can you drag the yellow dot to keep the area the same?<br />
<br />
What other patterns do you see in the behaviour? (There are lots more in the <a href="http://mathfest.blogspot.ca/2015/05/investigating-triangles.html" target="_blank">previous post</a>)Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com6tag:blogger.com,1999:blog-9172835121471723538.post-28256125365160882392015-05-21T03:45:00.002-07:002015-05-21T04:57:23.347-07:00Investigating TrianglesFor some reason, I woke up this morning thinking about triangles. Particularly triangles with longest side 10 units. I thought that Sketchpad might be an interesting way to construct said triangles and investigate relationships between the lengths of the other two sides.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmQLufUW25EI6oLT3QCpJFVKw9JxdrQDEAbRjEYIq3MGdpQleuEJU3nd_5KnXzTvbFHiwgjwY0OcnSUHRbL9gErKKl2s7Zbz17PfxzpTKZxe62nSdQQaOuXpW0hVE10h3u2EptpAofxvo/s1600/FinalProduct.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="170" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmQLufUW25EI6oLT3QCpJFVKw9JxdrQDEAbRjEYIq3MGdpQleuEJU3nd_5KnXzTvbFHiwgjwY0OcnSUHRbL9gErKKl2s7Zbz17PfxzpTKZxe62nSdQQaOuXpW0hVE10h3u2EptpAofxvo/s320/FinalProduct.png" width="320" /></a></div>
You can see that I ended up with a tan triangle on the left and a plot relating the two remaining side lengths. The following videos step you through the process of creating the sketch and using it to investigate some very interesting questions about the boundary of the region on the right, isosceles triangles, right triangles, and maximal areas.<br />
<br />
In Ontario, students in the Grade 9 Applied Level are expected to do investigations like this, although they start with rectangles - which seems more complicated. They are expected to investigate figures with maximal area as well as 3D shapes.<br />
<br />
You can download the <a href="http://www.isenegger.ca/blog/TriangleWithSide10.gsp">sketch</a>, but it is more fun to create it yourself. I have captured my investigation in case it helps in the 12 videos below. If you find that you have trouble motivating yourself to watch 12 fascinating videos, you could just watch the last one to get a sense of where the investigation ends up.<br />
<br />
<span style="font-size: x-small;">(You can click on the title to get the video in a new tab)</span><br />
<br />
<br />
<a href="http://www.isenegger.ca/blog/1ConstructingTheTriangle.swf" target="_blank">Constructing the Triangle</a><br />
<object data="http://www.isenegger.ca/blog/1ConstructingTheTriangle.swf" height="600" width="800"></object><br />
<br />
<a href="http://www.isenegger.ca/blog/2ConstructingPointForSideLengths.swf" target="_blank">Constructing the Point representing Side Lengths</a>
<object data="http://www.isenegger.ca/blog/2ConstructingPointForSideLengths.swf" height="600" width="800"></object>
<br />
<br />
<a href="http://www.isenegger.ca/blog/3ConstructingXandYSegments.swf" target="_blank">Constructing the x and y segments</a><br />
<object data="http://www.isenegger.ca/blog/3ConstructingXandYSegments.swf" height="600" width="800"></object><br />
<br />
<a href="http://www.isenegger.ca/blog/4TracingPossibleSideLengths.swf" target="_blank">Tracing the Side Lengths</a><br />
<object data="http://www.isenegger.ca/blog/4TracingPossibleSideLengths.swf" height="600" width="800"></object><br />
<br />
<a href="http://www.isenegger.ca/blog/5RegionOfPossibleSideLengths.swf" target="_blank">Investigating the Region of Possible Side Lengths</a>
<object data="http://www.isenegger.ca/blog/5RegionOfPossibleSideLengths.swf" height="600" width="800"></object>
<br />
<br />
<a href="http://www.isenegger.ca/blog/6InvestigatingTheEdges.swf" target="_blank">Investigating the Boundaries of the Region</a>
<object data="http://www.isenegger.ca/blog/6InvestigatingTheEdges.swf" height="600" width="800"></object>
<br />
<br />
<a href="http://www.isenegger.ca/blog/7EquationOfEdges.swf" target="_blank">Reasoning about the Equations of the Boundaries</a>
<object data="http://www.isenegger.ca/blog/7EquationOfEdges.swf" height="600" width="800"></object>
<br />
<br />
<a href="http://www.isenegger.ca/blog/8IsoscelesTriangle.swf" target="_blank">Investigating Isosceles Triangles</a><br />
<object data="http://www.isenegger.ca/blog/8IsoscelesTriangle.swf" height="600" width="800"></object><br />
<br />
<a href="http://www.isenegger.ca/blog/9MoreIsoscelesTriangles.swf" target="_blank">Investigating More Isosceles Triangles</a><br />
<object data="http://www.isenegger.ca/blog/9MoreIsoscelesTriangles.swf" height="600" width="800"></object><br />
<br />
<a href="http://www.isenegger.ca/blog/10RightAngled.swf" target="_blank">Investigating Right Triangles</a><br />
<object data="http://www.isenegger.ca/blog/10RightAngled.swf" height="600" width="800"></object><br />
<br />
<a href="http://www.isenegger.ca/blog/11PointOnCircle.swf" target="_blank">Triangle in a Circle</a><br />
<object data="http://www.isenegger.ca/blog/11PointOnCircle.swf" height="600" width="800"></object><br />
<br />
<a href="http://www.isenegger.ca/blog/12AreaInvestigation.swf" target="_blank">Investigating Area</a><br />
<object data="http://www.isenegger.ca/blog/12AreaInvestigation.swf" height="600" width="800"></object>Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com2tag:blogger.com,1999:blog-9172835121471723538.post-73387042046211689382015-04-10T12:26:00.002-07:002015-04-10T12:26:53.866-07:00Two new Learning Tools available<div class="MsoNormal">
<span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt;">The
Ministry Digital Resources Development team is delighted to announce that two
new apps, Money by Mathies and Notepad by Mathies, are now available at the <a href="https://itunes.apple.com/ca/artist/oame/id868343673">App Store</a>, the <a href="https://play.google.com/store/apps/developer?id=OAME">Google Play Store</a>
and for Desktop. </span></div>
<div class="MsoNormal">
<span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt;"><br /></span></div>
<div class="MsoNormal">
<span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt;">Please visit <a href="http://www.mathies.ca/LearningTools.php">www.mathies.ca/LearningTools.php</a>
to access them. </span></div>
<div class="MsoNormal">
<span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt;"><br /></span></div>
<div class="MsoNormal">
<span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt;">There is also an email
list that you can subscribe to if you would like to receive updates about new
resources. Visit <a href="http://oame.on.ca/CLIPS/WhatsNewEmailList.html">http://oame.on.ca/CLIPS/WhatsNewEmailList.html</a>
or click the link at the top of the What’s New dialog inside <a href="http://mathclips.ca/">http://mathclips.ca</a> .<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt;">The
Money by Mathies app allows students to represent values using realistic coin
and bill images provided by the Royal Canadian Mint and the Bank of
Canada.</span></div>
<div class="MsoNormal">
<span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt;"> </span></div>
<div class="MsoNormal">
<img alt="Money_RepresentAmounts.png" height="269" src="http://mathclips.wikispaces.com/file/view/Money_RepresentAmounts.png/540039786/480x323/Money_RepresentAmounts.png" title="Money_RepresentAmounts.png" width="400" /></div>
<div class="MsoNormal">
<span style="font-size: 12pt;"><br /></span></div>
<div class="MsoNormal">
<span style="font-size: 12pt;">The Notepad by Mathies app allows
annotations to be made on top of blank, lined, isometric or grid backgrounds.</span></div>
<div class="MsoNormal">
<span style="font-size: 12pt;"><br /></span></div>
<div class="MsoNormal">
<img alt="photo 4Felicity.PNG" height="298" src="http://mathclips.wikispaces.com/file/view/photo%204Felicity.PNG/536799096/631x472/photo%204Felicity.PNG" title="photo 4Felicity.PNG" width="400" /></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt;">Supports,
including wiki pages with sample screen shots, can be accessed using the <i>i</i> button in each app or from <a href="http://mathclips.wikispaces.com/MathCLIPS+Tools">http://mathclips.wikispaces.com/MathCLIPS+Tools</a>
. <o:p></o:p></span></div>
Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com0tag:blogger.com,1999:blog-9172835121471723538.post-49647585574594379712015-04-10T09:49:00.000-07:002015-04-10T09:49:25.328-07:00American Politics ExplainedI just think that this is so right-on and funny to boot!<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe width="320" height="266" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/cW9dxFrAk-I/0.jpg" src="http://www.youtube.com/embed/cW9dxFrAk-I?feature=player_embedded" frameborder="0" allowfullscreen></iframe></div>
<br />
Yoram Bauman is the world's only <a href="http://standupeconomist.com/" target="_blank">stand up economist</a>.Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com0tag:blogger.com,1999:blog-9172835121471723538.post-18071257871523281942015-01-21T11:07:00.002-08:002015-01-21T11:07:50.228-08:00The Rekenrek by mathies appThe team that I work with produces digital resources for Math which are catalogued at <a href="http://mathies.ca/learningTools.php#Rr0" target="_blank">mathies.ca</a>. This week we finally are able to add the <i>Rekenrek for mathies</i> app we developed for the <a href="https://itunes.apple.com/ca/app/id868343670" target="_blank">App Store</a> (iOS), the <a href="https://play.google.com/store/apps/details?id=air.ca.mathclips.clips.rekenrek" target="_blank">Google Play Store</a> (Android) and <a href="http://mathclips.ca/swfPlayer.html?swfURL=tools/Rekenrek1.swf" target="_blank">desktop computers</a> (Flash-enabled browsers).<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://mathclips.wikispaces.com/file/view/Rekenrek_Seven.png/537117190/320x210/Rekenrek_Seven.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://mathclips.wikispaces.com/file/view/Rekenrek_Seven.png/537117190/320x210/Rekenrek_Seven.png" /></a></div>
<br />
<br />
The rekenrek is a powerful tool for helping students develop early number concepts. It can be used to support the learning of addition and multiplication facts by helping students understand different ways these values can be constructed. Information about how to use the app can be found by clicking on the i button within the app which provides a link to a <a href="http://mathclips.wikispaces.com/RekenrekTool" target="_blank">wiki page</a> with informative screenshots, links to <a href="http://mathclips.wikispaces.com/RekenrekTool#PDF" target="_blank">PDF supports</a> and two how-to <a href="http://mathclips.wikispaces.com/RekenrekTool#Video" target="_blank">videos</a>. It has been really rewarding working with primary educators to understand how learning tools can help students with skills like <a href="http://en.wikipedia.org/wiki/Subitizing" target="_blank">subitizing</a> which as a secondary teacher I had no idea about.<br />
<br />
One feature that is unique about our app is the annotation tool (accessed using the pencil icon) which allows students to draw on the stage and explain their thinking. It is, in fact, a drawing app in its own right. You could delete all the rekenrek rods and use it to draw on the screen. We plan to add the annotation tool to all of our future apps. One of the next ones under development is a notebook tool which is simply the annotation tool together with some stock backgrounds simulating a plain sheet of paper, grid paper and isometric dot paper.<br />
<br />
The app was developed using <a href="http://www.adobe.com/inspire/2012/12/ios-apps-flash-cs6.html" target="_blank">Flash CS 6</a> and its export to iOS and Android AIR functionality. This allows us to develop once and deploy in three versions.<br />
<br />
It really has been a thrill to open up the official mobile stores and see our app there, ready for free download. Please have a look, tell others and perhaps even provide a review. If your students do something interesting, we would be happy to hear about it and, with their permission, even post their work to our wiki.Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com0tag:blogger.com,1999:blog-9172835121471723538.post-88986955083864107342014-09-25T09:36:00.001-07:002014-09-25T09:36:34.750-07:00Display issues with The Geometer's SketchpadThere are 21 Sketchpad sketches contained within <a href="http://mathclips.ca/">mathclips.ca</a>. You can find them by clicking the search icon at the top of the page, choosing "GSP Files" from the <i>Search within</i> drop down list, and clicking <i>Display All</i>. <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://content.screencast.com/users/rossisen/folders/Jing/media/d41f148d-2c41-48ed-8aa8-09acdffd9396/2014-09-25_1207.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://content.screencast.com/users/rossisen/folders/Jing/media/d41f148d-2c41-48ed-8aa8-09acdffd9396/2014-09-25_1207.png" height="320" width="144" /></a></div>
<br />
<br />
These sketches were created in version 4 of The Geometer's Sketchpad™, which was the version <a href="http://www.osapac.org/" target="_blank">licensed by the Ontario Ministry of Education</a> at the time. In the process of updating them to version 5, particularly to allow use with the <a href="https://itunes.apple.com/us/app/sketchpad-explorer/id452811793?ls=1&mt=8" target="_blank">Sketchpad Explorer iPad app</a>, we noticed some discrepancies in how the sketches displayed on different machines. Interestingly, most sketches worked just fine on my Windows machine, running at 96 pixels per inch (ppi), and on my iPad, running at 72 ppi, which is also the resolution for Macs generally. <br />
<br />
The biggest discrepancy was between two Windows machines. On one, the sketch looked like:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://content.screencast.com/users/agrafton/folders/Jing/media/464987f7-40ca-4e87-aa76-bad54b027781/2014-09-24_1432.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://content.screencast.com/users/agrafton/folders/Jing/media/464987f7-40ca-4e87-aa76-bad54b027781/2014-09-24_1432.png" height="172" width="320" /></a></div>
and on mine it displayed the right, honest way:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://content.screencast.com/users/rossisen/folders/Jing/media/a86dbf9d-2305-4382-93e8-469fca39ebbf/2014-09-24_1605.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://content.screencast.com/users/rossisen/folders/Jing/media/a86dbf9d-2305-4382-93e8-469fca39ebbf/2014-09-24_1605.png" height="186" width="320" /></a></div>
<br />
After a bit of frantic emailing to our always helpful Sketchpad gurus, we discovered that there is a system setting which was different. Navigating to the Display settings in the Control Panel, we could tell that the first machine had set the size of all items to more than <i>Smaller</i> (on a Windows 7 machine this is called 125% or 120 ppi).<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://content.screencast.com/users/rossisen/folders/Jing/media/ff6285a2-6279-44f3-a3a1-d7292d03a186/2014-09-25_1224.png" imageanchor="1"><img border="0" src="http://content.screencast.com/users/rossisen/folders/Jing/media/ff6285a2-6279-44f3-a3a1-d7292d03a186/2014-09-25_1224.png" height="136" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
You can also see the difference if you go to the System tab of <a href="http://referencecenter.dynamicgeometry.com/gsp-reference-center/windows_advprefs_system.htm" target="_blank">Advanced Preferences</a> in Sketchpad, which are found in the Edit menu after the Shift key is held down.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://content.screencast.com/users/rossisen/folders/Jing/media/0b72dda5-6c5d-40df-882e-905d58595d1f/2014-09-25_1217.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://content.screencast.com/users/rossisen/folders/Jing/media/0b72dda5-6c5d-40df-882e-905d58595d1f/2014-09-25_1217.png" height="282" width="320" /></a></div>
<br />
The Screen Resolution of 37.795 px/cm is equivalent to 96 ppi and should remain at that value on Windows machines, even if <i>Reset All Preferences</i> is clicked. If the value is something different, it can be edited on this screen and once Sketchpad is restarted, the sketch will look like what everyone else sees.<br />
<br />
We have been using Sketchpad for a long time and had not run into this before. It makes us worry about distributing sketches that might look awful at ppi settings that we have no control over.Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com0tag:blogger.com,1999:blog-9172835121471723538.post-24886631125683255472014-09-25T04:49:00.001-07:002014-09-25T09:49:37.303-07:00Zooming Integers:Place ValueI had the opportunity to tweak one of the <a href="http://www.dynamicnumber.org/">Dynamic Number</a> project's sketches yesterday. <a href="http://www.dynamicnumber.org/zooming_integers__hundreds_thousands_and_beyond" target="_blank">Zooming Integers</a> provides an interesting display using an exploding or zooming number line. In Ontario, we use spaces rather than commas to separate digit groups (see <a href="http://physics.nist.gov/cuu/Units/checklist.html">http://physics.nist.gov/cuu/Units/checklist.html</a>). Our Grade 6 curriculum includes millions and the sketch only goes up to 100 000. I was able to copy the 100 000 page, change two parameters (with a little digging) and get a page that starts with a number line from 0 to 1 000 000. Ontario benefits from having a provincial license for <a href="http://www.keycurriculum.com/" target="_blank">The Geometer's Sketchpad</a> so that students can access this material.<br />
<br />
You can access the tweaked sketch from <a href="http://www.isenegger.ca/blog/ZoomingToMillion.gsp" target="_blank">here</a>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://content.screencast.com/users/rossisen/folders/Jing/media/95b7191d-8939-48ef-8919-e7eeaca01bcb/2014-09-25_1245.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://content.screencast.com/users/rossisen/folders/Jing/media/95b7191d-8939-48ef-8919-e7eeaca01bcb/2014-09-25_1245.png" height="206" width="400" /></a></div>
<br />Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com1tag:blogger.com,1999:blog-9172835121471723538.post-55183408287489881842014-01-08T08:02:00.000-08:002014-01-08T08:46:12.737-08:00Using a StyleSheet in Actionscript 2 to display an iTunes img CorrectlyThere are times when a simple request turns into a flight down the rabbit hole. <a href="http://www.mathies.ca/" target="_blank">mathies</a> and <a href="http://mathclips.ca/" target="_blank">mathclips</a> share an <a href="http://oame.on.ca/mathies/xml/gameTab.xml" target="_blank">XML file</a> with information about learning tools available to Ontario students. A link to Sketchpad Explorer on the App store needed to be added. On the mathies webpage, this was easily done with html like:<br />
<blockquote class="tr_bq">
<pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"> <code style="color: black; word-wrap: normal;">
<!-- code formatted by http://manoli.net/csharpformat/ -->
Sketchpad Explorer is available from the
<a href="http://itunes.apple.com/ca/app/sketchpad-explorer/id452811793?mt=8&amp;uo=4" target="itunes_store">
<img src="http://www.oame.on.ca/mathiesbeta/images/badge_appstore-sm.png" height="15px" width="61px" />
</a></code></pre>
</blockquote>
getting a result like:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1latbBk_d77npRpJmZSeCKc6lzlhfHPOYq6XGrEH28JvUgG6LTtjRT6dt3hbHhCv41wXlivUMSoLhV2IlmCEmzWagHZ62VJU3_0c5Lr5q6kHh_rCrsMqyFftU4UsdHnWxThFSZH_2KzA/s1600/mathiesSketchpad.GIF" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1latbBk_d77npRpJmZSeCKc6lzlhfHPOYq6XGrEH28JvUgG6LTtjRT6dt3hbHhCv41wXlivUMSoLhV2IlmCEmzWagHZ62VJU3_0c5Lr5q6kHh_rCrsMqyFftU4UsdHnWxThFSZH_2KzA/s1600/mathiesSketchpad.GIF" height="38" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
where the image was unnecessarily copied from one created with <a href="http://linkmaker.itunes.apple.com/">http://linkmaker.itunes.apple.com</a> to the local server.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
In Flash, there were two issues:</div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<ol>
<li>A phantom underline preceded the image as the result of a <u> tag surrounding the <a>...<img /> tags</li>
<li>The topic list, a feature only of the mathclips tool tab, appeared next to the image and not below it, despite <br /> tags. This is due to Flash floating images.</li>
</ol>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhujN-s3hSW4lB2v927e4vsBAWONSyQaHHufhPIOrPIBcJgo5nh9zv23oh7reIZLKdcFTCdJoaA9-_w3KUygKBg6G_O4xG68BVws7VghxN6wA3Nt7-lTzztMbmMUEc9vlolbQPxXelk2oo/s1600/mathclipsSketchpad.GIF" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhujN-s3hSW4lB2v927e4vsBAWONSyQaHHufhPIOrPIBcJgo5nh9zv23oh7reIZLKdcFTCdJoaA9-_w3KUygKBg6G_O4xG68BVws7VghxN6wA3Nt7-lTzztMbmMUEc9vlolbQPxXelk2oo/s1600/mathclipsSketchpad.GIF" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
The wrapping issue was solved using an idea from <a href="http://www.actionscript.org/forums/showthread.php3?t=247866" target="_blank">Panax</a> and StyleSheets and the underline issue was solved by creating a blueNoUnderline class.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The StyleSheet is created in code as follows:</div>
<blockquote class="tr_bq">
var myStyleSheet:TextField.StyleSheet = new TextField.StyleSheet();<br />
myStyleSheet.setStyle("a", {color:'#0000FF', textDecoration:'underline'});<br />
myStyleSheet.setStyle(".blueNoUnderline", {color:'#0000FF', textDecoration:'none'});<br />
myStyleSheet.setStyle(".imageSpacer30", {fontSize:30});</blockquote>
<div class="separator" style="clear: both; text-align: left;">
The htmlText is massaged to wrap the <img /> tag inside a <p> tag (<b><span style="color: red;">red</span></b> text below). The dummy paragraph suggested by Panax is added (<span style="color: #274e13;"><b>green</b></span> text below). The blueNoUnderline class is added to the <a> tag to avoid a bit of underlined space (<span style="color: blue;"><b>blue</b></span> text below).</div>
<blockquote class="tr_bq">
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: 'Andale Mono', 'Lucida Console', Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"> <code style="word-wrap: normal;">
Sketchpad Explorer is available from the
<a href='http://itunes.apple.com/ca/app/sketchpad-explorer/id452811793?mt=8&uo=4' target='itunes_store' <b><span style="color: blue;">class='blueNoUnderline'</span></b>>
<b><span style="color: red;"><p></span></b>
<img src='http://www.oame.on.ca/mathiesbeta/images/badge_appstore-sm.png' width='61px' height='15px' />
<b><span style="color: red;"></p></span></b>
</a>
<span style="color: #274e13;"><b><p class='imageSpacer30'></p></b></span>
<br />
<p><font size=\"10\">(Geometry, Measurement, Simulations)</font></p></code></pre>
</blockquote>
The necessity to precede the "blueNoUnderline" name with period in the setStyle was a late discovery as I did not see it any of the examples I looked at. For a while, I was convinced that StyleSheets read from .css files were the only ones that worked.Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com0tag:blogger.com,1999:blog-9172835121471723538.post-17535434500598051162013-11-13T12:34:00.002-08:002013-11-13T12:41:44.172-08:00Sublime Text Plugin to Sort TabsI am a huge fan of the <a href="http://www.sublimetext.com/" target="_blank">Sublime Text Editor</a>. Today, <a href="http://en.wikipedia.org/wiki/Ubersketch" target="_blank">Greg Clarke</a> and I created our first plugin. It will add items to the Tab Context menu that will sort the open files, by file name. Sublime is a really fun <a href="http://www.sublimetext.com/docs/2/api_reference.html" target="_blank">environment</a> in which to program in Python. You can download the <a href="http://www.isenegger.ca/blog/TabOrdering.zip" target="_blank">plugin</a>, copy it to your Sublime Text Installed Packages Folder, rename it as <i>TabOrdering.sublime-package</i> and it will be available to you once you restart Sublime. To create your own plugin see <a href="http://net.tutsplus.com/tutorials/python-tutorials/how-to-create-a-sublime-text-2-plugin/" target="_blank">NetTuts' instructions</a>.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-7UNoZWCG3kfIWMvrfKb6tMQlYpebdTEyAzYjBEZvGb2iQVnerRUzF9G3qcTk6lJUe61p6qa0IQiBQl6C6uie-JEEurAP84veQN4HCRVdwHalgNd862UVDr6c1kB6kPfMpLecYPhcOMQ/s1600/TabOrdering.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-7UNoZWCG3kfIWMvrfKb6tMQlYpebdTEyAzYjBEZvGb2iQVnerRUzF9G3qcTk6lJUe61p6qa0IQiBQl6C6uie-JEEurAP84veQN4HCRVdwHalgNd862UVDr6c1kB6kPfMpLecYPhcOMQ/s640/TabOrdering.gif" width="552" /></a></div>
Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com0tag:blogger.com,1999:blog-9172835121471723538.post-56878654087383555432013-05-09T04:30:00.000-07:002013-05-09T04:30:38.269-07:00More Circle DrawingThis seems like a long time into 2013 for the year's first post. The occasion is the receipt of an email from <a href="http://blog.mrmeyer.com/" target="_blank">Dan Meyer</a> (possibly in error) alerting me to a<a href="http://mdbigg.me.uk/maths/circledrawing.html" target="_blank"> fun </a><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><a href="http://mdbigg.me.uk/maths/circledrawing.html" target="_blank">circle drawing applet</a>
a student in England put together. This is a nice followup to my previous posts (<a href="http://mathfest.blogspot.ca/2008/03/everyone-for-glebe-stand-up-and-holler.html" target="_blank">first</a>, <a href="http://mathfest.blogspot.ca/2012/05/two-cewebrities-at-one-session.html" target="_blank">second</a>) about Alexander Overwijk, a teacher at my alma mater, <a href="http://www.glebeci.ca/" target="_blank">Glebe Collegiate</a> whose motto is "in alta tende", which I have always loved. The three of us were at <a href="http://www.oame2013.ca/" target="_blank">OAME 2013</a> last week which was marvelous. The <a href="http://mdbigg.me.uk/maths/circledrawing.html" target="_blank">applet</a> would be a interesting tool to judge a<a href="http://youtu.be/eAhfZUZiwSE" target="_blank"> freehand circle drawing contest</a>.</span><br />
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><br /></span>
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Incidently, <a href="http://en.wikipedia.org/wiki/Vi_Hart" target="_blank">Vi Hart</a> just posted a<a href="http://youtu.be/cW4Mub3R5JY" target="_blank"> circle drawing video</a>. One of the featured speakers at <a href="http://www.oame2014.ca/" target="_blank">OAME 2014</a> will be <a href="http://en.wikipedia.org/wiki/George_W._Hart" target="_blank">George W. Hart</a>, who was introduced as Vi's father - only in the internet age!</span><br />
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/cW4Mub3R5JY?feature=player_embedded' frameborder='0'></iframe></div>
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><br /></span>
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><br /></span>
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><br /></span>Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com0tag:blogger.com,1999:blog-9172835121471723538.post-28891173284860600402012-06-19T06:53:00.000-07:002012-06-19T07:40:11.220-07:00Using IronSpread and Regular Expressions in ExcelI get a lot of traffic on this blog related to Regular Expressions in Excel, much of it from <a href="http://stackoverflow.com/questions/4556910/how-do-i-get-regex-support-in-excel-via-a-function-or-custom-function">http://stackoverflow.com/questions/4556910/how-do-i-get-regex-support-in-excel-via-a-function-or-custom-function</a>. There are comments there that indicate that it does not work with Office 2010.<br />
<br />
I stumbled upon <a href="http://www.ironspread.com/">www.ironspread.com</a>, which allows you to use Python to "program" Excel 2007 and 2010 sheets. Python has excellent <a href="http://docs.python.org/library/re.html" target="_blank">support for Regular Expressions</a>. It looks like there are other libraries for Python that can be used with Excel and OpenOffice; <a href="http://wiki.services.openoffice.org/wiki/Python" target="_blank">PyUNO</a> for one.<br />
<br />
I quickly cooked up the following example using a regular expression for valid email addresses found at <a href="http://www.regular-expressions.info/email.html">http://www.regular-expressions.info/email.html</a>.<br />
<br />
<a href="http://www.isenegger.ca/blog/EmailAddresses.xlsx" target="_blank">The Excel sheet</a> looks like:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbhj6WQe2J2WbE_LiEBeu4yrBV9uFyKY7HABizn11sUxC-jr7nJQ_2JjP2LaKmuPACerlSTQDo_puNxa_qOhlZMGK27Gqgm6-M167WQ1qMxDekuq9__L5U8da86RfqBInYY8j-iGzo798/s1600/ExcelBefore.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="245" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbhj6WQe2J2WbE_LiEBeu4yrBV9uFyKY7HABizn11sUxC-jr7nJQ_2JjP2LaKmuPACerlSTQDo_puNxa_qOhlZMGK27Gqgm6-M167WQ1qMxDekuq9__L5U8da86RfqBInYY8j-iGzo798/s400/ExcelBefore.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<a href="http://www.isenegger.ca/blog/EmailAddresses.txt" target="_blank">The Python program</a> looks like:</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<pre style="background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0uzgEXbtDFanOTvA1UXn05Nb-cZs9kQRZWn4qe4kSJ6XT2nrstGT8ESyZGiVQeVKSyvNkgvIlqP5VrkxsAyk75XNayNwKtZBjP54e6N9Nbj09Ox0GaW1Y1wuc_G608hr4flRpboSRrp_w/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> # see http://www.regular-expressions.info/email.html for discussion about
# regular expressions to check email addresses
import re
emailRE = r"[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+(?:[A-Z]{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|asia|jobs|museum)\b"
for i in range(1, 100):
currCellValue = Cell(i,1).value
if currCellValue == 0:
break
try:
m = re.match(emailRE, currCellValue).group(0)
if m == currCellValue:
# matches full address
Cell(i,2).value = ""
Cell(i,3).value = ""
else:
# matches part of address
Cell(i,2).value = "Suggestion"
Cell(i,3).value = m
except:
# no match
Cell(i,2).value = "Invalid"
Cell(i,3).value = ""
</code></pre>
<div class="separator" style="clear: both; text-align: left;">
<small>(formatted with <a href="http://codeformatter.blogspot.ca/">http://codeformatter.blogspot.ca/</a>)</small></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
and once finished, columns B and C are filled in</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1qP1iDm2Pe8JOrojS5jNnvZ_S26esDx4XJDeEUyD5lTcjBoCyxzIT-_gijqV7xNCoLKxjw8woThkfsqseroD4z7YFGfY2_-B_jRSsrC44I0KnfMUrpf8CIHAPeGz9K2qJi81pyLdKrWM/s1600/ExcelAfter.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="181" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1qP1iDm2Pe8JOrojS5jNnvZ_S26esDx4XJDeEUyD5lTcjBoCyxzIT-_gijqV7xNCoLKxjw8woThkfsqseroD4z7YFGfY2_-B_jRSsrC44I0KnfMUrpf8CIHAPeGz9K2qJi81pyLdKrWM/s400/ExcelAfter.PNG" width="400" /></a></div>
<br />
I am a novice programmer in this environment, so I hope there are no glaring newbie mistakes and that the example is illustrative.<br />
<br />
IronSpread installs a Python editor, <a href="http://www.annedawson.net/Python_Editor_IDLE.htm" target="_blank">IDLE</a>, and a command shell which can be used to test your work. I still love <a href="http://www.sublimetext.com/2" target="_blank">Sublime Text 2</a> as an editor, so give a command like:<br />
execfile("c:/Users/Ross/Documents/EmailAddresses.py")<br />
in the shell to run the program saved by Sublime. Any print statements will output to the shell. I have linked to the Excel Sheet and Python program above if you want to try them out.Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com1tag:blogger.com,1999:blog-9172835121471723538.post-56962174018598616802012-05-14T07:24:00.000-07:002012-05-14T07:24:43.508-07:00Spectacular Sears SuccessesI don't usually feature my family here (with <a href="http://mathfest.blogspot.ca/2010/03/troitsky-bridge-building-champs.html" target="_blank">rare exceptions</a>), but will now. Jonathan was one of two actors in <a href="http://davidfrench.net/plays/salt-water-moon/" target="_blank">Salt-Water Moon</a> at the <a href="http://www-wid.nearnorthschools.ca/Teacher%20Sites/McCubbin/McCubbin_2012A/Sears_66th/Sears_66th/Homepage.html" target="_blank">Sears Provincial Showcase</a> and came away with an award of excellence for acting together with Sam. The play, by the late <a href="http://davidfrench.net/" target="_blank">David French</a>, is a lovely story and the two actors, together with their stage manager, <a href="http://www.baytoday.ca/content/news/details.asp?c=43286" target="_blank">director</a>, costume and set designers rendered it beautifully.<br />
<br />
Here is a piece from the radio where you can get a sense of their Newfoundland accents and stage chemistry.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<embed flashvars="audioUrl=http://isenegger.ca/blog/samjonradio.mp3" height="27" quality="best" src="http://www.google.com/reader/ui/3523697345-audio-player.swf" type="application/x-shockwave-flash" width="400"></embed>
</div>
<br />
And here they are with their award.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7nr__gu_rNa5bK7wmmyfUUXMLvCkuUIC1OuAN8JDstK4Fx9m5HxBJ-F4wIAHUIPfJhQ8gJ3ooM1INqBCyGCP-JUHoIRClysJQBW-eg0GMD06Crh3d7A6JXLc5AEy8tHJKPCLR4a0xMW0/s1600/samjon.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7nr__gu_rNa5bK7wmmyfUUXMLvCkuUIC1OuAN8JDstK4Fx9m5HxBJ-F4wIAHUIPfJhQ8gJ3ooM1INqBCyGCP-JUHoIRClysJQBW-eg0GMD06Crh3d7A6JXLc5AEy8tHJKPCLR4a0xMW0/s320/samjon.jpg" width="317" /></a></div>
<br />Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com1tag:blogger.com,1999:blog-9172835121471723538.post-56657910404793148952012-05-12T04:25:00.000-07:002012-05-12T04:25:05.267-07:00Two cewebrities at one sessionI am at the <a href="http://oame2012.ca/" target="_blank">OAME 2012</a> Conference in Kingston, showing folks the new <a href="http://www.oame.on.ca/clips/index.html?inDevMode=T" target="_blank">CLIPS</a> wrapper, <a href="http://oame.on.ca/clips/calculator.html?mode=graphing" target="_blank">calculator</a> and <a href="http://www.tinyurl.com/MathClipsFractionsPresentation" target="_blank">Multiplying Fractions</a> Activities in development mode. I did get a chance to see <a href="http://mrmeyer.com/" target="_blank">Dan Meyer</a>'s presentation on Thursday "<a href="http://oame12.mrmeyer.com/" target="_blank">Why Kids Hate Word Problems</a>". It was a sensible, craftful, and powerful appeal.<br />
<br />
A delightful part was that by coincidence I sat next to another internet sensation, Mr. O. Faithful readers of this blog (a bit of useful fiction) will remember <a href="http://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CGAQFjAA&url=http%3A%2F%2Fmathfest.blogspot.com%2F2008%2F03%2Feveryone-for-glebe-stand-up-and-holler.html&ei=a0OuT5aeLZHQgAf2-PWqCQ&usg=AFQjCNFWSDhT-dTvvDECz6HkEZfl2HK0Yw&sig2=O89Dh2pgIpsTM8RMWzYqDA" target="_blank">my earlier post</a> about this teacher at my <a href="http://www.glebeci.ca/" target="_blank">alma mater</a> and his 15 minutes of internet fame. That post had some of the details wrong, apparently. Mr. O was flown to Portugal for the making of a movie about the perfect circle and spoke at <a href="http://www.artbasel.com/go/id/ss/lang/eng/" target="_blank">Art Basel</a>, in Switzerland, about his experience. He even spoke to producers at the Letterman show. Apparently, the video was shot in June 2006 by Glebe's webmaster, who you can hear in the background, and posted to their site where it received about as much interest as this blog. In January, <a href="http://www.youtube.com/user/gravylookout/videos" target="_blank">some kid</a> in North Dakota posted it to <a href="http://www.youtube.com/watch?v=eAhfZUZiwSE" target="_blank">YouTube</a>, College Humor and some other sites. It went viral and was YouTube's featured video for two weeks. Mr. O. did not until that time even know what YouTube was. He does now.<br />
<br />
In case you require documentation, I have embedded the footage from the World Championship.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/u1J5ANnq0T8?feature=player_embedded' frameborder='0'></iframe></div>
<br />Ross Iseneggerhttp://www.blogger.com/profile/10837152655858983232noreply@blogger.com0