{"id":4185,"date":"2012-02-17T18:34:42","date_gmt":"2012-02-17T17:34:42","guid":{"rendered":"http:\/\/www.walkingrandomly.com\/?p=4185"},"modified":"2012-02-17T18:35:27","modified_gmt":"2012-02-17T17:35:27","slug":"a-preview-of-interactive-mathematica-documents-on-ipad","status":"publish","type":"post","link":"https:\/\/walkingrandomly.com\/?p=4185","title":{"rendered":"A preview of interactive Mathematica documents on iPad"},"content":{"rendered":"<p>The Wolfram blog has just published an article <a href=\"http:\/\/blog.wolfram.com\/\">previewing the .cdf player on iPad<\/a>. \u00a0I&#8217;ve discussed .cdf technology several times before (see <a href=\"https:\/\/www.walkingrandomly.com\/?p=3715\">Interactive Slinky Thing<\/a> and <a href=\"https:\/\/www.walkingrandomly.com\/?p=3323\">Interactive Mathematics in the Web Browser<\/a> for example)\u00a0and it forms the basis of the superb <a href=\"http:\/\/demonstrations.wolfram.com\/\">Wolfram Demonstrations Project<\/a>.<\/p>\n<p>In a nutshell, it is trivially easy to write interactive mathematical applets using Mathematica and publish them to .cdf format. \u00a0The magic happens via the <a href=\"http:\/\/reference.wolfram.com\/mathematica\/ref\/Manipulate.html\">Manipulate<\/a> command which has been around since version 6. \u00a0For example, here is the full source code for a simple interactive applet that calculates and displays the power series for sin(x)<\/p>\n<pre>Manipulate[\r\n Series[Sin[x], {x, 0, n}]\r\n , {n, 1, 10, 1, Appearance -&gt; \"Labeled\"}\r\n ]<\/pre>\n<p>Here is the result<br \/>\n<script src=\"http:\/\/www.wolfram.com\/cdf-player\/plugin\/v1.0\/cdfplugin.js\" type=\"text\/javascript\"><\/script><script type=\"text\/javascript\">\/\/ <![CDATA[\n     var cdf = new cdf_plugin(); cdf.addCDFObject(\"Series_applet\", \"https:\/\/www.walkingrandomly.com\/images\/mathematica8\/series.cdf\", 403,159);\n\/\/ ]]><\/script><\/p>\n<p><img decoding=\"async\" id=\"Series_applet\" src=\"https:\/\/www.walkingrandomly.com\/images\/mathematica8\/series.png\" alt=\"Series demo\" \/><\/p>\n<p>If you have Mathematica 8 or the free .cdf player installed with browser plug-in enabled then you&#8217;ll see a fully interactive applet above.  Otherwise, you just get a simple image.<\/p>\n<p>Bear in mind that this isn&#8217;t showing you a set of pre-computed solutions, it&#8217;s actually performing the calculations in real time using the full Mathematica kernel. \u00a0With this new player you&#8217;ll be able to do that on iPad as well as on your PC. <strong> That&#8217;s right&#8230;Wolfram have taken the full Mathematica kernel and got it running on iPad!<\/strong> It&#8217;s not shipping yet but it looks like it&#8217;s going to be awesome.<\/p>\n<p>Just imagine&#8230;all 7000+ Wolfram Demonstrations on iPad, not to mention your own bespoke code.<\/p>\n<p>There is a preview of the new technology in the video below.<\/p>\n<p><object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" width=\"560\" height=\"315\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,40,0\"><param name=\"allowFullScreen\" value=\"true\" \/><param name=\"allowscriptaccess\" value=\"always\" \/><param name=\"src\" value=\"http:\/\/www.youtube.com\/v\/pJfeKz4zJsk?version=3&amp;hl=en_GB&amp;rel=0\" \/><param name=\"allowfullscreen\" value=\"true\" \/><\/object><\/p>\n<p><strong>Other articles on mobile mathematics from WalkingRandomly<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/www.walkingrandomly.com\/?p=3914\">Breaking news: Maple Player for Ipad<\/a><\/li>\n<li><a href=\"https:\/\/www.walkingrandomly.com\/?p=2674\">MATLAB Mobile brings MATLAB to the iPhone and iPad (sort of)<\/a><\/li>\n<li><a href=\"https:\/\/www.walkingrandomly.com\/?p=3908\">Addi &#8211; A MATLAB clone for Android phones and tablets<\/a><\/li>\n<li><a href=\"https:\/\/www.walkingrandomly.com\/?p=2692\">Math on the iPad #1<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The Wolfram blog has just published an article previewing the .cdf player on iPad. \u00a0I&#8217;ve discussed .cdf technology several times before (see Interactive Slinky Thing and Interactive Mathematics in the Web Browser for example)\u00a0and it forms the basis of the superb Wolfram Demonstrations Project. In a nutshell, it is trivially easy to write interactive mathematical [&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":[43,8,55],"tags":[],"class_list":["post-4185","post","type-post","status-publish","format-standard","hentry","category-ipad","category-mathematica","category-mobile-mathematics"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3swhs-15v","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/4185","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=4185"}],"version-history":[{"count":11,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/4185\/revisions"}],"predecessor-version":[{"id":4196,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/4185\/revisions\/4196"}],"wp:attachment":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}