Journal of Engineering and Applied Sciences

Year: 2009
Volume: 4
Issue: 1
Page No. 4 - 8

A Digit Model Algorithm for the Performance of Square of Numbers

Authors : Erwin Normanyo and Adetunde Isaac

Abstract: This study presents, findings on the manual squaring of numbers be it positive, negative, decimal or fractional. Presented is the model algorithm of squaring where use is made of the digits of the number to be squared. To substantiate the validity of the developed algorithm, examples of the squares of numbers were given for positive and negative numbers of single, double, triple, four digit numbers, decimal numbers and fractions. Results show that any number can be manually and unconventionally squared making use of the digit model algorithm.

How to cite this article:

Erwin Normanyo and Adetunde Isaac, 2009. A Digit Model Algorithm for the Performance of Square of Numbers. Journal of Engineering and Applied Sciences, 4: 4-8.

INTRODUCTION

Number theory, as manifested from civilization to civilization is as old as mankind. Due to the unquestioned historical importance of number theory, it has always occupied a unique position in the world of mathematics, science and engineering (Friberg, 2008).

There is a wealth of literatures reported since, the middle of the last century on the number theory. The importance of the number theory can be gauged not only from the vastness of the literatures that exist on the subject but also from the depth and thoroughness with which, number theory problems have been carried out. Pierre-de Fermat (1601-1665) was the first person who began and considered problems on number theory. Pierre de Fermat, however, gave number theory a starting point by rescuing it from the realm of superstition and occultism, where it had been imprisoned (Burton, 2007). Fermat’s influence was limited by the lack of interest in publishing the discoveries, which are known mainly from letters to friends and marginal notes in the books he read. In 1629, Fermat invented analytic geometry, but most of the credit went to Descartes; who hurried into print with his own ideas in 1937. Newton acknowledged, in a letter that became known only in 1934 that some of his own early ideas came directly from Fermat. In a series of letters written in 1654, Fermat and Pascal jointly developed the fundamental concepts of the theory of probability (Adetunde, 2007). Interesting aspects of number theory featured strongly in the Sumero-Babylonian cuneiform mathematical texts, where Sexagesimal multiplication tables were the vogue (Friberg, 2008).

Relevant publications on square of numbers were undertaken such as Adetunde (2007), Akinpelu et al. (2005) and Uko (1993, 1996). Several investigators have researched on the theory of numbers notable among them are, Leonhard Euler (1707-1703), Gabriel Lame (1795-1870) and Godfrey Harold Hardy. Srinivara Ramanuyan (1887-1920) and Paul Erdo’s (1913-1996) to mention a few.

The real core of this study is therefore, to extend the researches done by Adetunde et al. (2005) another dimension of performing squaring of numbers of any form be it positive, negative, decimal or fractional. Arithmetical examples are used for illustrations. Results show that any number can be manually and unconventionally squared making use of the digit model algorithm.

MATERIALS AND METHODS

Algorithm of computations:
Step 1:
Rewrite the given number into two separate portions: to the right portion is written the last digit of the given number and to the left portion is written the given number itself.

Step 2: Separately, square the right portion.

Step 3: For the left portion, add the two numbers of the two portions and multiply the result by the number gotten out of the original number written without the last digit; i.e., original number without the right portion digit.

Step 4: Write down the results of computations of the two portions.

Step 5: For the right portion, drop the units’ digit down after, in parenthesis and add the non-units (10s, T; 100s, H; 1000s, TH; etc.) as a number to the result of the left portion.

Step 6: Drop down in parenthesis, the result of the left portion after the addition of the non-units number of the right portion.

Step 7: Collate the in-parenthesis dropped down results of the two portions as the sought for square of the given number.

Demostrative use of the algorithm in terms of alphabets: A demonstrative example is presented for the squaring of the number Z comprising say 3 digits a-c, where, a-c = 0, ……, 9.

Step 1:

Z = abc
Z = abcc

Step 2 and 3:

Z2 = ab{abc + c} c2
= ab{Z + c} c2

Assume that the square of the right portion i.e., c2 results in a number comprising two or more digits, thus,

c2 = pqr

where:

c, p, q, r = 0, ……, 9

Also, let results of computation of the left portion be represented by U thus,

U = ab{Z + c}

Step 4:

Z2 = U pqr

We drop down the unit r and add the number pq to the results of computations of the left portion in accordance with step 5:

Step 5:

Z2 = U + pq (r)

Let, U + pq = V and dropped down, we have,

Step 6:

Z2 = (V) (r)

Step 7:

Z2 = (V) (r)

Demostrative use of the algorithm in terms of the numeric numbers: Now, we give the square of 279 as a demonstrative example:

Step 1:

Z = 279
Z = 2799

The algorithm of computations remains functional irrespective of the nature of the number to be squared i.e. positive, negative, decimal or fractional numbers; single, double, triple or four digit numbers. The numerical analysis below confirms this fact.

RESULTS AND DISCUSSION

Numerical investigations are presented in this section to illustrate the aforementioned mathematical algorithms stated in this study. The solutions based on the question solved with the algorithms.

Illustrative examples on square of single digits numbers: positive number, negative number
Example 1:
Find the square of 9
Solution

Example 2: Find the square of (-8)
Solution

Illustrative examples on square of double digits numbers: positive number, negative number
Example 3:
Find the square of 17
Solution

Example 4: Find the square of 99
Solution

Example 5: Find the square of (-97)
Solution

Illustrative examples on square of triple digits numbers: positive number, negative number
Example 6:
Find the square of 128
Solution

Example 7: Find the square of 879
Solution

Example 8: Find the square of (-573)
Solution

Illustrative examples on square of four digits numbers: positive number, negative number
Example 9:
Find the square of 3795
Solution

Example 10: Find the square of (-7438)
Solution

Illustrative examples on square of decimal numbers: positive number, negative number
Example 11:
Find the square of 0.7

Note: One decimal place:
Solution

Example 12: Find the square of 1.8
Solution

Example 13: Find the square of 27.3
Solution

Example 14: Find the square of 357.7
Solution

Example 15: Find the square of (-0.3)
Solution

Example 16: Find the square of (-1.9)
Solution

Example 17: Find the square of (-9.9)
Solution

Example 18: Find the square of (-23.7)
Solution

Example 19: Find the square of 3.97

Note: For two decimal places:
Solution

Example 20: Find the square of 83.68
Solution

Example 21: Find the square of (-31.73)
Solution

Example 22: Find the square of 0.739

Note: For three decimal places:
Solution

Example 23: Find the square of 4.784

Solution

Example 24: Find the square of (-7.397)
Solution

Example 25: Find the square of 0.3879

Note: For four decimal places:
Solution

Example 26: Find the square of (-0.3654)
Solution

Evidently from the various examples considered so far, regarding the positive, negative, including the decimal numbers of any form of digit (s), it was observed that the results were accurate and agreed with other methods used in finding the square of numbers. This method has the advantage and merits on the existing methods of square of numbers (Slide Rules and Logarithmic Tables) because given many numerical trials on the examples we still have accurate results.

Remarks: Square of fractions (Both positive and negative numbers): Fractions, positive or negative are squared as either decimal numbers or the squaring is performed separately for the numerator and the denominator.

CONCLUSION

An all-sided squaring of numbers has been presented. It could be deduced that the algorithm presented satisfies the squares of all shades of numbers be it positive, negative (single, double, triple or four digit), decimal or fractional.

Design and power by Medwell Web Development Team. © Medwell Publishing 2024 All Rights Reserved