Appendix B

Number systems

B.1 Number systems

The decimal system is based on the use of 10 symbols or digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. When a number is represented by this system, the digit position in the number indicates that the weight attached to each digit increases by a factor of 10 as we proceed from right to left:

images

The binary system is based on just two symbols or states: 0 and 1. These are termed binary digits or bits. When a number is represented by this system, the digit position in the number indicates that the weight attached to each digit increases by a factor of 2 as we proceed from right to left:

For example, the decimal ...

Get Mechatronics: Electronic Control Systems In Mechanical and Electrical Engineering, 7th Edition by Pearson now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.