Preview

Recursive Bit Algorithm for Digital Arithmetic

Better Essays
Open Document
Open Document
1697 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Recursive Bit Algorithm for Digital Arithmetic
Introduction:
Vedic Mathematics:
• Vedic Mathematics deals mainly with 16 Sūtras and their applications for carrying out tedious and cumbersome arithmetical operations, and to a very large extent, executing them mentally.
• Nikhilam NavataścaramamDaśatahSūtra (or simply Nikhilam Sūtra) is one of these 16 Sūtras used for multiplication and has been successfully applied to overcome drawbacks of conventional schemes. This is where the fields of modern computing and Vedic Mathematics converge.
Need For Efficient Multiplication Algorithm:
• Use of numerical methods is prevalent in most software algorithms. Such applications demand an efficient code for basic mathematical operations, one of them being multiplication.
• Real Time Systems demand instantaneous response to environmental variables and quick execution of taken decision.
• Multiplication algorithms find applications in Digital Signal Processing (DSP) for discrete Fourier transforms, Fast Fourier transforms, convolution, digital filters, etc. Therefore any new multiplication algorithm opens up a new approach for improving existing schemes.
This calls for a ‘time efficient’ algorithm for ‘multiplication’ to improve processor throughput.
Explanation of Nikhilam Sūtra:
One of the 16 Sūtras of Vedic Mathematics, Nikhilam Sūtra stated algebraically as follows:
Consider two numbers n1 and n2such that n1 = (x – a), a = (x – n1) n2 = (x - b), b = (x – n2)
Where x = base, a,b= differences from base, then n1 x n2 = (x - a)(x - b) = x[(x – a) + (x – b) – x] + a*b
Thus the Nikhilam Sūtra effectively breaks up a large multiplication n1 x n2 into a small multiplication (a x b) and addition [(x – a) + (x – b) – x].

Decimal multiplication using Nikhilam Sūtra :
• 99 x 98 :
Base as power of 10, n1 and n2 less than base:
Consider n1 = 99 and n2 = 98

Number Difference Base x
(x – a) = 99 a = +01
100
(x – b) = 98 b = +02
(x – a) + (x – b) – x = 97 a*b = 02
Product: 9702

Algorithm for Radix 2



References: • Ajinkya Kale, ShaunakVaidya, AshishJoglekar – “A Generalized Recursive Algorithm for Binary Multiplication based on Vedic Mathematics ” , Proceedings National Conference on Trends in Computing Technologies – 2009 ,Pg – 37-43 • Harpreet Singh Dhillion ,AbhijitMitra – “ A Reduced Bit Multiplication Algorithm for Digital Arithmetic “ , International Journal of Computational and Mathematical Sciences, WASET, Spring 2008.  T. K. Ghosh, A. K. Pal, “Computer Organization and Architecture” • Mano M. Morris, Computer Architecture and Design, Pearson Education Inc., South Asia Edition, 2007. • http://vedicmaths.org • http://en.wikipedia.org

You May Also Find These Documents Helpful

  • Good Essays

    CIS115 W2 Exercise

    • 757 Words
    • 10 Pages

    TCO 2—Given a simple problem, design a solution algorithm that uses arithmetic expressions and built-in functions.…

    • 757 Words
    • 10 Pages
    Good Essays
  • Good Essays

    acc290 week 1

    • 2424 Words
    • 8 Pages

    I would explain that when multiplying polynomial is when all the variables have integer exponents that are positive. This works with addition, subtraction and multiplication. It has to be possible to write the equation without division for it to be a polynomial. This is an example of what a polynomial looks like: 4xy2+3X-5. To multiply two polynomials, you must multiply each term in one polynomial by each term in the other polynomial, and then add the two answers together. After you get your answer, simplify to the smallest term if it is needed.…

    • 2424 Words
    • 8 Pages
    Good Essays
  • Powerful Essays

    IP Subnetting

    • 333 Words
    • 2 Pages

    Be sure to show your work, meaning your steps to convert binary to decimal, etc.…

    • 333 Words
    • 2 Pages
    Powerful Essays
  • Good Essays

    Programming Homework

    • 366 Words
    • 2 Pages

    One of the overlooked features of this program is the “Write” statement that makes the proceeding count occur on the next line not in one long string. This is important to differentiate between sets of multiplication tables.…

    • 366 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    The "pseudocode" for such an algorithm is: while the number is bigger than one keep dividing it by two. Additionally keep a count of how many times we do the division.…

    • 391 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Exam on Algorithms

    • 1238 Words
    • 5 Pages

    The following algorithm is to be applied to the positive integers from 1 to 12.…

    • 1238 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    First we will deal with the area of mathematics. One of the most recognized achievements of the Gupta period was the highly accurate calculation of pi, made by the renowned mathematician Aryabhata. Before this time, pi, the value that explained the relationships between the area, circumference, diameter, radius, and volume of circles and spheres, was frequently represented by Indian mathematicians as three, or the square root of ten. (Although both of these values are far from accurate, the fact that the civilization had a knowledge of geometry and mathematical relationships is proof of scientific advancement, especially when one compares it to Europe, which in the eleventh century still had no knowledge of mathematics.) Aryabhata calculated pi to the fourth decimal place at a value of 3.1416. Aryabhata also studied and improved other concepts of mathematics; for example, he determined the rule for the area of isosceles triangles and researched algebraic identities and intermediate equations. His work can be observed in the Gitikapanda, a book which includes a trigonometrical sine table, rules for extracting square and cube roots, the concepts of spheres, pyramids and other plane figures,…

    • 1584 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    Longitudinal Study

    • 4556 Words
    • 19 Pages

    For example, most procedures for adding or subtracting multidigit numbers essentially reduce the calculation to a series of sums or differences of single-digit numbers (or corresponding multiples of 10, 100, etc.). There are, however, some fundamental differences between standard algorithms and the strategies that children construct to solve multidigit problems. Standard algorithms have evolved over centuries for efficient, accurate calculation. For the most part, these algorithms are quite far removed from their conceptual underpinnings. Invented strategies, on the other hand, generally are derived directly from the underlying multidigit concepts. For example, with standard addition and subtraction algorithms, numerals are aligned so that the ones, tens, hundreds, and larger digits can be added in columns. But in the addition of columns, no reference is made to the fact that the addition involves the same unit (ones, tens, hundreds, etc.); one simply adds numbers in a column. Most invented strategies, on the other hand, specifically label the units being combined. For example, in the above addition examples, the invented strategies are based on adding 30 and 20 or 3 tens and 2 tens rather than adding two numbers that appear in the same column.1 Sequence of Development of Major Concepts and Procedures Longitudinal…

    • 4556 Words
    • 19 Pages
    Powerful Essays
  • Satisfactory Essays

    3. This method of multiplication can be expanded to matrices other that 2x2. However, due to space constraints, on a test, usually you will only see a 2 x2 matrix or smaller.…

    • 320 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    India and China prepared the main contributions in the past for mathematics that has influenced mathematics in today’s day and age, with numerous discoveries that would inspire the world of mathematics to an unimaginable degree. The period 213 BCE and 1425 CE is important to examine just because we believe that this was the approximate time of the Buddhist missionaries, were they travelled with their religion to many areas with in Asia including China and Tibet in the north. Through this journey the spread of religion and culture was performed. Giving birth to the opportunity to trade ideas and thoughts, allowing the migration of books and creation of new translation meant that a rise of innovative ways of problem solving and mathematical thinking was formed. Concepts like π and 0 were created and established, and was acknowledged widely across the globe when it inhabited different nations, in comparison to such concepts of infinity took considerably longer for mankind to accept. Commencing the comparisons and the contrasts between India and China’s religion, improvements in mathematics It can be said that the thinking between the two nations have been alike as discoveries in mathematics and ideology have been through each other’s history.…

    • 2134 Words
    • 6 Pages
    Good Essays
  • Powerful Essays

    College Algebra

    • 39312 Words
    • 158 Pages

    1.3.4 The Euclidean algorithm . . . . . . . . . . . . . . . . . . . . . . . .…

    • 39312 Words
    • 158 Pages
    Powerful Essays
  • Powerful Essays

    "The Mathematics of Ancient India." Science and Its Times. Ed. Neil Schlager and Josh Lauer. Vol. 1. Detroit: Gale, 2001. Gale World History In Context. Web. 12 Dec. 2012.…

    • 1491 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Problem Set 1

    • 232 Words
    • 6 Pages

    Entropy(ST h<86 ) = − 32 log2 ( 32 ) − 13 log2 ( 31 ) = 0.918…

    • 232 Words
    • 6 Pages
    Satisfactory Essays
  • Better Essays

    number theory

    • 7093 Words
    • 29 Pages

    will concentrate on the kind of cryptography that is based on representing information as numbers…

    • 7093 Words
    • 29 Pages
    Better Essays
  • Satisfactory Essays

    Thought

    • 291 Words
    • 2 Pages

    Aryabhatta, also known as Aryabhatta I or Aryabhata (476-550?), is a famous Indian mathematician and astronomer, born in a place called Taregana, in Bihar (though some people do not agree with the evidence). Taregana which literally means songs of stars in Bihari, is a small place situated nearly 30 km from Patna, which was then known as Kusumpura later Pataliputra, the capital of the Gupta Empire. This is the very empire that has been dubbed as the “golden period in Indian history”. The best introduction to the genius of past is seen in the words of Bhaskara I who said, “Aryabhatta is the master who, after reaching the furthest shores and plumbing the inmost depths of the sea of ultimate knowledge of mathematics, kinematics and spherics, handed over the three sciences to the learned world” The place-value system, first seen in the 3rd-century Bakhshali Manuscript, was clearly in place in his work. While he did not use a symbol for zero, the French mathematician Georges Ifrah explains that knowledge of zero was implicit in Aryabhata's place-value system as a place holder for the powers of ten with null coefficients[13] However, Aryabhata did not use the Brahmi numerals. Continuing the Sanskritic tradition from Vedic times, he used letters of the alphabet to denote numbers, expressing quantities, such as the table of sines in a mnemonic form Aryabhata worked on the approximation for pi , and may have come to the conclusion that \pi is irrational. In the second part of the Aryabhatiyam (ganitapada 10)…

    • 291 Words
    • 2 Pages
    Satisfactory Essays