| 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^n | 2^0 | 2^1 | 2^2 | 2^3 |
| Result | 1 | 2 | 4 | 8 |
| 14= | 0 | 1 | 1 | 1 |
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.
|