Posts on What's all this, then?
https://numbersandshapes.net/post/
Recent content in Posts on What's all this, then?Hugo -- gohugo.ioen-usMon, 28 Jan 2019 00:00:00 +1100Colonial massacres, 1794 to 1928
https://numbersandshapes.net/post/colonial_massacres/
Mon, 28 Jan 2019 00:00:00 +1100https://numbersandshapes.net/post/colonial_massacres/The date January 26 is one of immense current debate in Australia. Officially it’s the date of Australia Day, which supposedly celebrates the founding of Australia. To Aboriginal peoples it is a day of deep mourning and sadness, as the date commemorates over two centuries of oppression, bloodshed, and dispossession. To them and their many supporters, January 26 is Invasion Day.
The date commemorates the landing in 1788 of Arthur Phillip, in charge of the First Fleet and the first Governor of the colony of New South Wales.Vote counting in the Australian Senate
https://numbersandshapes.net/post/vote_counting_in_australian_senate/
Tue, 22 Jan 2019 00:00:00 +1100https://numbersandshapes.net/post/vote_counting_in_australian_senate/Recently we have seen senators behaving in ways that seem stupid, or contrary to accepted public opinion. And then people will start jumping up and down and complaining that such a senator only got a tiny number of first preference votes. One commentator said that one senator, with 19 first preference votes, “couldn’t muster more than 19 members of his extended family to vote for him”. This displays an ignorance of how senate counting works.Concert 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.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.