Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

tanya tentang div???????

hasil dari misalnya 11 div 2 dan 11 div 3 hasilnya brapa ya?

1 Answer

Rating
  • Favorite Answer

    a div b = k ; dimana a = b•k +m

    a mod b = m

    Kalo mod biasanya digunakan untuk sisa

    Contoh: 56 mod 27 = 2

    Maksudnya adalah 56/27 = ... Sisa 2

    Jadi mod digunakan untuk mencari sisa pada pembagian.

    Kalau mau rumus langsungnya:

    a div b

    a = b • k + (a mod b)

    (a - (a mod b))/b = k

    (a - (a mod b))/b = a div b

    Tapi ingat, yang dicari "k" nya

    1) 11 div 2

    11 = 2k + (11 mod 2)

    11 = 2k + 1

    10 = 2k

    5 = k

    11 div 2 = 5

    2) 11 div 3

    11 = 3k + (11 mod 3)

    11 = 3k + 2

    9 = 3k

    3 = k

    11 div 3 = 3

    Katanya sih, ini banyak digunakan di pemrograman komputer.

    Semoga membantu :)

    Source(s): http://centurian-man.blogspot.com/ Itu sumbernya :D
Still have questions? Get your answers by asking now.