{"id":423,"date":"2008-12-07T13:43:10","date_gmt":"2008-12-07T12:43:10","guid":{"rendered":"http:\/\/www.walkingrandomly.com\/?p=423"},"modified":"2008-12-11T14:26:45","modified_gmt":"2008-12-11T13:26:45","slug":"maths-demonstrations-for-christmas","status":"publish","type":"post","link":"https:\/\/walkingrandomly.com\/?p=423","title":{"rendered":"Maths Demonstrations for Christmas"},"content":{"rendered":"<p>Since setting the <a href=\"https:\/\/www.walkingrandomly.com\/?p=395\">Walking Randomly Christmas Challenge<\/a>, I have been looking around the web for Christmasy things that other people have written using mathematical software. If you have been thinking of submitting something to the challenge then maybe these will give you inspiration.<\/p>\n<p>First up, we have several Wolfram Demonstrations based on themes that could be used to design Christmas greeting cards.\u00a0 For example there is a great one by Michael Trott and Jeff Bryant called <a href=\"http:\/\/demonstrations.wolfram.com\/DecorativeHolidayStars\/\">Decorative Holiday Stars<\/a>.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/demonstrations.wolfram.com\/DecorativeHolidayStars\/\"><img decoding=\"async\" class=\"aligncenter\" src=\"\/images\/random\/holiday_stars.jpg\" alt=\"Holiday Christmas Stars\" \/><\/a><\/p>\n<p>If you prefer your greetings less &#8216;designer&#8217; and more purely Mathematical then how about creating a card from <a href=\"http:\/\/demonstrations.wolfram.com\/EisensteinSnowflakes\/\">Eisenstein Snowflakes<\/a>?<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/demonstrations.wolfram.com\/EisensteinSnowflakes\/\"><img decoding=\"async\" class=\"aligncenter\" src=\"\/images\/random\/eisenstein-snowflake.jpg\" alt=\"Eisenstein Snowflake\" \/><\/a><\/p>\n<p>Other Wolfram Demonstrations that might give you inspiration for the Christmas challenge include<\/p>\n<ul>\n<li><a href=\"http:\/\/demonstrations.wolfram.com\/OrnamentalHolidayDecoration\/\">Ornamental Holiday Decorations<\/a><\/li>\n<li><a href=\"http:\/\/demonstrations.wolfram.com\/HolidayGreeneryWithStars\/\">Holiday Greenery with stars<\/a><\/li>\n<li>J<a href=\"http:\/\/demonstrations.wolfram.com\/JingleBellSurface\/\">ingle Bell Surface<\/a><\/li>\n<\/ul>\n<p>I next turned my attention to <a href=\"http:\/\/www.mathworks.com\/\">MATLAB<\/a> and their <a href=\"http:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/\">File Exchange<\/a> and immediately hit upon a MATLAB file by Marc L\u00e4tzel that <a href=\"http:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/9337\">draws a Christmas tree<\/a>.<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"aligncenter\" src=\"\/images\/random\/matlab_tree.jpg\" alt=\"Matlab Christmas Tree\" \/><\/p>\n<p>Something a bit more mathematical is the .m file by <a href=\"http:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/5334\">Per Sundqvist<\/a> which generates a FEMLAB geometry for the Koch snowflake.\u00a0 This can then be used in FEMLAB to solve eigenvalue problems over the Koch domain. \u00a0 I don&#8217;t have a copy of FEMLAB (called <a href=\"http:\/\/www.comsol.com\/\">COMSOL<\/a> these days) so I can&#8217;t test it but the result looks nice and a quick google search has resulted in some references that might be useful in implementing calculations like this. &#8216;<em>Computing eigenfunctions on the Koch Snowflake: a new grid and symmetry<\/em>&#8216; by John M Neuberger might be a good place to start.<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"aligncenter\" src=\"\/images\/random\/star_13.jpg\" alt=\"Eigenfunctions on a koch snowflake\" \/><\/p>\n<p>Next up is <a href=\"http:\/\/www.maplesoft.com\/\">Maple<\/a>.\u00a0 A quick search of their Application Centre resulted in the Maple 5 code for a <a href=\"http:\/\/www.maplesoft.com\/Applications\/app_center_view.aspx?AID=797\">swinging snowman<\/a> &#8211; very nice!\u00a0 This is another one I can&#8217;t test because, unfortunately, I don&#8217;t have a copy of Maple but if you are one of those who do then the source code is available if you&#8217;d like to try it out.\u00a0 Maple is at version 12 these days so it will be interesting to see if this old Maple 5 code still runs (let me know if you are able to test it).<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"aligncenter\" src=\"\/images\/random\/maple-snowman.gif\" alt=\"MAPLE snowman\" \/><\/p>\n<p>These above examples are just highlights of the sort of thing I discovered while looking around for &#8216;Christmas maths.&#8217;\u00a0 Why not try your hand at designing something yourself in the <a href=\"https:\/\/www.walkingrandomly.com\/?p=395\">Walking Randomly Christmas Challenge<\/a>?\u00a0 Submissions can be in pretty much any language you care to mention although, of the commercial maths packages, I can only test scripts written in Mathematica, Mupad, MATLAB and MathCAD.\u00a0 Of course any open-source package (such as <a href=\"http:\/\/www.sagemath.org\/\">SAGE<\/a> or <a href=\"http:\/\/www.gnu.org\/software\/octave\/\">Octave<\/a>) is fair game.<\/p>\n<p>If you prefer your submission to be anonymous then either don&#8217;t let me know who you are (post your code in the comments section for example) or just tell me that you would prefer it if your name were not attached.\u00a0 Of course if you want full recognition for your talents then I can do that too :)\u00a0 My email address is <a href=\"https:\/\/www.walkingrandomly.com\/?p=53\">relatively easy to find<\/a>.\u00a0 Have fun!<\/p>\n<p id=\"submissiondate\">\n","protected":false},"excerpt":{"rendered":"<p>Since setting the Walking Randomly Christmas Challenge, I have been looking around the web for Christmasy things that other people have written using mathematical software. If you have been thinking of submitting something to the challenge then maybe these will give you inspiration. First up, we have several Wolfram Demonstrations based on themes that could [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6,4],"tags":[],"class_list":["post-423","post","type-post","status-publish","format-standard","hentry","category-general-math","category-math-software"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3swhs-6P","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=423"}],"version-history":[{"count":6,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/423\/revisions"}],"predecessor-version":[{"id":440,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/423\/revisions\/440"}],"wp:attachment":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}