Tagged: wolfram

Free “Mathematica”* in the Wolfram Cloud

Wolfram CloudMy history with Mathematica goes back about 20 years, when I was doing Masters research and using Mathematica for both programming and visualisation.

One problem was that it was expensive unless you could justify it. Also, there were no free or “community” editions available…

Well, THAT’S ALL CHANGED NOW!

Almost a week ago, Stephen Wolfram announced the Wolfram Programming Cloud, which as you can see from the image below is extremely powerful – try doing that in a programming language…

MySurface3DMy SurfaceYep, Mathematica just integrated for two variables and then just assigned that to MySurface which represents that expression and plotted it in 3D

“Ah…”, I hear you say, “that’s just some fancy trickery with a good library, but it’s not real programming”. Well, that’s kind of right, except for the fact that Mathematica has a huge range of such libraries, spanning across most disciplines: Applied Mathematics, Arts and Humanities, Business and Economics, Education, Engineering, Information Science and Technology, Mathematica Technology, Mathematics, Science and Social Science.

Also, those two lines above are written in the language for Mathematica which is now called Wolfram that is a “symbolic, functional, and rule-based multi-paradigm programming language“. Pure language wise, it’s pretty hard to match.

It’s fully functional, being able to pass around functions to functions in whatever way you want, like above. But it doesn’t stop there as you can do conventional procedural programming:

For[i=0,i<4,i++,Print[i]]
0
1
2
3

or, rule and pattern- based programming:

rule = {a_, b_} :> {b, a}
{1, 3} /. rule
{3, 1}

and purely functional programming like this classic fibbonaci example:

f[1]=1;  f[2]=1;
f[n_] := f[n-1]+f[n-2] // Define Fibbonaci Function
f /@ Range[10]       // Now get the first 10
{1,1,2,3,5,8,13,21,34,55}

So that’s pretty much all of the major programming paradigms covered! Also, with all the talk about REPL’s these days, Mathematica has had one since it’s inception, except it’s not the REPL you’re used to. Apart from the normal ASCII behaviour, it can typeset and edit equations along with displaying graphics and widgets making it more of a SupeREPL.

Mathematica REPLI’ve not even scratched the surface here in order to keep the examples short and understandable, but you can easily find more by searching for “Mathematica programming example” or “Wolfram programming example“. Or, if you just want to see what it’s capable of doing or just get some inspiration, check out the Wolfram Language Code Gallery.

Interested? Then just head on over to the Wolfram Programming Cloud https://programming.wolframcloud.com/app/ and get started with the free version which is more than adequate to work out if you should upgrade to add extra options like an offline desktop version or even the mighty Mathematica itself.

Oh, and one last thing…

The Wolfram Cloud works on an iPad!

Yes, our (some very geeky people & me :) dream of being able to do complex computation and programming on the iPad is here – as long as you’re connected… Hopefully it won’t be that long before an offline “iPad Desktop” version comes out :-)


* Technically, the whole of Mathematica is not all in this product yet, but it seems quite a bit is and hopefully it will only be a matter of time before the whole thing is

Mathematica – coming to an iPad near you in Wolfram Calculator!

It’s not often you stumble across something that people don’t already know about on the net, but I think I’ve done it! I was doing my n-monthly “Mathematica iPad” search (which I’ve been doing for years!) when I stumbled across the this Stack Exchange discussion: Mathematica and the iPod or iPad [closed] where a link to a very interesting video (above) is given

I almost didn’t watch it as I thought “just another overpriced Wolfram iPad product (e.g. US$50 for the Wolfram Alpha App???), but something made me keep watching and at 13:44 – BLAM!

Wolfram Calculator : Mathematica

So what’s the big deal?

Plot[Evaluate[D[func, respect]], {respect, -3, 1}.., PlotRange->Automatic]

is Mathematica Code!!! Or the “Wolfram Language” as Stephen Wolfram has so humbly named it ;-) That’s right – somewhere in the upcoming (they’re saying Q1, 2014) Wolfram Calculator is the Mathematica Kernel and Language. This is pretty significant in a number of ways:

  • It’s a great differentiator (no pun intended ;) for their calculator which will make it unique and beyond the reach of anyone else on the iPad within the foreseeable future – hopefully they’ll only charge US$50 or less though as any more and people probably won’t buy it.
  • It’s getting a subset (kernel/core) of Mathematica on to the iPad, which is an incremental step to the inevitable:
  • Prediction>>> Mathematica on iPad! Given the fact that Mathematica will be free with Raspberry Pi’s I’d be surprised if we don’t have Mathematica on iPad by the end of next year (2014) – hopefully it too will be reasonably priced, especially if you have existing Mathematica licenses