English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am trying to find some algorithms for subtraction and I have to explain them as simple as possible. Can anyone help?

2007-11-01 19:11:55 · 1 answers · asked by The O 1 in Science & Mathematics Mathematics

1 answers

For subtraction, you could use a left-to-right algorithm instead of right-to-left. Another "non-standard" algorithm is using 9's complement:
851929
-556516
------------
295413
becomes
. 851929
+443484
-------------
1295413
Throw away the leading 1 and you have
295413

There are many alternate algorithms for multiplication, usually using the property of distribution. The most universal method is one I was taught as the Basque method. It is quite easy to use with 2-digit numbers, and only a little more difficult for 3-digit numbers. Generalizing, with a, b, c, and d representing single digits,
10a + b times
10c + d equals
100ac +
10ad +
10cb +
bd
Note the similarity to the FOIL method of expanding binomial multiplication.

2007-11-01 19:24:02 · answer #1 · answered by Helmut 7 · 0 0

fedest.com, questions and answers