Home - BEAM Robots - Javascript - C - Forum
   Javascript
Mastermind - Resistor Calculator - Binary Converter - Hex Converter
NEWS

TomboT V2.

The new website is here! The new design has been created to address search engine issues, and general user friendly issues.

LINKS

Useful BEAM links:

Solarbotics - The best BEAM resources
Totalrobots - UK based suppliers
eBeamUK - UK based suppliers of great BEAM products
SheekGeek - BEAM and educational kit suppliers
Yahoo BEAM - BEAM community
Solarbotics.net - Community pages
EShock - Liverpool Uni's Elec Engineers society
JWGoerlich's site - A fellow BEAMer who has made some great robots. Also some great Solar Engine tests!



Denary to Binary Converter


Here is my binary converter. This converter uses the raw maths for creating a binary number instead of using a pre-made function. It is one of the first pieces of fully functional javascript I made and thats why I wanted to do it.

For those who don't know what I mean by Binary and by Denary, here is a brief description:

Firstly, what is the denary number system? Well it is the number system you are most familiar with. All numbers 1,2,11,35,134 etc are called denary numbers. The denary number system is a base 10 number system, it is made of of 1ís, 10ís, 100ís etc, all of which are the base 10 to a power.

The binary number system is a base 2 number system, it is made of 1ís, 2s, 4ís etc, all of which are the base 2 to a power. We can look at this is the following way:


Base 2^n2^02^12^22^3
Result1248
14=0111


Included above is an example of the number 14. What we are Saying is that 14 is made up of 1*2^3 + 1*2^2 + 1*2^1 + 0*2^0. This would be written with the highest power at the front, so 14 = 1110.

Enter a denary or binary number below and choose the appropriate button:


   





You can search the site here:
Google
 
Web TomboT
Webmaster: Tom Elner
© 2001 TomboT