Euclid’s Algorithm

This program implements Euclid’s Algorithm to reduce a given fraction to lowest terms. This is done by finding the greatest common divisor (GCD) of the numerator and denominator. The GCD of two integers is the largest integer which divides them both. A fraction is reduced to lowest terms by repeatedly dividing both the numerator and the denominator by their GCD. Euclid’s Algorithm finds the GCD to two integers, say u and v by finding the GCD of u – v and v (if u > v).

This entry was posted in Examples. Bookmark the permalink.

2 Responses to Euclid’s Algorithm

  1. Pingback: Fraction Arithmetic | LEARNINGlover.com

  2. hafizoh says:

    i like so much what you do in this blog…..i get many informantion about mathematics..i am mathematic teacher in Indonesia

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>