What's all this, then?
https://numbersandshapes.net/
Recent content on What's all this, then?Hugo -- gohugo.ioen-usSat, 10 Nov 2018 00:00:00 +1100About this blog
https://numbersandshapes.net/pages/about/
Mon, 01 Jan 0001 00:00:00 +0000https://numbersandshapes.net/pages/about/This is the newest version of my “Numbers and Shapes” blog, containing material on elementary mathematics, mathematics education, software, and anything else that takes my fancy.
It is created in Hugo, a static blog engine which is blindingly fast, and works by simply serving up static html files (along with any necessary javascript). There is no database, and far less to fiddle with than with wordpress. Because it is static there is less opportunity for user input (such as comments) but that’s not an issue for me, as about 99.Pictures
https://numbersandshapes.net/pages/pictures/
Mon, 01 Jan 0001 00:00:00 +0000https://numbersandshapes.net/pages/pictures/This page will contain various photos and snapshots.
First, from a holiday taken by my wife and me through the South Island of New Zealand early in 2018:
New Zealand 2018
From a conference in Taiwan (Taoyuan City mainly, but also in Taipei and including a visit to Keelung City) in December 2017:
Taiwan 2017Concert review: Lixsania and the Labyrinth
https://numbersandshapes.net/post/lixsania_and_labyrinth/
Sat, 10 Nov 2018 00:00:00 +1100https://numbersandshapes.net/post/lixsania_and_labyrinth/This evening I saw the Australia Brandenburg Orchestra with guest soloist Lixsania Fernandez, a virtuoso player of the viola da gamba, from Cuba. (Although she studied, and now lives, in Spain.) Lixsania is quite amazing: tall, statuesque, quite absurdly beautiful, and plays with a technique that encompasses the wildest of baroque extravagances as well as the most delicate and refined tenderness.
The trouble with the viol, being a fairly soft instrument, is that it’s not well suited to a large concert hall.Linear programming in Python (2)
https://numbersandshapes.net/post/linear_programming_in_python_2/
Tue, 30 Oct 2018 00:00:00 +1100https://numbersandshapes.net/post/linear_programming_in_python_2/Here’s an example of a transportation problem, with information given as a table:
.transport table { width: 80%; table-layout: fixed;} th, td { text-align: center;} th { background: #DCDCDC;} Demands 300 360 280 340 220 750 100 150 200 140 35 Supplies 400 50 70 80 65 80 350 40 90 100 150 130 This is an example of a balanced, non-degenerate transportation problem.Linear programming in Python
https://numbersandshapes.net/post/linear_programming_in_python/
Sun, 28 Oct 2018 00:00:00 +1100https://numbersandshapes.net/post/linear_programming_in_python/For my elementary linear programming subject, the students (who are all pre-service teachers) use Excel and its Solver as the computational tool of choice. We do this for several reasons: Excel is software with which they’re likely to have had some experience, also it’s used in schools; it also means we don’t have to spend time and mental energy getting to grips with new and unfamiliar software. And indeed the mandated curriculum includes computer exploration, using either Excel Solver, or the Wolfram Alpha Linear Programming widget.A test of OpenJSCAD
https://numbersandshapes.net/post/test_of_openjscad/
Sat, 15 Sep 2018 00:00:00 +1000https://numbersandshapes.net/post/test_of_openjscad/Here’s an example of a coloured tetrahedron:
hello The power of two irrational numbers being rational
https://numbersandshapes.net/post/powers_of_irrationals/
Sat, 15 Sep 2018 00:00:00 +1000https://numbersandshapes.net/post/powers_of_irrationals/There’s a celebrated elementary result which claims that:
There are irrational numbers \(x\) and \(y\) for which \(x^y\) is rational.
The standard proof goes like this. Now, we know that \(\sqrt{2}\) is irrational, so let’s consider \(r=\sqrt{2}^\sqrt{2}\). Either \(r\) is rational, or it is not. If it is rational, then we set \(x=\sqrt{2}\), \(y=\sqrt{2}\) and we are done. If \(r\) is irrational, then set \(x=r\) and \(y=\sqrt{2}\). This means that \[ x^y=\left(\sqrt{2}^\sqrt{2}\right)^{\sqrt{2}}=\sqrt{2}^2=2 \] which is rational.Wrestling with Docker
https://numbersandshapes.net/post/wrestling_with_docker/
Sat, 15 Sep 2018 00:00:00 +1000https://numbersandshapes.net/post/wrestling_with_docker/For years I have been running a blog and other web apps on a VPS running Ubuntu 14.04 and Apache - a standard LAMP system. However, after experimenting with some apps - temporarily installing them and testing them, only to discard them, the system was becoming a total mess. Worst of all, various MySQL files were ballooning out in size: the ibdata1 file in /var/lib/mysql was coming in at a whopping 37Gb (39568015360 bytes to be more accurate).Householder's methods
https://numbersandshapes.net/post/householders_methods/
Sun, 09 Sep 2018 00:00:00 +1000https://numbersandshapes.net/post/householders_methods/These are a class of root-finding methods; that is, for the numerical solution of a single nonlinear equation, developed by Alston Scott Householder in 1970. They may be considered a generalisation of the well known Newton-Raphson method (also known more simply as Newton’s method) defined by
\[ x\leftarrow x-\frac{f(x)}{f’(x)}. \]
where the equation to be solved is \(f(x)=0\).
From a starting value \(x_0\) a sequence of iterates can be generated byThe Joukowsky Transform
https://numbersandshapes.net/post/joukowsky-transform/
Fri, 24 Aug 2018 00:00:00 +1000https://numbersandshapes.net/post/joukowsky-transform/The Joukowksy Transform is an elegant and simple way to create an airfoil shape.
Let \(C\) be a circle in the complex plane that passes through the point \(z=1\) and encompasses the point \(z=-1\). The transform is defined as
\[ \zeta=z+\frac{1}{z}. \]
We can explore the transform by looking at the circles centred at \((-r,0)\) with \(r<0\) and with radius \(1+r\):
\[ \|z-r\|=1+r \]
or in cartesian coordinates with parameter \(t\):Double Damask
https://numbersandshapes.net/post/double-damask/
Fri, 27 Apr 2018 00:00:00 +1000https://numbersandshapes.net/post/double-damask/This was a comedy sketch initially performed in the revue “Clowns in Clover” which had its first performance at the Adelphi Theatre in London on December 1, 1927. This particular sketch was written by Dion Titheradge and starred the inimitable Cicely Courtneidge as the annoyed customer Mrs Spooner. It has been recorded and is available on many different collections; you can also hear it on youtube.
I have loved this sketch since I first heard it as a teenager on a three record collection called something like “Masters of Comedy”, being a collection of classic sketches.Numbers and Shapes
https://numbersandshapes.net/nshapes/numbers_and_shapes/
Tue, 24 Apr 2018 00:00:00 +1000https://numbersandshapes.net/nshapes/numbers_and_shapes/This is the holding place for my old blog, when I import it from Wordpress. In the meantime, it’s herePost 1
https://numbersandshapes.net/nshapes/post_1/
Tue, 24 Apr 2018 00:00:00 +1000https://numbersandshapes.net/nshapes/post_1/Just to see how it worksPost 2
https://numbersandshapes.net/nshapes/post_2/
Tue, 24 Apr 2018 00:00:00 +1000https://numbersandshapes.net/nshapes/post_2/and another one, for experiment.Graphs of Eggs
https://numbersandshapes.net/post/egg_graphs/
Fri, 20 Apr 2018 00:00:00 +1000https://numbersandshapes.net/post/egg_graphs/I recently came across some nice material on John Cook’s blog about equations that described eggs.
It turns out there are vast number of equations whose graphs are egg-shaped: that is, basically ellipse shape, but with one end “rounder” than the other.
You can see lots at Jürgen Köller’s Mathematische Basteleien page. (Although this blog is mostly in German, there are enough English language pages for monoglots such as me). And plenty of egg equations can be found in the 2dcurves pages.Exploring JSXGraph
https://numbersandshapes.net/post/exploring_jsxgraph/
Sat, 14 Apr 2018 00:00:00 +1000https://numbersandshapes.net/post/exploring_jsxgraph/JSXGraph is a graphics package deveoped in Javascript, and which seems to be tailor-made for a static blog such as this. It consists of only two files: the javascript file itself, and an accompanying css file, which you can download. Alternaively you can simply link to the online files at the Javascript content delivery site cdnjs managed by cloudflare. There are cloudflare servers all over the world - even in my home town of Melbourne, Australia.The trinomial theorem
https://numbersandshapes.net/post/trinomial_theorem/
Thu, 05 Apr 2018 00:00:00 +1000https://numbersandshapes.net/post/trinomial_theorem/When I was teaching the binomial theorem (or, to be more accurate, the binomial expansion) to my long-suffering students, one of them asked me if there was a trinomial theorem. Well, of course there is, although in fact expanding sums of greater than two terms is generally not classed as a theorem described by the number of terms. The general result is
\[ (x_1+x_2+\cdots+x_k)^n=\sum_{a_1+a_2+\cdots+a_k=n} {n\choose a_1,a_2,\ldots,a_k}x_1^{a_1}x_2^{a_2}\cdots x_k^{a_k} \]
so in particular a “trinomial theorem” would bePlaying with Hugo
https://numbersandshapes.net/post/playing_with_hugo/
Tue, 03 Apr 2018 00:00:00 +1000https://numbersandshapes.net/post/playing_with_hugo/I’ve been using wordpress as my blogging platform since I first started, about 10 years ago. (In fact the first post I can find is dated March 30, 2008.) I chose wordpress.com back then because it was (a) free, and (b) supported mathematics through a version (or subset) of LaTeX. As I have used LaTeX extensively for all my writing since the early 1990’s, it’s a standard requirement for me.Python GIS, and election results
https://numbersandshapes.net/post/python_gis/
Sat, 31 Mar 2018 00:00:00 +1100https://numbersandshapes.net/post/python_gis/Election mapping A few weeks ago there was a by-election in my local electorate (known as an electoral division) of Batman here in Australia. I was interested in comparing the results of this election with the previous election two years ago. In this division it’s become a two-horse race: the Greens against the Australian Labor Party. Although Batman had been a solid Labor seat for almost its entire existence - it used to be considered one of the safest Labor seats in the country - over the past decade or so the Greens have been making inroads into this Labor heartland, to the extent that is no longer considered a safe seat.Presentations and the delight of js-reveal
https://numbersandshapes.net/post/presentations_and_js_reveal/
Sun, 11 Mar 2018 00:00:00 +1100https://numbersandshapes.net/post/presentations_and_js_reveal/Presentations are a modern bugbear. Anybody in academia or business, or any professional field really, will have sat through untold hours of presentations. And almost all of them are terrible. Wordy, uninteresting, too many “transition effects”, low information content, you know as well as I do.
Pretty much every speaker reads the words on their slides, as though the audience were illiterate. I went to a talk once which consisted of 60 – yes, sixty – slides of very dense text, and the presenter read through each one.The Vigenere cipher in haskell
https://numbersandshapes.net/post/vigenere_cipher_haskell/
Tue, 23 Jan 2018 00:00:00 +1100https://numbersandshapes.net/post/vigenere_cipher_haskell/Programming the Vigenère cipher is my go-to problem when learning a new language. It’s only ever a few lines of code, but it’s a pleasant way of getting to grips with some of the basics of syntax. For the past few weeks I’ve been wrestling with Haskell, and I’ve now got to the stage where a Vigenère program is in fact pretty easy.
As you know, the Vigenère cipher works using a plaintext and a keyword, which is repeated as often as need be:Analysis of a recent election
https://numbersandshapes.net/post/abalysis_recent_election/
Thu, 07 Dec 2017 00:00:00 +1100https://numbersandshapes.net/post/abalysis_recent_election/On November 18, 2017, a by-election was held in my suburb of Northcote, on account of the death by cancer of the sitting member. It turned into a two-way contest between Labor (who had held the seat since its inception in 1927), and the Greens, who are making big inroads into the inner city. The Greens candidate won, much to Labor’s surprise. As I played a small part in this election, I had some interest in its result.Analysis of a recent election
https://numbersandshapes.net/post/analysis_recent_election/
Thu, 07 Dec 2017 00:00:00 +1100https://numbersandshapes.net/post/analysis_recent_election/On November 18, 2017, a by-election was held in my suburb of Northcote, on account of the death by cancer of the sitting member. It turned into a two-way contest between Labor (who had held the seat since its inception in 1927), and the Greens, who are making big inroads into the inner city. The Greens candidate won, much to Labor’s surprise. As I played a small part in this election, I had some interest in its result.Programmable CAD
https://numbersandshapes.net/post/programmable-cad/
Fri, 24 Nov 2017 00:00:00 +1100https://numbersandshapes.net/post/programmable-cad/Every few years I decide to have a go at using a CAD package for the creation of 3D diagrams and shapes, and every time I give it up. There’s simply too much to learn in terms of creating shapes, moving them about, and so on, and every system seems to have its own ways of doing things. My son (who is an expert in Blender) recommended that I experiment with Tinkercad, and indeed this is probably a pretty easy way of getting started with 3D CAD.