28 March 2014

Welcome the duodecimal currency so says Mr Osborne

Well not quite. This by the way is not Mr Osborne the Green Goblin although he probably has been called worse. It's Mr George Osborne Chancellor of the exchequer.

Also he hasn't announced a new base for the currency, what he has done instead is announced that the humble £1 coin will have a different design. It will have 12 sides. Yes, this is where I have deceived you, I apologise.

What does 12 sides mean anyway? Does it look better?
Well have you ever wondered how machines recognise coins? They have holes which is just big enough for the coin to go through. 20p and 50p are 5 sided which means thanks to rotation and objects of constant width, they are easy to say what the width is. The issue with the 12 sided coin is it does not have that property, it's a bit of an issue, I'm not sure what the solution is. I personally find object of perfect symmetry ghastly but it depends on who you ask. The dozenal society in the UK would probably be quite pleased.

Who are the dozenal society?
They believe that changing the base of currency and counting to 12 will make things simpler, and they are right. Also there is a dozenal society in the UK and in America.
First of all counting. Every number you get in base 10 can easily be converted over to base 12. Take 2014 as a number, the first thing we have to do is work out the highest powers of 12 (power of 12 e.g. 12^0=1, 12^1=12, 12^2=144, ...) that is less than 2014. Which is 3 (12^4=20736 and 12^3=1728).

2014/(12^3)=1.16550925... 
(12^3)*1=1728. 2014-1728=286.
286/(12^2)=1.9861111...
(12^2)*1=144. 286-144=142.
142/12=11.8333...
12*11=132. 142-132=10.

1*(12^3)+1*(12^2)+11*12+10.
Convert 11 and 10 into base 12 numbers i.e. 10=a and 11=b

2014(base10)=11ba(base12).
There is other methods, this is just one of them.

If anyone does implement the base 12 system they need a symbol for 10 and for 11 and also a name. This I believe is where the fun comes in, for naming anyway. We already have a number which is in alphabetic order (forty) so can we have reverse alphabetic name like trone for example. The other thing we haven't got is a Palindrome (something that reads the same forwards or backwards e.g. racecar, hannah, 123321). For 11 we could have caac or ette. It probably should be only 1 syllable.

With base 10 we count on our fingers and thumbs, thats fine. In base 12 we only use the knuckles of our fingers of 1 hand (see already much more efficient) and the thumb can count along. If you count on one finger you can get to 3, do that on all 4 fingers we can get to 12. Now if use both hands we can get to 143 or 12^2-1, good lots of big numbers, but now you ask about learning the times tables.

Lets count this in base 10. Up to 10 times table there is 100 digits but thanks to patterns we don't need to learn them all, only 77 digits. Times tables 5 and 2 and 10 we can reduce. In the 5 times table, a number ends with a 5 or a 0. We only 2 numbers we need to know. In the 2 times table after 5 numbers it repeats 2, 4, 6, 8, 10. The 10 times table is the same as the 1 times table but with a 0, so we don't need to learn them.
In base 12 however there is a total of 144 digits but we only need to learn 85 numbers. This is more than base 10 but less overall. As a percentage you needed to know 77% of the 100 numbers. In base 12 we need to only know 60%(bit less) of 144 numbers. Why? In base 10 it has prime factors 2 and 5. In base 12 it has 2, 3, 4 and 6. More prime factors means less to remember.

Also base 12 means there is some interesting things you can do with symmetry, but that's a subject for another day.

23 August 2013

Pick Up: there is no uming and O.R.ing in MY queue part 2

Script:

Panel 1:

Ryan and Michael are walking to the front of the queue to see what the problem is.
1st Security Guard: Good evening ladies. Have you got ID on you?

Panel 2:

1st security guard checks the ID

Panel 3:

Then he check her chest

Panel 4:

Finally he check out her legs
1st security Guard: Okay, go on through

Panel 4:

Ryan turns to Michael Ryan: Michael, I think we have found the problem.
1st Security Guard: NEXT.

Well there are several problems here, where the hell did the 2nd security guy slide off to?

I apologise for the long long absence, I'm still not satisfied with my drawing ability, hopefully practise makes perfect. Anyway how to you solve a problem of a wandering eye?

3 May 2013

Pick Up: there is no uming and O.R.ing in MY queue part 1

Script:

Panel 1:

Ryan:Holy...

Panel 2:

Ryan:What are we going to do?
Michael:Nothing. I'm British, I know how to queue.

Panel 3:

Ryan:But what if we could speed it up?
Ryan is rubbing his hands together and looking mischievous. Michael on the over hand looks intrigued and curious.

Okay quite a bigger gap than I said, my delay was due to nervousness over drawing panel 2, as it turns out wasn't that hard and it's okay my art sucks. I'm annoyed I can't draw someone rubbing his hands together.

Since this is part 1 I written part 2 and 3 already. You can guess in the comments what you think Ryan is going to do next.

3 February 2013

Pick Up: Pulling the guys

Script:

Panel 1:

Ryan:ooh

Panel 2:

Ryan:hmm <eyes closed, head tilted to one side>

Panel 3:

Ryan:and then... <smooch face>
Michael:What in all-the-numbers-that-have-2-in-it are you doing?

Panel 4:

Ryan:playing a scenario where I team up and apply the Nash equilibrium.
Michael:you want to "score" the blonde girl from the film "A beautiful mind"

Panel 5:

Ryan:<sigh>No, the other girls.
Michael:okay good, what am i here for then?

Panel 6:

Ryan: To help me pull guys to help pull girls

Panel 7:

blank look

Panel 8:

side on, Michael is serious.
Michael:okay, let's do this.

the comic

The proof for all numbers contain 2 was done on numberphile youtube for the proof we just consider positive integer numbers and count the numbers that contain 2 under 10, then numbers that contain 2 under 100 and the percentage of numbers that contain 2 goes up and you can keep on doing this and there is an equation to work it out. Watch the youtube video they do it for 3 but the same rules apply.

I assume most people in the maths area have watch "A beautiful mind". If you haven't I will try not to spoil it for you. A group of women enter a bar, there is one that stands apart from the rest (the blonde) and the guys are saying "best man gets the prize" Nash then saw what the outcome would be and came up with a different method where every guy wins and the blonde lady is left alone.

A guy who is a pick up trainer suggested looking for guys to help find and pick up women. Sounds strange but watch the video.

In the comic Michael the driver is not looking on the road on panels 2, 3, 5 and 7(purely coincidental). The seat belt was added after, if your driving you should always wear a seatbelt. The position of Michaels hands on the steering wheel is at the 10 and 2 position (on a clock) always good practise. The driver is in the left which means he's driving on the left hand side of the road (like they do in Britain).

I have wrote the script for the next one already so it should be up soonish.

21 December 2012

Pick Up: It's a golden car

Script:
PANEL 1
Ryan: So whose car are we going in?
Michael: mine
Ryan: What? I thought it would be mine because mines cool
PANEL 2
Michael: It is cool but my car has dimensions which are closer to the "Golden Ratio"
Ryan: Does this mean what I think it means?
Michael: I don't know
Ryan: It's a real lady puller
PANEL 3
Michael: Not exactly... the gears are spaced to make it more fuel efficient. It has a go fast stripe though!

The golden ratio value is irrational so to 5 decimal places it is 1.61803. A while ago someone did a experiment putting different rectangle on a sheet of paper and they asked volunteers to select the most beautiful rectangle and would you have guessed it, it was the one that had a ratio of 1:1.61803... among other reason like Fibonacci numbers this is why this number may be considered beautiful. Sorry it has been so long, had to have the script tweaked, the car is meant to be based on the old volvo cars, nice and boxy. They have hat and scarves because it's winter and cold, sorry about facial expressions. Like I said before if you are a better artist or you know someone who would do this for FUN, get in touch.

Also it's the time of year for presents (Yay!) the giving and receiving of presents. For some people just staying warm is hard enough. The reason I'm saying this is as mathematicians we don't really believe in luck we believe in chaos and probability. Some people have everything going for them then that small chance of probability hits and things gets worse. Someone's situation may be their fault but some of it could be down to the pesky "no-way-is-that-going-to-happen" probability. Maybe this Christmas think of others. Merry Christmas and a happy new year.

15 November 2012

Maths Events in the London area

A while ago I was asked to publicise maths events in the London area, that might be of interest to London based university mathematics students. I was asked on behalf of the IMA (the Institute of Mathematics and its Applications.).
I am not a member of the IMA and all the views in this blog are my own and no way are representative of the IMA.
The Facebook page had been already set up so all I had to do is populate it with events. Harder than you can imagine and also I do need an audience so they can read it (current time of writing it has 190 fans) so I brought it over to twitter, since this is where I was getting any events from.
On Facebook I did run an advert campaign for 2 days trying to aim for London universities i.e.:
  • Birkbeck University
  • City University London
  • University of Greenwich
  • Imperial College London
  • Kingston University
  • Kings College London
  • London Metropolitan University
  • London School of Economics
  • The Open University???
  • Queen Mary, University of London
  • Royal Holloway, University of London
  • UCL, University College London
The main twitter accounts I got my maths event information is these: There is others so I put them in a twitter list not all talk about events, but most of the links are of some interest. If you know of any events please tweet @IMALonEvents or write on the facebook page please.

17 October 2012

Three word guessing game

This I heard from Alistair from Out of the Norm at one of the MathJams a couple of people wondered if you could put this online, well I believe I have done it. The rules are simple, someone puts in a valid three letter word, then the other person guesses using valid three letter words. If you guess one letter or 3 letters correct you will get the result of "odd", if you get 2 letters correct the result is even, if all the letters are correct and in the right order result is "finish".

A couple of things I haven't done, CAN'T play against the computer it is a 2 player game, also can't verify if the word is a proper three letter word apart from that it's all good

Pick a three letter word

12 October 2012

Pick Up: It's friday comic 001

Script
PANEL 1
2 seconds to 5pm

PANEL 2
5pm

PANEL 3
Ryan:It's Friday, it's the weekend

PANEL 4
Ryan:Hey Michael, are we going out tonight and you still on for being my wingman
Michael:Yep

PANEL 5
Michael:What club do you want to go to
Ryan:er

PANEL 6
Ryan:Let me find out

PANEL 7
Michael:Are you doing goal programming?
Ryan:Yeah

PANEL 8
Michael:Don't bother, I know what club your going to pick
Ryan:Oh yeah, which

PANEL 9
Michael:Club Panther, it's the only one that serves woo woo drinks
Ryan:What, it's a nice drink.

If you haven't seen "Harold and Kumar" they start with an goal and then get side tracked. That was the idea of what this is hopefully going to be.

In Panel 6 Ryan is rating amount of women in a bar. The problem is he hasn't stated if the women are single and or straight. He could have ended up in a lesbian bar. Last panel I mentioned woo woo drinks just a reference to Aled from the Chris Moyles show, it's ended after 8 years (longest running breakfast show in bbc Radio 1).

Due to amount of free time I have hopefully I'll do one at least once a month. By the way I know the drawing is rubbish, if you fancy doing the art email me(James Clare) AT.

30 August 2012

a while ago I said I may post comics or drawings on here. Well I have done a rather hint of rudeness comic:
In case you can't tell the script is this:

GIRL: Hmm nice what aftershave is that?
GUY: It's not aftershave it's citrus shampoo
GIRL: wow wonderful
GUY: Yeah. If I get get lucky, my other regions smell real good.

Not the best script (or drawing) but I wasn't planning on being amazing, just constantly improving. That was a slightly true story. I don't wear aftershave mainly because I'm forgetful and I don't think it adds a nicer smell. Someone said I smelt nice, I knew it wasn't aftershave cause I don't wear any. It was in fact my underarm (antiperspirant deodorant) that smelt nice (the last panel I added cause I thought it was a good joke). Anyway I had an idea for a (maybe) less rude comic idea, here is the script:

GUY:The title for this book is wrong, there is not 50 shades there is infinity shades of grey, anyway what is this book about?
GIRL: A girl talking about S & M.
GUY: You mean Single Machine scheduling.
GIRL: Er...not quite.

The end goal is maybe come up with a running storyline, for the moment though I'll just have fun.

11 August 2012

Drawing something

A while ago I was playing with a few friends an application called "Draw Something" basically the idea is you choose from a list what you want to draw, you submit it and then your friend guesses what you drew. Sounds good. Only after you play a while some of the words crop up again so the idea of playing seems pointless.

Anyway a friend of mine rarely check the application so I write to him on facebook to come on and play (most of the time using colourful language). My last attempt to persuade my friend I drew this:

Not the greatest drawing in the world, but it looks like a cowboy saying a line similar to the one in "Dirty Harry". I was thinking "Draw Something" will never ask me to draw something like this. I may put random pics I drew on here, maybe.

16 July 2012

Changing Bases

I have just started reading Alex's Adventure in Numberland" and in it, he started talking about counting in different bases and how different cultures count (I won't spoil it for you don't worry). One thing he said was learning the times tables would be easier and I can't disagree i.e.

3 times table
  • 3 x 1 = 3
  • 3 x 2 = 6
  • 3 x 3 = 9
  • 3 x 4 = 10
  • 3 x 5 = 13
  • 3 x 6 = 16
  • 3 x 7 = 19
  • 3 x 8 = 20
  • 3 x 9 = 23
4 times table
  • 4 x 1 = 4
  • 4 x 2 = 8
  • 4 x 3 = 10
  • 4 x 4 = 14
  • 4 x 5 = 18
  • 4 x 6 = 20
  • 4 x 7 = 24
  • 4 x 8 = 28
  • 4 x 9 = 30

The reason for it's simplicity is because 12 has more factors 1,2,3,4 and 6, whereas 10 has 1,2 and 5.

I wanted to know whether it was more good looking. When I was in primary school we made shapes on squares paper by using the times tables. First pick a point and then go in a clockwise direction (North, East, South and West) and plot the 2 times table. When you get to a 2 digit number like 14, you add the digits together (1 + 4 = 5) and plot this number.

For example this is base 10. times table 1 to 5.

How does this compare with base 12?

Personally I think base 12 looks better, more patterns. If you are interested there is a UK and USA society dedicated to base 12. These pictures was created using Paint.NET (Windows)(I created the grid myself).

1 June 2012

Physica Mbrick3 beginners guide

I may have mentioned that for my MSc project I designed a website that should make it clearer what lines are available for what module and what they do. This is so you can create an inform file. To run physica you do need a geometry file as well. There is one called MBrick and this creates a file (meshfilename.mb) this then creates a geometry file (meshfilename.geo) when run in physica and will then produce some outputs.
This will be your beginners guide to using MBrick (also known as MB3).
first it would be a good idea to have a vague idea of what you are going to mesh, so start off with a picture (the measurements are in mm). The thickness of the block is 5mm.
This maybe a bit over the top with markings but you do now see what is trying to be modelled. The following will be how you approach the problem if you are entering the data here. The text based approach and description is available here
First we want to know whether the mesh will have deformations(-8) or not(-9). In this case no deformations so '-9'. Now we want to know scale, scale is measured in meters. Since our model is in millimetres we will put in 0.001. The next decision is whether this is a cylindrical model, it's not so '0'.
Next we have Spans we have to divide up the block into sections and measure them
Length Divisions Comment
8.0 8 Inlet width
5.0 1 Slice thickness
20.0 16 pipe length
15.0 12 lower space height
10.0 8 upper space height
20.0 16 space width
12.0 10 outlet width
For deri-left and deri-right stick to the default 1.0. Deri-left and deri-right control mesh spacing. If for instance both (deri-left and deri-right) are greater than 1.0 then the mesh will start bunching up nearer to the middle. If however both are less than 1.0 then the mesh will bunch at the left and right ends. A combinations of higher or lower deri-right and deri-left maybe what you need, for the time being stick with default. Our spans now look like this:
 1   8.0   8  1.0  1.0    inlet width
 2   5.0   1  1.0  1.0    slice thickness
 3  20.0  16  1.0  1.0    pipe length
 4  15.0  12  1.0  1.0    lower space height
 5  10.0   8  1.0  1.0    upper space height
 6  20.0  16  1.0  1.0    space width
 7  12.0  10  1.0  1.0    outlet width

If you think about there is now have 6 rectangles which has to be created. Next we have to specify the 'Zero Mark' this is where you specify the starting point for the model. So x, y and z coordinate is all 0.0 and the Mark_ID is 0 as well.
From (0.0, 0.0, 0.0) you work up and outwards, what spans do we add in the x, y and z direction (NB The thickness is going to be in the y plane). The image should help you make sense of how you add in the x, y and z direction. First we move in x, y and z direction, in x we have 'inlet length', in y we have 'thickness' and z we have 'pipe length'. Second we only move in x and z, x we move 'pipe length', in z we move 'lower space height'. Finally third we move in x and z only, in x we move 'outlet width' and z we move 'upper space height'. The Marks including 'Zero Mark' look like this:
 0   0.0  0.0  0.0
 1   1   2   3
 2   6   0   4
 3   7   0   5
What has been created is a block, a solid block, we want to specify which volumes we are interested in to get to our model. First the goal is to specify where the pipe is. From the previous picture you can see it is located between mark 0 and mark 1 in x direction, mark 0 and mark 1 in y and mark 0 and 1 in z direction. The first line then is:
 0  1   0  1   0  1    2        inlet pipe
The last number, '2' is the zone number.

I'm ignoring the next line in zones because it is complicated (find out more after you see the text).

Second line we want to specify the big section. This section lies between 0 and 2 in the x direction (horizontal), in the z direction (vertical) it is between 1 and 3. The y direction (thickness) is between 0 and 1. The specification for this is:
 0  2   0  1   1  3    2        central space
The zone number for this is also 2.
Third and fourth area is similar to specify. For zones we have:
 0  1   0  1   0  1    2        inlet pipe
-12  0 0. 1 0.  0 0. 1 0.  0 0. 0 10.  1      initial level
 0  2   0  1   1  3    2        central space
 2  3   0  1   1  2    3        under outlet
 2  3   0  1   2  3    4        cut away

NB Additional feature: if mx0 = -12, the numbers after it are interpreted as follows:
i0 dx0 i1 dx1 j0 dy0 j1 dy1 k0 dz0 k1 dz1 zone_ID [c]
i0, i1 - lower and upper reference marks along x
dx0, dx1 - x-displacements of lower and upper zone ends from their ref. marks
j0, j1 - lower and upper reference marks along y
dy0, dy1 - y-displacements of lower and upper zone ends from their ref. marks
k0, k1 - lower and upper reference marks along z
dz0, dz1 - z-displacements of lower and upper zone ends from their ref. marks

The above "additional feature" is a cheat. What it does in this case is re writes the bottom half of the pipe and labels it as being zone 1.
What should have been done instead, which is a lot easier to understand is re-write the spans as being:
 1   8.0   8  1.0  1.0    inlet width
 2   5.0   1  1.0  1.0    slice thickness
 3  10.0   8  1.0  1.0    lower pipe length
 4  10.0   8  1.0  1.0    upper pipe length
 5  15.0  12  1.0  1.0    lower space height
 6  10.0   8  1.0  1.0    upper space height
 7  20.0  16  1.0  1.0    space width
 8  12.0  10  1.0  1.0    outlet width
and then re write the marks as being:
 0   0.0  0.0  0.0
 1   1   2   3
 2   7   0   4
 3   8   0   5
 4   0   0   6
after that you then re write your zones as being:
 0  1   0  1   0  1    1      initial level
 0  1   0  1   0  2    2        inlet pipe
 0  2   0  1   2  4    2        central space
 2  3   0  1   2  3    3        under outlet
 2  3   0  1   3  4    4        cut away
Easy. Anyway next up we have to specify the patch numbers. What you may not know is that when this runs it produces a file called 'bricks.txt' which shows you what the zones look like and the number of divisions (it wont show you spacing of the divisions). At the sides of this model, there will be numbers -1 will be on the left, -6 on top, -2 on the right, -5 on the bottom and unfortunately it won't show you the thickness (y) direction. There you would have seen -3 nearest to you, -4 furthest from you. These number are in fact zones. By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 0 0 0 0 0-2
-1 2 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 2 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
 0-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5 0
The patches are listed below:
-1  0   5       central symmetry
-2  3   4       side free slip
-3  0   7       symm. low  y
-4  0   8       symm. high y
-5  1   1       inlet
-6  0   6       top free slip
 0  1   3       walls
 0  2   3
 0  3   3
 4  2   9       upper side
 4  3   2       oulet

The first one might be slightly confusing, the '-1' is the left hand side of the model, the '0' being in the second column means it actually is the same as:

-1   1   5
-1   2   5

So you can see it includes everything next to '-1'. The next patch i.e. patch 4 is the border between -2 and zone 3. The rest is similar. Patch 3 however is slight different. As you see in bricks.txt there is a lot of '0', well if any of them are next to 3, 2 or 1 then they are patch 3.

The final bit of the MBrick is material number. The entry is:
1  1
2  1
3  1
4  0

That is to say zone 1, 2 and 3 are material 1 and zone 4 will not be meshed. zone 4 is only needed to specify the outlet in patch format.

The overall text for the MBrick file looks like this:
  -9    0.001    0
 1   8.   8  1.2  0.5    inlet width
 2   5.   1   1.  1.     slice thickness
 3  20.  16  1.0  0.5    pipe length
 4  15.  12  0.4  0.6    lower space height
 5  10.   8  0.6  0.6    upper space height
 6  20.  16  0.4  0.8    space width
 7  12   10  0.8  0.5    outlet width
 -9
 0   0.  0.  0.
 1   1   2   3
 2   6   0   4
 3   7   0   5
 -9
 0  1   0  1   0  1    2        inlet pipe
-12  0 0. 1 0.  0 0. 1 0.  0 0. 0 10.  1      initial level
 0  2   0  1   1  3    2        central space
 2  3   0  1   1  2    3        under outlet
 2  3   0  1   2  3    4        cut away
  -9
-1  0   5       central symmetry
-2  3   4       side free slip
-3  0   7       symm. low  y
-4  0   8       symm. high y
-5  1   1       inlet
-6  0   6       top free slip
 0  1   3       walls
 0  2   3
 0  3   3
 4  2   9       upper side
 4  3   2       oulet
 -9
1  1
2  1
3  1
4  0
-9