1 / 4

ขั้นตอนวิธีของยุคลิด

ขั้นตอนวิธีของยุคลิด. ค 33211 คณิตศาสตร์สำหรับคอมพิวเตอร์ 5. ขั้นตอนวิธีของยุคลิด. วิธีการของยุคลิด เป็นวิธีที่เก่าแก่วิธีการหนึ่ง ใช้หาตัวหารร่วมมากของจำนวนเต็มบวก 2 จำนวน ใช้ในการเปลี่ยนเลขฐาน. ตัวอย่างขั้นตอนวิธีของยุคลิด. จงหา ( 287,91 ) โดยวิธีของยุคลิด 287 = 91(3) + 14

Download Presentation

ขั้นตอนวิธีของยุคลิด

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ขั้นตอนวิธีของยุคลิด ค33211 คณิตศาสตร์สำหรับคอมพิวเตอร์ 5

  2. ขั้นตอนวิธีของยุคลิด • วิธีการของยุคลิด เป็นวิธีที่เก่าแก่วิธีการหนึ่ง • ใช้หาตัวหารร่วมมากของจำนวนเต็มบวก 2 จำนวน • ใช้ในการเปลี่ยนเลขฐาน

  3. ตัวอย่างขั้นตอนวิธีของยุคลิดตัวอย่างขั้นตอนวิธีของยุคลิด • จงหา (287,91)โดยวิธีของยุคลิด • 287 = 91(3) + 14 • 91 = 14(6) + 7 • 14 = 7(2) • จะได้ว่า (14,7) = 7, (91,7) = 7 และ • (287,91) = 7

  4. ตัวอย่างขั้นตอนวิธีของยุคลิดตัวอย่างขั้นตอนวิธีของยุคลิด • จงหา (527,3553)โดยวิธีของยุคลิด • 3553 = 527(6) + 391 • 527 = 391(1) + 136 • 391 = 136(2) + 119 • 136 = 119(1) + 17 • 119 = 17(7) • ดังนั้น (527,3553) = 17

More Related