{"id":724,"date":"2009-04-29T16:36:17","date_gmt":"2009-04-29T15:36:17","guid":{"rendered":"http:\/\/www.walkingrandomly.com\/?p=724"},"modified":"2009-04-29T16:36:28","modified_gmt":"2009-04-29T15:36:28","slug":"whats-new-in-maple-1202","status":"publish","type":"post","link":"https:\/\/walkingrandomly.com\/?p=724","title":{"rendered":"What&#8217;s new in Maple 12.02?"},"content":{"rendered":"<p>OK, so with <a href=\"https:\/\/www.walkingrandomly.com\/?p=1144\">today&#8217;s release of Maple version 13<\/a>, this blog post is a little late but I started so I&#8217;ll finish!  My original install of Maple was 12.01 on Ubuntu Linux and a little while ago an update was released to take this to version 12.02.<\/p>\n<h3 style=\"text-align: left;\">Installation<\/h3>\n<p>In theory I should be able to install this automagically by clicking on <strong>Tools-&gt;Check for Updates<\/strong> inside Maple.  However, when I did this I was told that &#8216;<strong>no updates were currently available<\/strong>&#8216; so I had to download the update <a href=\"http:\/\/www.maplesoft.com\/support\/downloads\/m12_02update.aspx\">manually from here<\/a>.  I was very pleased to note that this update was offered free of charge to <strong>all<\/strong> Maple 12 users.  This is exactly as it should be and other software vendors should take note here &#8211; users don&#8217;t like paying for bug-fix updates!  Well done to Maplesoft for doing it right.  Once I had downloaded the 12.02 update installer, the installation itself was pretty straightforward.  The following incantations did the trick for me<\/p>\n<pre>chmod +x .\/Maple1202Linux32Upgrade.bin\r\nsudo .\/Maple1202Linux32Upgrade.bin<\/pre>\n<p>A graphical installer fired up and all I had to do was click <strong>Next<\/strong> a couple of times and point it to my Maple 12.01 installation.  A few seconds later it was all over.\u00a0 It&#8217;s a shame that the automatic checker didn&#8217;t work but all in all this was a very painless experience!<\/p>\n<p>Now since this update only increments the version number by 0.01 you shouldn&#8217;t be expecting any marvellous new features.\u00a0 What you should be expecting is some tidying up and bug fixing and that is exactly what you get.\u00a0 Maplesoft&#8217;s <a href=\"http:\/\/www.maplesoft.com\/support\/downloads\/m12_02update.aspx\">own description of the bug-fixes<\/a> weren&#8217;t detailed enough for my tastes and so I appealed to my informants at Maplesoft for something more explicit.<\/p>\n<p>Happily, they delivered and most of what follows is from them.\u00a0 Thanks Maplesoft :)<\/p>\n<p>Since 12.02 was released along with the launch of <a href=\"http:\/\/www.maplesoft.com\/products\/maplesim\/index.aspx\">MapleSim<\/a>, many of the updates were geared towards symbolic manipulation and simplification, which is always beneficial for any advanced computations, but very important for MapleSim. As such, the best examples to illustrate the updates are in MapleSim, and are not easily shown with a Maple example alone.  More specifically though, there were other enhancements and fixes that were added to Maple 12.02 to help improve it, which are not tied directly to MapleSim:<\/p>\n<h3 style=\"text-align: left;\">Updates to dsolve<\/h3>\n<p style=\"text-align: left;\">There were two significant issues present in Maple 12.01 and earlier that are not present in Maple 12.02. One of these deals with a certain class of singularities that are transparent to explicit rk-pair based numerical solvers.<\/p>\n<p style=\"text-align: left;\">As the simplest example in this class, the differential system:<\/p>\n<pre style=\"text-align: left;\"><strong>dsys := {diff(x(t),t)=x(t)\/(1-t),x(0)=1};<\/strong><\/pre>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"aligncenter\" src=\"\/images\/maple12\/maple1202_eq1.png\" alt=\"\" \/><\/p>\n<p>having the exact solution:<\/p>\n<pre style=\"text-align: left;\"><strong>dsolve(dsys);<\/strong><\/pre>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"aligncenter\" src=\"\/images\/maple12\/maple1202_eq2.png\" alt=\"\" \/><\/p>\n<p>has a singularity at t=1, and exactly &#8216;0&#8217; error according to explicit rk-pair error estimation.<\/p>\n<p style=\"text-align: left;\">This, and other related singularities (such as jump discontinuities) are now detected to provide an accurate numerical solution.  Compare this output from 12.01<\/p>\n<pre style=\"text-align: left;\"><strong>dsn := dsolve(dsys, numeric);<\/strong><\/pre>\n<pre style=\"text-align: left;\"> dsn := proc(x_rkf45)  ...  end proc<\/pre>\n<pre style=\"text-align: left;\"><strong>dsn(0.999);<\/strong><\/pre>\n<pre style=\"text-align: left;\">[t = .999, x(t) = -48.3295522342053872]<\/pre>\n<pre style=\"text-align: left;\"><strong>dsn(1.001);<\/strong><\/pre>\n<pre style=\"text-align: left;\">[t = 1.001, x(t) = -48.4646844943701609]<\/pre>\n<p style=\"text-align: left;\">with the improved  output from 12.02<\/p>\n<pre style=\"text-align: left;\"><strong>dsn := dsolve(dsys, numeric);<\/strong><\/pre>\n<pre style=\"text-align: left;\"> dsn := proc(x_rkf45)  ...  end proc<\/pre>\n<pre style=\"text-align: left;\"><strong>dsn(0.999);<\/strong><\/pre>\n<pre style=\"text-align: left;\"> [t = 0.999, x(t) = 1000.00023834227034]<\/pre>\n<pre style=\"text-align: left;\"><strong>dsn(1.001);<\/strong><\/pre>\n<pre style=\"text-align: left;\">Error, (in dsn) cannot evaluate the solution further right of\r\n.99999999, probably a singularity<\/pre>\n<p>The second fix deals with error control on index-1 (non-differential) variables in the problem.  This can be seen if you take a trivial problem coupled with a non-trivial index-1 variable. For example:  In Maple 12.01: <strong> <\/strong><\/p>\n<pre><strong>dsys := {diff(x(t),t)=1, y(t)=sin(t), x(0)=0}:\r\n dsn := dsolve(dsys, numeric):\r\n dsn(Pi);\r\n<\/strong><\/pre>\n<p><strong><\/strong><\/p>\n<pre>[t = 3.14159265358979, x(t) = 3.14159265358978956,\r\n     y(t) = -0.00206731654642018647]<\/pre>\n<p><strong> <\/strong><\/p>\n<pre><strong>dsn(2*Pi);<\/strong><\/pre>\n<p><strong><\/strong><\/p>\n<pre>[t = 6.28318530717958, x(t) = 6.28318530717958357,\r\n     y(t) = -0.0623375491269087187]<\/pre>\n<p>The &#8216;y&#8217; value should have been zero.  In Maple 12.02: <strong> <\/strong><\/p>\n<pre><strong>dsys := {diff(x(t),t)=1, y(t)=sin(t), x(0)=0}:\r\n dsn := dsolve(dsys, numeric):\r\n dsn(Pi);\r\n<\/strong><\/pre>\n<p><strong><\/strong><\/p>\n<pre>[t = 3.14159265358979, x(t) = 3.14159265358978956,\r\n     y(t) = -0.117631599366556372 10^-6  ]<\/pre>\n<p><strong> <\/strong><\/p>\n<pre><strong>dsn(2*Pi);<\/strong><\/pre>\n<p><strong><\/strong><\/p>\n<pre>[t = 6.28318530717958, x(t) = 6.28318530717958090,\r\n     y(t) = -0.130170125786817359 10^-6  ]<\/pre>\n<p>which is zero within the default error tolerances.<\/p>\n<h3 style=\"text-align: left;\">Plot Annotations bug fix<\/h3>\n<p>In 12.01, some plot annotations were not appearing as expected. When a text box was entered on a 2D plot, the text would not appear until focus was taken away from the text box itself. For example, if you were to create a plot of sin(x)  <strong>plot(sin(x))<\/strong> and then click on the plot, select <strong>drawin<\/strong>g from the toolbar and then select <strong>&#8216;T&#8217;<\/strong> to enter a text field, you could begin typing, but would not receive visual feedback of what you entered until you clicked outside of the textbox. Obviously, this was a bug, and it was fixed in 12.02.<\/p>\n<h3 style=\"text-align: left;\">Improvements to embedded components<\/h3>\n<p>Prior to 12.02, some installations of Linux displayed some issues with redrawing of various embedded components, which slowed down scrolling in a Maple document. In 12.02, Maplesoft added a few fixes to the way that they handle embedded components, especially for 32-bit systems, which took care of this issue for most Linux installations. Also, since they were in the area, they took the opportunity to tweak response times for embedded components when creating them and executing the code that dictates their behavior in a document. This is not *very* noticeable when you have just a few components in a document, but it becomes very visible with Maplesoft&#8217;s interactive ebooks and with user applications that rely on a large number of components in a single application.<\/p>\n<h3 style=\"text-align: left;\">Excel Link improvements<\/h3>\n<p>In Maple, there is a built-in link to Microsoft Excel, so that you can perform Maple computations within an Excel spreadsheet. Maplesoft started supporting Excel 2007 in Maple 12, but with a service pack release to Windows released shortly thereafter and some security enhancements added to Maple, the link did not perform as expected in 12.01. Certain values were being interpreted incorrectly, as such, Maplesoft felt that they needed to address these inconsistencies as soon as possible. So for 12.02, they fixed the link for Excel 2007 to ensure that values were faithfully being passed from Microsoft Excel to Maple, in order to maintain the connection and computation accuracy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OK, so with today&#8217;s release of Maple version 13, this blog post is a little late but I started so I&#8217;ll finish! My original install of Maple was 12.01 on Ubuntu Linux and a little while ago an update was released to take this to version 12.02. Installation In theory I should be able to [&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":[5,25,4],"tags":[],"class_list":["post-724","post","type-post","status-publish","format-standard","hentry","category-linux","category-maple","category-math-software"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3swhs-bG","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/724","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=724"}],"version-history":[{"count":44,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/724\/revisions"}],"predecessor-version":[{"id":1181,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/724\/revisions\/1181"}],"wp:attachment":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}