Discrete Mathematics with Applications 4th Edition

Published by Cengage Learning
ISBN 10: 0-49539-132-8
ISBN 13: 978-0-49539-132-6

Chapter 7 - Functions - Exercise Set 7.1 - Page 395: 29

Answer

$ a-\\ H(10101, 00011)=3\\ b-\\ H(00110, 10111)=2\\ $

Work Step by Step

$H(s, t) = the\,\,number\,\,of\,\,positions\,\,in\\\,\,which\,\,s\,\,and\,\,t\,\,have\,\,dif\! ferent\,\,values.\\ a-\\ H(10101, 00011)=3\\ 10101\\ 00011\\ (they\,dif\! fer\,in\,the\,first,third\,and\,forth\,digit)\\ b-\\ H(00110, 10111)=2\\ 00110\\ 10111\\ (they\,dif\! fer\,in\,the\,first\,and\,fifth\,digit)\\ $
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.