Mathmatics for Computing Science

Table of Contents

1 Mathmatics, the natural language of science

1.1 Number Systems

  • Ying and Yang in Systems
    A businessman wants to sell a certain amount of goods and God provides "bags" for him to put a certain number of his products in each bag in advance. The man use bags as follows:

    Bag-8 Bag-7 Bag-6 Bag-5 Bag-4 Bag-3 Bag-2 Bag-1
    128 64 32 16 8 4 2 1

Then, the businessman sells his goods in a convinient way. For example, a customer require 52 of his goods and the business takes the Bag-3,5,6 to him, which can be expressed as follows:

    Bag-6 Bag-5   Bag-3    
    32 16   4    

In order to unify the recording and processing method, it can be expressed:

0 0 1 1 0 1 0 0
128 64 32 16 8 4 2 1

So, for this transaction, the man recorded it as "00110100". Others transactions can be as "01001011" or "10000101".

The businessman found it effecitve and talks to God under the knowledge tree. He wants to use this method to identify all his shops in groups.

  • Information processing in the number systems

Date: 2021-05-20 Thu 00:00

Author: YF Lin

Created: 2021-06-17 Thu 13:38

ThingsEngine