Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

Login

Username

Password

Not registered yet?

#1 2007-01-12 17:10:22

MathsIsFun
Administrator

Offline

Base Conversion

I have extended my Binary/Decimal/Hexadecimal Converter to make a more general Base Conversion Tool (prompted by the 0.999... = 1 conversation running in another thread)

I have included the most-used bases, and also the rather fun "26 Letters" one.

PLEASE check it over and report any errors or strange behavior !


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman
 

#2 2007-01-12 22:45:07

mathsyperson
Moderator

Offline

Re: Base Conversion

Ooh, very fun. I haven't found any bugs in it yet, and it's all very easy to use. I got a bit confused that 0 in Dec goes to Z in Letters, but then I realised that that actually made sense.
Speaking of the letters base,

9 2068 229455 228096070 1637421


Why did the vector cross the road?
It wanted to be normal.
 

#3 2007-01-12 23:01:56

MathsIsFun
Administrator

Offline

Re: Base Conversion

Well Done! You can!


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman
 

#4 2007-01-13 06:56:09

Devantè
Real Member

Offline

Re: Base Conversion

mathsyperson wrote:

9 2068 229455 228096070 1637421

407952, 509 2068 9.

 

#5 2007-01-13 13:45:32

John E. Franklin
Star Member

Offline

Re: Base Conversion

Awesome, I'll take a look.
Aside from that, on TI Calculator page, the word "processor" is mispelled.


igloo myrtilles fourmis
 

#6 2007-01-13 14:18:52

John E. Franklin
Star Member

Offline

Re: Base Conversion

Hey, my favorite one so far in base-26 is 0.04, which is Z.AAAAAAAAAAAA
So 1/25th is analogous to 1/9th in base-10, in that they both repeat 0.11111111111,
or Z.AAAAAAAAAAAA
This is so cool, man.
Ya gotta love it.


igloo myrtilles fourmis
 

#7 2007-01-13 14:24:25

John E. Franklin
Star Member

Offline

Re: Base Conversion

One tiny bug, if you type "B.YYYYY" all is fine, but if you hold and repeat the YYY's for a ways, the point YYYYYYYYY part goes to zero, and the B is left at a value of 2, instead of 3.
All note 0.YYYYYYYYYYY versus .YYYYYYYYYYYYYYYYYYYY, which disappears.
Love this thing though, nice work, master MIF.


igloo myrtilles fourmis
 

#8 2007-01-13 14:56:59

John E. Franklin
Star Member

Offline

Re: Base Conversion

Note that 1000 is ALL
4646 is FVR
and 2222 is AFVR
Just havin' fun with this...
_______
oh, I'm back....
I typed in 2007 and it said BYE!!!
(smile)
...I'm back again...
and SLING is interesting in decimal, as is AUNT.
I'll have to try the base-20 next...
....Back again...
Oh, the hex drum set is really nice sounding!
Excellent idea, math and rhythm.
A sort of multiplexer to pick hi-hat tom bass etc.

Last edited by John E. Franklin (2007-01-13 15:58:19)


igloo myrtilles fourmis
 

#9 2007-01-13 15:08:51

MathsIsFun
Administrator

Offline

Re: Base Conversion

Thanks John, fixed it!


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman
 

#10 2007-01-13 18:03:03

justlookingforthemoment
Moderator
Award: Wink Sherlock

Offline

Re: Base Conversion

I can delete/add/change text where it originally says 'A=1, B=2, C=3, ... X=24, Y=25, and Z=0' in green underneath the two conversion boxes.

Is it meant to be like this (for a reason)? My changes don't stay permanently of course but I was just wondering.

Well, apart from that, this is cool. I like how the conversion is live.

 

#11 2007-01-13 18:24:55

MathsIsFun
Administrator

Offline

Re: Base Conversion

LOL! That is something I completely overlooked ... will protect it from editing.


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman
 

#12 2007-01-18 19:10:57

John E. Franklin
Star Member

Offline

Re: Base Conversion

In case you missed by post about the repeating Y problem.
Here is the point where it is right in base 26:
A.YYYYYYYYYY    which equals  1.99999
Here is where is fails:
A.YYYYYYYYYYY   which is says incorrectly equals just 1, but should say 1.99999 or 2.
When it fails, it is off by one, which is not a good thing.


igloo myrtilles fourmis
 

#13 2007-01-18 21:22:21

MathsIsFun
Administrator

Offline

Re: Base Conversion

Eeek ... thanks for that. I will try to discover why.


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman
 

#14 2007-01-19 10:20:36

MathsIsFun
Administrator

Offline

Re: Base Conversion

OK, I posted a new version, that handles fractional components rounding to 1.

Thank you so much for pointing this out John. It works for me now, but maybe you could give it a test. Software is only as good as the tests it has passed!


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman
 

#15 2010-01-24 14:04:04

John E. Franklin
Star Member

Offline

Re: Base Conversion

I was just teaching my Mom about counting in base-3, base-9, base-15, and base-10 with this:
Counting in different bases
Thanks MathIsFun!!  I was also finding non-prime numbers in base-3 today by multiplying in base-3 by
hand, which is fun to do!


igloo myrtilles fourmis
 

#16 2010-01-24 14:10:05

MathsIsFun
Administrator

Offline

Re: Base Conversion

Thanks John.

Maybe I should give that little app a page on its own.


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman
 

#17 2010-01-25 03:59:01

John E. Franklin
Star Member

Offline

Re: Base Conversion

Not sure, how are most pages found my a new user to the site?
There are probably 2 or more ways to some pages with the search or index?
What if someone wanted to skim every single page
from the site, could there be a "book-order" they could
utilize?  And keep clicking "next page" ?

Last edited by John E. Franklin (2010-01-25 04:03:38)


igloo myrtilles fourmis
 

Board footer

Powered by FluxBB