作者simonxander (毕玄)
看板b96902HW
标题[离散] HW5
时间Sat Nov 8 19:25:32 2008
我帮自己打了一份,分享给大家
这样就不用课本了
P.397 [6]
Determine how many integer solutions there are to X1 + X2 + X3 + X4 = 19
a. 0 <= Xi i = 1~4
b. 0 <= Xi < 8 i = 1~4
c. 0 <= X1 <= 5, 0 <= X2 <= 6, 3 <= X3 <= 7, 3 <= X4 <= 8
P.397 [20]
At a 12-week conference in mathematics, Sharon met seven of her friends
from college. During the conference she met each friend at lunch 35 times,
every pair of them 16 times, every trio eight times, every foursome four
times, each set of five twice, and each set of six once, but never all seven
at once. If she had lunch every day during the 84 days of the conference,
did she ever have lunch alone?
P.401 [2]
a. In how many ways can the letters in ARRANGEMENT be arranged so that there
are exactly two pairs of consecutive identical letters? At least two pairs of
consecutive identical letters?
b. Answer part (a), replacing two with three.
P.403 [4]
How many permutations of 1~7 are not derangements?
P.410 [7]
Professor Ruth has five graders to correct programs in her courses in Java,
C++, SQL, Perl, and VHDL. Graders Jeanne and Charles both dislike SQL, Sandra
wants to avoid C++ and VHDL. Paul detests Java and C++, and Todd refuses to
work in SQL and Perl. In how many ways can Professor Ruth assign each grader to
correct programs in one Language, cover all five languages, and keep everyone
content?
(You need to show the detailed computations, not only the answer.)
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 218.161.37.209
1F:推 yangmie:你是个好人 11/08 19:28
2F:推 roger00:good! 11/08 19:40
3F:推 woptspencil:你是个好人 11/08 21:42
4F:推 ianchou821: 你是个好人!(递卡) 11/09 12:41
5F:→ simonxander:囧~ 这样也被发卡 11/09 14:33
6F:推 LaContra: 你是个好人(补发卡) 11/09 20:46
7F:→ simonxander:用C写程式跑解答还满好玩的 11/09 21:49
8F:推 dm4: 你四个好人(一次发四张卡) 11/09 22:30
9F:推 s007150628: 哈 楼上..谢谢原po! 11/12 19:09
10F:推 roger00:你是好人!! 11/17 20:23