Tool to make an euclidean division automatically. Euclidean division is an arithmetical operation which associates to two numbers: the dividend and the divisor, two others numbers resulting from the division operation : the quotient and the remainder.

Euclidean Division - dCode

Tag(s) : Mathematics,Arithmetics

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!

You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? *Contact-me*!

This page is using the new English version of dCode, *please make comments* !

Sponsored ads

Tool to make an euclidean division automatically. Euclidean division is an arithmetical operation which associates to two numbers: the dividend and the divisor, two others numbers resulting from the division operation : the quotient and the remainder.

Quotient q is the integer part of the division a/b where a is the dividend and b the divisor.

Consider the division \( 43/21 = 2.047619...\), the quotient equals \( 2 \) (the integer part).

Rest is the result of $$ r = a - q \times b $$

Consider the division \( 43/21 \), the quotient equals \( 2 \) and the remainder equals \( 43 - 21 \times 2 = 1 \), indeed \( 43 = 2 \times 21 + 1 \).

To get a positive remainder, subtract \( 1 \) to the quotient and add it to the negative remainder.

If \( a = 15, b = 4 \), then ou can have \( q = 4, r = -1 \) (negative) because \( b \times q + r = 4 \times 4 - 1 = 15 = a \).

You can also take \( q = ( 4 - 1 ) = 3 \) and then have \( r = 3 \) (positive) and \( b \times q + r = 4 \times 3 + 3 = 15 = a \)

The name comes from Euclid, a mathematician.

This software is not limited, it can calculated with any number, including big numbers with arbitrary precision

dCode retains ownership of the source code of the script Euclidean Division. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Euclidean Division script for offline use, for you, your company or association, see you on contact page !

division,euclidean,quotient,remainder,integer,euclide,dividend,divisor,modulo,algorithm,slice

Source : http://www.dcode.fr/euclidean-division

© 2017 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode