A Different and Realistic Approach to Inter Base Conversion for Number System

Total Page:16

File Type:pdf, Size:1020Kb

A Different and Realistic Approach to Inter Base Conversion for Number System International Journal of Computer Applications (0975 – 8887) Volume 52– No.18, August 2012 A Different and Realistic Approach to Inter Base Conversion for Number System Saurabh Rawat Bhaskar Nautiyal Anushree Sah Dept. of Computer Science & Dept. of Computer Science & University of Greenwich, Engg. Engg. London, U.K Graphic Era University Graphic Era University Dehradun, India Dehradun, India ABSTRACT number system. Apart from the decimal number system, there A number system (or system of numeration) is a writing are binary number system, octal number system and system for expressing numbers, that is a mathematical hexadecimal number system. notation for representing numbers of a given set, using digits Base (Radix)- In the number system the base or radix tells the or other symbols in a consistent manner. It can be seen as the number of symbols used in the system. In the earlier days, context that allows the symbols "11" to be interpreted as the different civilizations were using different radixes. The binary symbol for three, the decimal symbol for eleven, or a Egyptian used the radix 2, the Babylonians used the radix 60 symbol for other numbers in different bases. A number system and Mayans used 18 and 20. is a set of rules and symbols used to represent a number. Binary ( 0 , 1 ) and other famous number systems, octal ( 0-7 The base of a number system is indicated by a subscript ), hexadecimal ( 0-15 ) are based on same fundamental (decimal number) and this will be followed by the value of the number. For example concept of decimal number system ( 0-9 ). The knowledge of (879)10,(457)8 and(56A)16. number systems, their representation, limits, arithmetic Beside the fact that many students know the decimal (base 10) compliments and inter conversion of numbers between system, and are very comfortable with performing operations prescribed number systems is essential for understanding of using this number system, it is too important for students to computers and successful programming for digital devices. know and understand that the decimal system is not the only Understanding all these number conversions ( from one base number system. By studying other number systems such as to decimal and to another base ) and related concepts requires binary (base 2) quaternary (base 4), senary (base 6), octal a lot of time and large time consuming techniques to (base 8), unodecimal ( base 11 ) , duodecimal ( base 12 ) , expertise. In this paper we have elaborated concepts of tridecimal ( base 13 ), quadrodecimal (base 14 ), pentadecimal conversion among different bases and proposed with the help (base 15 ), hexadecimal (base 16) and so forth [3], students of a table to obtain simply and effectively solution from one will gain a better understanding of how number systems work base to another base conversion, without converting to in general. It is well known that the design of computers decimal number system. This effort will also enhance the begins with the choice of number system, which determines knowledge intellectuals understanding and practicing of many technical characteristics of computers. In modern number system conversions. computer, number system used is binary number system. All other number systems are converted to binary number system General Terms for computer to access data. Number system, binary,octal, hexadecimal,inter conversions 2.1 Digits and their positions Keywords Such a symbol used in a system of numeration or one of the Number system, binary,octal, hexadecimal,inter conversions ten Arabic number symbols, 0 through 9 is called digit. The 1. INTRODUCTION first digit of/in any number system is always a zero. For A number system defines a set of values to represent quantity. example, a base 2 (binary) numbers have 2 digits: 0 and 1, a We talk about the number of people attending a class, the base 8 (octal) numbers have 8 digits: 0 through 7 and so forth. number of modules taken by each student and use numbers to Remember that a base 10 or decimal numbers does not represent grade.[2] contain the digit 10, similarly base 8 or octal numbers does not contain a digit 8, and same is the case for the other Number System can be categorized in two systems:- number systems. Once the digits of a number system are understood, each and every larger numbers can be constructed (a) Non-Positional Number System using positional notation or place-value notation method. (b) Positional Number System According to this method, the first right most digit (integer) has a unit’s position in decimal number. Further, to the left of Non-Positional Number System- In ancient times, people used the units position is the ten’s position, the position to the left to count on fingers, when the fingers became insufficient for of the ten’s position is the hundred’s position and so forth. counting, stones, pebbles or sticks were used to indicate 0 Here, the units position has a weight of 10 , or 1; the tens values. But it was very difficult to perform arithmetic with 101 such a number system as there is no symbol for zero. position has a weight of , or 10; and the hundreds position has a weight of 102 , or 100. The exponential Positional Number System- In this system the value of each powers of the positions are significant for understanding digit is defined not by the symbol but also by the symbol numbers in other number systems. Always, the unit’s position position. Positional Number System is used to perform in any number system is the position to the left of the radix arithmetic. Existing Positional number system is decimal point. For example the position to the left of the binary (radix) 37 International Journal of Computer Applications (0975 – 8887) Volume 52– No.18, August 2012 point is always 20 , or 1; the position to the left of the octal Let’s examine the decimal value of 365.5. You know that this 0 value is three hundred sixty five and one-half. Now examine (radix) point is always 8 , or 1 and so on. Similarly the the position of each number: position to the left of the unit’s position is always the number 1 whose base is raised to the first power; i.e. 21, 8 and so 365.5 * .5 represents 0.5 or ½ units on. These concepts can be extended to each and every number system. 2.2 Representation of number in any base system A number in any base system can be represented in a generalized format as follows: Each digit has its own value (weight) as shown in the above N a bn a bn1 a b1 a b0 example. Now let’s look at the value of the base 10 number n n1 1 0 , 365.5 with the positional notation line graph: where N = Number, b=Base, a= any digit in that base Decimal point For example number 142 can be represented in various number systems as follows: Table 1. Number representations in various number systems 2 1 0 1 10 10 10 . 10 142 2 1 0 142 Decimal 110 410 210 100 40 2 ----------------------------------------------- 100 142 3 6 5 . 5 011 1 27 0 26 1 23 1 22 1 20 Binary 10 --------------------------------------------- 128 0 0 0 8 4 2 0 2 10 3100,or300 216 142 Octal 2 1 0 1 28 18 68 128 8 6 10 610,or60 8E 142 100 51or5 Hexa- 1 0 1 decimal 816 E 16 128 4 10 5.1or.5 We can see that the power of the base is multiplied by the number in that position to determine the value for that 2.3 Decimal Number System position. All numbers to the left of the decimal point are whole numbers or integers, and all numbers to the right of the The decimal number system is known as international system decimal point are fractions. of numbers [8]. It is also called base 10 or denary number system. It uses 10 as its base. It is the numerical base most 2.4 Binary Number System widely used by modern civilization [7]. The number system with base 2 is known as the binary Decimal notation is a base-10 positional notation system. number system. Only two symbols are used to represent Positional decimal systems include a zero and use symbols numbers in this system i.e. 0 and 1 known as bits. It is a (called digits) for the ten values i.e. 0, 1, 2, 3, 4, 5, 6, 7, 8, and positional system i.e. every position is assigned a specific 9 to represent any number, no matter how large or how small. weight. Moreover, its number has two parts the Integral part or integers and the fractional part or fractions, set a part by a radix point. For example (1101.101)2 0 9 Decimal 1 8 Binary 2 7 0 1 3 6 4 5 Fig 2: Symbols used in binary number system In the binary number system the left–most bit is known as most significant bit (MSB) and the right–most bit is known as Fig 1: Symbols used in decimal number system the least significant bit (LSB). The following graph shows the position and the power of the base (2 in this case): 38 International Journal of Computer Applications (0975 – 8887) Volume 52– No.18, August 2012 3 2 1 0 1 2 3 .....2 2 2 2 .2 2 2 ... The arithmetic operations such as addition, subtraction, D C B multiplication and division of decimal numbers are also E performed on binary numbers. Also binary arithmetic is much F A simpler than decimal arithmetic because only two digits, 0 and 1 are used here.
Recommended publications
  • Positional Notation Or Trigonometry [2, 13]
    The Greatest Mathematical Discovery? David H. Bailey∗ Jonathan M. Borweiny April 24, 2011 1 Introduction Question: What mathematical discovery more than 1500 years ago: • Is one of the greatest, if not the greatest, single discovery in the field of mathematics? • Involved three subtle ideas that eluded the greatest minds of antiquity, even geniuses such as Archimedes? • Was fiercely resisted in Europe for hundreds of years after its discovery? • Even today, in historical treatments of mathematics, is often dismissed with scant mention, or else is ascribed to the wrong source? Answer: Our modern system of positional decimal notation with zero, to- gether with the basic arithmetic computational schemes, which were discov- ered in India prior to 500 CE. ∗Bailey: Lawrence Berkeley National Laboratory, Berkeley, CA 94720, USA. Email: [email protected]. This work was supported by the Director, Office of Computational and Technology Research, Division of Mathematical, Information, and Computational Sciences of the U.S. Department of Energy, under contract number DE-AC02-05CH11231. yCentre for Computer Assisted Research Mathematics and its Applications (CARMA), University of Newcastle, Callaghan, NSW 2308, Australia. Email: [email protected]. 1 2 Why? As the 19th century mathematician Pierre-Simon Laplace explained: It is India that gave us the ingenious method of expressing all numbers by means of ten symbols, each symbol receiving a value of position as well as an absolute value; a profound and important idea which appears so simple to us now that we ignore its true merit. But its very sim- plicity and the great ease which it has lent to all computations put our arithmetic in the first rank of useful inventions; and we shall appre- ciate the grandeur of this achievement the more when we remember that it escaped the genius of Archimedes and Apollonius, two of the greatest men produced by antiquity.
    [Show full text]
  • The What and Why of Whole Number Arithmetic: Foundational Ideas from History, Language and Societal Changes
    Portland State University PDXScholar Mathematics and Statistics Faculty Fariborz Maseeh Department of Mathematics Publications and Presentations and Statistics 3-2018 The What and Why of Whole Number Arithmetic: Foundational Ideas from History, Language and Societal Changes Xu Hu Sun University of Macau Christine Chambris Université de Cergy-Pontoise Judy Sayers Stockholm University Man Keung Siu University of Hong Kong Jason Cooper Weizmann Institute of Science SeeFollow next this page and for additional additional works authors at: https:/ /pdxscholar.library.pdx.edu/mth_fac Part of the Science and Mathematics Education Commons Let us know how access to this document benefits ou.y Citation Details Sun X.H. et al. (2018) The What and Why of Whole Number Arithmetic: Foundational Ideas from History, Language and Societal Changes. In: Bartolini Bussi M., Sun X. (eds) Building the Foundation: Whole Numbers in the Primary Grades. New ICMI Study Series. Springer, Cham This Book Chapter is brought to you for free and open access. It has been accepted for inclusion in Mathematics and Statistics Faculty Publications and Presentations by an authorized administrator of PDXScholar. Please contact us if we can make this document more accessible: [email protected]. Authors Xu Hu Sun, Christine Chambris, Judy Sayers, Man Keung Siu, Jason Cooper, Jean-Luc Dorier, Sarah Inés González de Lora Sued, Eva Thanheiser, Nadia Azrou, Lynn McGarvey, Catherine Houdement, and Lisser Rye Ejersbo This book chapter is available at PDXScholar: https://pdxscholar.library.pdx.edu/mth_fac/253 Chapter 5 The What and Why of Whole Number Arithmetic: Foundational Ideas from History, Language and Societal Changes Xu Hua Sun , Christine Chambris Judy Sayers, Man Keung Siu, Jason Cooper , Jean-Luc Dorier , Sarah Inés González de Lora Sued , Eva Thanheiser , Nadia Azrou , Lynn McGarvey , Catherine Houdement , and Lisser Rye Ejersbo 5.1 Introduction Mathematics learning and teaching are deeply embedded in history, language and culture (e.g.
    [Show full text]
  • Positional Notation Consider 101 1015 = ? Binary: Base 2
    1/21/2019 CS 362: Computer Design Positional Notation Lecture 3: Number System Review • The meaning of a digit depends on its position in a number. • A number, written as the sequence of digits dndn‐1…d2d1d0 in base b represents the value d * bn + d * bn‐1 + ... + d * b2 + d * b1 + d * b0 Cynthia Taylor n n‐1 2 1 0 University of Illinois at Chicago • For a base b, digits will range from 0 to b‐1 September 5th, 2017 Consider 101 1015 = ? • In base 10, it represents the number 101 (one A. 26 hundred one) = B. 51 • In base 2, 1012 = C. 126 • In base 8, 1018 = D. 130 101‐3=? Binary: Base 2 A. ‐10 • Used by computers B. 8 • A number, written as the sequence of digits dndn‐1…d2d1d0 where d is in {0,1}, represents C. 10 the value n n‐1 2 1 0 dn * 2 + dn‐1 * 2 + ... + d2 * 2 + d1 * 2 + d0 * 2 D. ‐30 1 1/21/2019 Binary to Decimal Decimal to Binary • Use polynomial expansion • Repeatedly divide by 2, recording the remainders. • The remainders form the binary digits of the number. 101102 = • Converting 25 to binary 3410=?2 Hexadecimal: Base 16 A. 010001 • Like binary, but shorter! • Each digit is a “nibble”, or half a byte • Indicated by prefacing number with 0x B. 010010 • A number, written as the sequence of digits dndn‐ C. 100010 1…d2d1d0 where d is in {0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F}, represents the value D.
    [Show full text]
  • Number Systems and Number Representation Aarti Gupta
    Number Systems and Number Representation Aarti Gupta 1 For Your Amusement Question: Why do computer programmers confuse Christmas and Halloween? Answer: Because 25 Dec = 31 Oct -- http://www.electronicsweekly.com 2 Goals of this Lecture Help you learn (or refresh your memory) about: • The binary, hexadecimal, and octal number systems • Finite representation of unsigned integers • Finite representation of signed integers • Finite representation of rational numbers (if time) Why? • A power programmer must know number systems and data representation to fully understand C’s primitive data types Primitive values and the operations on them 3 Agenda Number Systems Finite representation of unsigned integers Finite representation of signed integers Finite representation of rational numbers (if time) 4 The Decimal Number System Name • “decem” (Latin) => ten Characteristics • Ten symbols • 0 1 2 3 4 5 6 7 8 9 • Positional • 2945 ≠ 2495 • 2945 = (2*103) + (9*102) + (4*101) + (5*100) (Most) people use the decimal number system Why? 5 The Binary Number System Name • “binarius” (Latin) => two Characteristics • Two symbols • 0 1 • Positional • 1010B ≠ 1100B Most (digital) computers use the binary number system Why? Terminology • Bit: a binary digit • Byte: (typically) 8 bits 6 Decimal-Binary Equivalence Decimal Binary Decimal Binary 0 0 16 10000 1 1 17 10001 2 10 18 10010 3 11 19 10011 4 100 20 10100 5 101 21 10101 6 110 22 10110 7 111 23 10111 8 1000 24 11000 9 1001 25 11001 10 1010 26 11010 11 1011 27 11011 12 1100 28 11100 13 1101 29 11101 14 1110 30 11110 15 1111 31 11111 ..
    [Show full text]
  • About Numbers How These Basic Tools Appeared and Evolved in Diverse Cultures by Allen Klinger, Ph.D., New York Iota ’57
    About Numbers How these Basic Tools Appeared and Evolved in Diverse Cultures By Allen Klinger, Ph.D., New York Iota ’57 ANY BIRDS AND Representation of quantity by the AUTHOR’S NOTE insects possess a The original version of this article principle of one-to-one correspondence 1 “number sense.” “If is on the web at http://web.cs.ucla. was undoubtedly accompanied, and per- … a bird’s nest con- edu/~klinger/number.pdf haps preceded, by creation of number- mtains four eggs, one may be safely taken; words. These can be divided into two It was written when I was a fresh- but if two are removed, the bird becomes man. The humanities course had an main categories: those that arose before aware of the fact and generally deserts.”2 assignment to write a paper on an- the concept of number unrelated to The fact that many forms of life “sense” thropology. The instructor approved concrete objects, and those that arose number or symmetry may connect to the topic “number in early man.” after it. historic evolution of quantity in differ- At a reunion in 1997, I met a An extreme instance of the devel- classmate from 1954, who remem- ent human societies. We begin with the bered my paper from the same year. opment of number-words before the distinction between cardinal (counting) As a pack rat, somehow I found the abstract concept of number is that of the numbers and ordinal ones (that show original. Tsimshian language of a tribe in British position as in 1st or 2nd).
    [Show full text]
  • Number Systems Number Systems Positional Notation
    8/5/2019 Number Systems Decimal (Base 10) 10 digits (0,1,2,3,4,5,6,7,8,9) Binary (Base 2) 2 digits (0,1) Digits are often called bits (binary digits) Hexadecimal (Base 16) 16 digits (0-9,A,B,C,D,E,F) Often referred to as Hex 8/5/2019 CSE, Rajshahi University Number Systems Positional Notation Each digit is weighted by the base(r) to the positional power N = dn-1dn-2 …d0.d1d2…dm n-1 n-1 0 = (dn-1x r ) + (dn-2x r ) + … + (d0 1x r ) + 1 2 m (d1x r ) + (d2 x r ) + … (dm x r ) • Example : 872.6410 2 1 0 (8 x 10 ) + (7 x 10 ) + (2 x 10 ) -1 -2 + (6 x 10 ) + (4 x 10 ) • Example: 1011.12 = ? • Example :12A16 = ? 8/5/2019 CSE, Rajshahi University 8/5/2019 CSE, Rajshahi University 1 8/5/2019 Positional Notation Positional Notation (Solutions to Example Problems) (Solutions to Example Problems) 1011.12 3 2 1 0 -1 2 1 0 -1 -2 = 1x2 + 0x2 + 1x2 + 1x2 + 1x2 872.6410 = 8x10 + 7x10 + 2x10 + 6x10 + 4 x10 = 8 + 0 + 2 + 1 + .5 . 800 + 70 + 2 + .6 + .04 = 11.510 8/5/2019 CSE, Rajshahi University 8/5/2019 CSE, Rajshahi University Positional Notation Powers of Bases (Solutions to Example Problems) 2-3= .125 2-2= .25 2-1= .5 160 = 1 20 = 1 161 = 16 = 24 21 = 2 162 = 256 = 28 2 1 0 12A16 = 1x16 + 2x16 + Ax16 22 = 4 163 = 4096 = 212 23 = 8 = 256 + 32 + 10 24 = 16 25 = 32 = 29810 26 = 64 27 = 128 28 = 256 210 = 1024 = 1Kb 29 = 512 220 = 1,048,576 = 1Mb 210 = 1024 230 = 1,073,741,824 = 1Gb 211 = 2048 212 = 4096 8/5/2019 CSE, Rajshahi University 8/5/2019 CSE, Rajshahi University 2 8/5/2019 Determining What Base is being Used Conversion from Base R to Decimal Subscripts Use Positional Notation 87410 10112 AB916 AB9(16) Prefix Symbols %11011011 = ?10 (None) 874 %1011 $AB9 Postfix Symbols $3A94 = ?10 AB9H If I am only working with one base there is no need to add a symbol.
    [Show full text]
  • Non-Power Positional Number Representation Systems, Bijective Numeration, and the Mesoamerican Discovery of Zero
    Non-Power Positional Number Representation Systems, Bijective Numeration, and the Mesoamerican Discovery of Zero Berenice Rojo-Garibaldia, Costanza Rangonib, Diego L. Gonz´alezb;c, and Julyan H. E. Cartwrightd;e a Posgrado en Ciencias del Mar y Limnolog´ıa, Universidad Nacional Aut´onomade M´exico, Av. Universidad 3000, Col. Copilco, Del. Coyoac´an,Cd.Mx. 04510, M´exico b Istituto per la Microelettronica e i Microsistemi, Area della Ricerca CNR di Bologna, 40129 Bologna, Italy c Dipartimento di Scienze Statistiche \Paolo Fortunati", Universit`adi Bologna, 40126 Bologna, Italy d Instituto Andaluz de Ciencias de la Tierra, CSIC{Universidad de Granada, 18100 Armilla, Granada, Spain e Instituto Carlos I de F´ısicaTe´oricay Computacional, Universidad de Granada, 18071 Granada, Spain Keywords: Zero | Maya | Pre-Columbian Mesoamerica | Number rep- resentation systems | Bijective numeration Abstract Pre-Columbian Mesoamerica was a fertile crescent for the development of number systems. A form of vigesimal system seems to have been present from the first Olmec civilization onwards, to which succeeding peoples made contributions. We discuss the Maya use of the representational redundancy present in their Long Count calendar, a non-power positional number representation system with multipliers 1, 20, 18× 20, :::, 18× arXiv:2005.10207v2 [math.HO] 23 Mar 2021 20n. We demonstrate that the Mesoamericans did not need to invent positional notation and discover zero at the same time because they were not afraid of using a number system in which the same number can be written in different ways. A Long Count number system with digits from 0 to 20 is seen later to pass to one using digits 0 to 19, which leads us to propose that even earlier there may have been an initial zeroless bijective numeration system whose digits ran from 1 to 20.
    [Show full text]
  • Number Systems
    E Number Systems Hereareonly numbers ratified. —WilliamShakespeare Naturehas some sort of arithmetic-geometrical OBJECTIVES coordinate system,because In this appendix you will learn: naturehas all kinds of models.What weexperience I To understand basicnumber systems concepts, suchas of natureis in models,and base,positional valueand symbol value. all of nature’s models are so I To understand how to work withnumbers represented in beautiful. It struckme that nature’s the binary,octaland hexadecimalnumber systems. system must bea realbeauty, I Toabbreviatebinary numbers as octalnumbers or becauseinchemistry wefind hexadecimalnumbers. that the associations are always in beautiful whole I Toconvert octalnumbers and hexadecimalnumbers to numbers—thereareno binary numbers. fractions. I Tocovnert backand forthbetween decimalnumbers and —RichardBuckminster Fuller their binary,octaland hexadecimalequivalents. I To understand binary arithmeticand how negative binary numbers are represented using two’s complement notation. 1404 Appendix ENumber Systems E.1 Introduction E.2 Abbreviating Binary Numbers as Octaland HexadecimalNumbers line E.3 Converting Octaland HexadecimalNumbers toBinary Numbers ut O E.4 Converting from Binary,Octalor Hexadecimal toDecimal E.5 Converting from Decimal toBinary,Octalor Hexadecimal E.6 NegativeBinary Numbers:Two’s Complement Notation Summary |Terminology |Self-Review Exercises |Answers toSelf-Review Exercises |Exercises E.1 Introduction In this appendix, weintroduce the key number systems that Javaprogrammers use,espe- cially when they are working on softwareprojects that requirecloseinteraction withma- chine-level hardware. Projects like this include operating systems,computer networking software,compilers,database systems and applications requiring high performance. When we writeaninteger suchas 227 or –63 in aJavaprogram, the number is assumed tobein the decimal(base10)number system. The digits in the decimalnumber system are 0,1, 2, 3,4,5, 6, 7,8and 9.
    [Show full text]
  • Positional Notation Numeric Bases 1
    Positional Notation Numeric Bases 1 A positional or place-value notation is a numeral system in which each position is related to the next by a constant multiplier, called the base or radix of that numeral system. The value of each digit position is the value of its digit, multiplied by a power of the base; the power is determined by the digit's position. The value of a positional number is the total of the values of its positions. So, in positional base-10 notation: 73901=× 7 104 +× 3 10 3 +× 9 10 2 +× 0 10 1 +× 1 10 0 And, in positional base-2 notation: 10010000010101101=× 1 216 +× 1 2 13 +× 1 2 7 +× 1 2 5 +× 1 2 3 +× 1 2 2 +× 1 2 0 Why is the second example a cheat? CS@VT Computer Organization I ©2005-2012 McQuain Vital Point Numeric Bases 2 Do not confuse the representation with the number! Each of the following examples is a representation of the same number: 255 10 11111111 2 FF 16 2010 5 377 8 3333 4 100110 3 Do not make the mistake of thinking that there is such a thing as "a base-10 number" or "a base-16 number". There is a base-10 representation of every number and there is a base-16 representation of every number. CS@VT Computer Organization I ©2005-2012 McQuain Converting from base-10 to base-2 Numeric Bases 3 Given a base-10 representation of an integer value, the base-2 representation can be calculated by successive divisions by 2: 73901 Remainder 36950 1 18475 0 9237 1 4618 1 2309 0 1154 1 577 0 288 1 144 0 10010000010101101 2 72 0 36 0 18 0 9 0 4 1 2 0 1 0 0 1 CS@VT Computer Organization I ©2005-2012 McQuain Converting
    [Show full text]
  • Number Systems, Base Conversions, and Computer Data Representation
    Number Systems, Base Conversions, and Computer Data Representation Decimal and Binary Numbers When we write decimal (base 10) numbers, we use a positional notation system. Each digit is multiplied by an appropriate power of 10 depending on its position in the number: For example: 843 = 8 x 102 + 4 x 101 + 3 x 100 = 8 x 100 + 4 x 10 + 3 x 1 = 800 + 40 + 3 For whole numbers, the rightmost digit position is the one’s position (100 = 1). The numeral in that position indicates how many ones are present in the number. The next position to the left is ten’s, then hundred’s, thousand’s, and so on. Each digit position has a weight that is ten times the weight of the position to its right. In the decimal number system, there are ten possible values that can appear in each digit position, and so there are ten numerals required to represent the quantity in each digit position. The decimal numerals are the familiar zero through nine (0, 1, 2, 3, 4, 5, 6, 7, 8, 9). In a positional notation system, the number base is called the radix. Thus, the base ten system that we normally use has a radix of 10. The term radix and base can be used interchangeably. When writing numbers in a radix other than ten, or where the radix isn’t clear from the context, it is customary to specify the radix using a subscript. Thus, in a case where the radix isn’t understood, decimal numbers would be written like this: 12710 1110 567310 Generally, the radix will be understood from the context and the radix specification is left off.
    [Show full text]
  • Novel Approach to the Learning of Various Number Systems
    International Journal of Computer Applications (0975 – 8887) Volume 26– No.7, July 2011 Novel Approach to the Learning of Various Number Systems Shahid Latif Junaid Qayyum Muhammad Lal Faheem Khan Department of CS-IT Department of Telecom Department of Telecom Department of Telecom Sarhad University (SUIT) Gandhara University of Gandhara University of Gandhara University of Peshawar, Pakistan Peshawar, Pakistan Peshawar, Pakistan Peshawar, Pakistan ABSTRACT such as binary, octal, decimal and hexadecimal . More A number system is a set of rules and symbols used to specifically, the use of the microprocessor requires a working represent a number, or any system used for naming or knowledge of binary, decimal and hexadecimal numbering representing numbers is called a number system also known system [1, 2]. Computers communicate and operate in binary as numeral system. Almost everyone is familiar with decimal digits 0 and 1; on the other hand human beings generally use number system using ten digits. However digital devices the decimal systems with ten digits 0-9. The number systems especially computers use binary number system instead of used in digital technology have a great variety. Few of these decimal, using two digits i.e. 0 and 1 based on the systems are; unary (base-1), binary (base-2), ternary (base-3), fundamental concept of the decimal number system. Various quaternary (base-4), quinary (base-5), senary (base-6), other number systems also used this fundamental concept of septenary (base-7), octal (base-8), nonary (base-9), decimal decimal number system i.e. quaternary, senary, octal, (base-10), undecimal (base-11), duodecimal (base-12), duodecimal, quadrodecimal, hexadecimal and vigesimal tridecimal or tredecimal (base-13), tetradecimal or number system using four, six, eight, twelve, fourteen, quadrodecimal (base-14), pentadecimal (base-15), sixteen, and twenty digits respectively.
    [Show full text]
  • Babylonian Mathematicians Implemented for Solving Problems (Høyrup 2002)
    Babylonian Mathematics 1 Running head: BABYLONIAN MATHEMATICS A Brief Study of Some Aspects of Babylonian Mathematics Tom Zara A Senior Thesis submitted in partial fulfillment of the requirements for graduation in the Honors Program Liberty University Spring 2008 Babylonian Mathematics 2 Acceptance of Senior Honors Thesis This Senior Honors Thesis is accepted in partial fulfillment of the requirements for graduation from the Honors Program of Liberty University. ______________________________ Sandra V. Rumore, Ph.D. Chairman of Thesis ______________________________ Glyn Wooldridge, Ph.D. Committee Member ______________________________ Randall Dunn, Ed.D. Committee Member ______________________________ James Nutter, D.A. Honors Director ______________________________ Date Babylonian Mathematics 3 Abstract Beginning over 4000 years ago, the Babylonians were discovering how to use mathematics to perform functions of daily life and to evolve as a dominant civilization. Since the beginning of the 1800s, about half a million Babylonian tablets have been discovered, fewer than five hundred of which are mathematical in nature. Scholars translated these texts by the end of the 19 th century. It is from these tablets that we gain an appreciation for the Babylonians’ apparent understanding of mathematics and the manner in which they used some key mathematical concepts. Through this thesis, the author will provide background information about the Babylonians and then explain the manner in which the Babylonians used a number system, the square root of 2, “Pythagorean” mathematics, and equations. Babylonian Mathematics 4 A Brief Study of Some Aspects of Babylonian Mathematics Background Between the years of 3500 B.C. and 539 B.C., various Mesopotamian civilizations inhabited this “land between the rivers” (Dellapena, 1996, p.
    [Show full text]