Anonymous user
Egyptian division: Difference between revisions
m
changed the order of ;References; and ;Related tasks:.
(→{{header|Common Lisp}}: Implemented Common Lisp versionImplemented Common Lisp version) |
m (changed the order of ;References; and ;Related tasks:.) |
||
Line 295:
|}
So 580 divided by 34 using the Egyptian method is '''<code>17</code>''' remainder (578 - 580) or '''<code>2</code>'''.
;Task:
The task is to create a function that does [https://en.wikipedia.org/wiki/Ancient_Egyptian_mathematics#Multiplication_and_division Egyptian division]. The function should<br />
closely follow the description above in using a list/array of powers of two, and<br />
Line 308 ⟶ 306:
* Functions should be clear interpretations of the algorithm.
* Use the function to divide 580 by 34 and show the answer '''here, on this page'''.
;Related tasks:▼
:* [[Egyptian_fractions|Egyptian fractions]]▼
;References:
:* [https://discoveringegypt.com/egyptian-hieroglyphic-writing/egyptian-mathematics-numbers-hieroglyphs/ Egyptian Number System]
▲;Related tasks:
▲:* [[Egyptian_fractions|Egyptian fractions]]
<br><br>
|