Binary numbers

From SEG Wiki
Jump to navigation Jump to search

Problem

  1. Express the decimal numbers 19 and 10 as binary numbers.
  2. Add the binary numbers together and convert the sum to a decimal number.
  3. Multiply the two binary numbers and convert the product to decimal form.

Background

Mathematical operations are carried out in binary arithmetic in the same way as in decimal arithmetic. As an example of the similarity between decimal and binary arithmetic, when we add 75 to 129, we add 9 to 5 in the right-hand column and get 4 plus 1 to be carried to the next column. In binary addition, we have only the digits 1 and 0; when we add 1 to 1 we get 0 plus 1 to carry to the next column. In subtraction, when we subtract 1 from 0 we must borrow 1 from the next nonzero column to the left. Multiplication is identical in the two systems. To express a decimal number as a binary number, we subtract the largest power of 2 that is less than the decimal number, then follow the same procedure with the remainders until we end up with 1 or 0.

Solution

Continue reading

Previous section Next section
Effect of filtering on event picking Effect of too many groups connected to the cable
Previous chapter Next chapter
Characteristics of seismic events Reflection field methods

Table of Contents (book)

Also in this chapter

External links

find literature about
Binary numbers
SEG button search.png Datapages button.png GeoScienceWorld button.png OnePetro button.png Schlumberger button.png Google button.png AGI button.png