MS2005/MS6005 Exercise Sheet

Size: px
Start display at page:

Download "MS2005/MS6005 Exercise Sheet"

Transcription

1 10/9/15 MS2005/MS6005 Exris Sht 1. In ah as omput th numbr of intgrs that ar multipls of 11 in th givn st: A = {10,11,12,...,54}, B = {11,12,13,...,55}, C = { 127, 126,...,39} 2. How many intgrs in th st {4,5,6,...,91,92} ar multipls of 5? How many ar multipls of 7? How many ar multipls of nithr 5 nor 7? 3. Th numbr N = 1000! = ns in xatly how many zros? 4. Prov th inlusion-xlusion prinipl for thr finit sts A, B an C: A B C = A + B + C A B B C C A + A B C Formulat th inlusion-xlusion prinipl for 4 finit sts. 5. Consir a group of 191 stunts of whih 10 blong to Chss Club, Law Soity an Suas; 36 blong to Chss Club an Law Soity; 20 blong to Chss Club an Suas; 18 blong to Law Soity an Suas; 65 blong to Chss Club; 76 blong to Law Soity; an 63 blong to Suas. (i) How many blong to Chss Club an Suas but not Law Soity? (ii) How many blong to Law Soity but nithr Chss Club nor Suas? (iii) How many blong to Suas or Chss Club (or both) but not Law Soity? (iv) How many blong to non of th soitis? 6. All stunts in an arts ollg partiipat in at last on out of thr ativitis: painting, musi, an film lub. If 10 stunts o all thr ativitis, 150 stunts o two or mor ativitis, half of all stunts partiipat in musi, an th ratio of partiipants in painting, musi, an film lub, rsptivly, is 5:4:3, what is th total numbr of stunts in arts? 7. How many tims os th igit 7 our in th list of numbrs from 1 to 999? How many of numbrs from 1 to 999 hav at last a igit of 7? 8. How many 8-bit binary strings (i) bgin an n with 1? (ii) hav ithr th son or fourth bit 1 (but not both)? (iii) hav xatly on 1? (iv) hav xatly two 1 s? (v) hav at last on 1? (vi) ra th sam from ithr n (.g. 1010, but not 1100)? 9. Eah usr on a omputr systm has a passwor whih is four to six haratrs long, whr ah haratr is an uppras lttr or a igit How many passwors ar thr if ah passwor must ontain both lttrs an igits?

2 10. Th lttrs ABCDEF ar to b us to form strings of lngth 3. (i) How many strings an b form if w allow rptitions? (ii) How many strings an b form if w o not allow rptitions? (iii) How many strings bgin with A, allowing rptitions? (iv) How many strings bgin with A if rptitions ar not allow? (v) How many strings o not ontain A if rptitions ar not allow? (vi) How many strings ontain th lttr A, allowing rptitions? (vii) How many strings ontain th lttr A if rptitions ar not allow? 11. A six prson ommitt ompos of Aoif, Barry, Ciara, Dlan, Eoin an Fiona is to slt a hairprson, srtary an trasurr. (i) How many sltions ar thr in whih nithr Barry nor Fiona is an offir? (ii) How many sltions ar thr in whih both Barry an Fiona ar offirs? (iii) How many sltions ar thr in whih ithr Dlan is hairprson or h is not an offir? (iv) How many sltions ar thr in whih Barry is ithr hairprson or trasurr? 12. How many strings an b form by orring th lttrs ABCDE: (i) ontaining th substring ACE? (ii) ontaining th lttrs A, C an E togthr in any orr? (iii) ontaining ithr th substring AE or th substring EA? (iv) ontaining nithr of th substrings AB, CD? (v) suh that A appars bfor C an C appars bfor E? 13. How many trms ar thr in th xpansion of (x+y)(a+b+)(+f +g)(h+i)? 14. In how many ways an 6 popl b arrang aroun a irular tabl in ah of th following ass? (i) An arrangmnt onsists in hoosing ah prsons s nighbors. Th atual sats on t mattr. (ii) Thr ar 3 womn an 3 mn an thy n to b arrang so that womn an mn altrnat. Again, ompany, not th atual sating, mattrs. 15. A library has just riv 4 iffrnt art history books, 6 iffrnt Irish languag books an 5 iffrnt molular biology books. (i) In how many ways an ths books b arrang on a shlf? (ii) In how many ways an ths books b arrang on a shlf if all th molular biology books ar to b group togthr? (iii) In how many ways an ths books b arrang on a shlf if all books of th sam isiplin ar group togthr?

3 16. Th Irish Lotto rquirs a partiipant to hoos six numbrs from among 45 (thir orr osn t mattr). In how many ways an this b on? 17. A rtain lub onsists of six mn an svn womn. (i) In how many ways an w slt a ommitt of fiv popl? (ii) In how many ways an w slt a ommitt of four popl that inlus at last on woman? (iii) In how many ways an w slt a ommitt of four popl that has rprsntation of both sxs? 18. A brig han onsists of 13 ars takn from a stanar pak of 52 ars. (i) How many brig hans ar thr? (ii) How many brig hans ar thr with all ars of th sam suit? (iii) How many brig hans ontain xatly two suits? (iv) How many brig hans ontain all four as? (v) How many brig hans ontain fiv ars of on suit, four of anothr suit, thr of anothr suit an on of anothr suit? 19. How many routs ar thr from th lowr-lft ornr of an m n gri to th upprright ornr if w ar rstrit to travlling only right or upwar to th nxt vrtx? How many of ths routs avoi th point (2,2)? 20. How many strings an b form in ah as by orring th givn lttrs: (i) GUIDE (ii) SCHOOL (iii) SALESPERSONS (iv) SALESPERSONS if no two S s ar onsutiv (v) SALESPERSONS if all four S s ar onsutiv (vi) SALESPERSONS if xatly thr S s ar onsutiv (vii) SALESPERSONS if thy ontain two pairs of two onsutiv S s (viii) SALESPERSONS if thy ontain xatly on pair of two onsutiv S s 21. DNA squns ar strings ma up of th lttrs A, C, G an T. How many strings of lngth 30 ar thr with: (i) 10 A s, 5 C s, 12 G s an 3 T s? (ii) qual numbrs of A s an T s, an qual numbrs of C s an G s? (iii) twi as many A s as C s, an thr tims as many G s as T s? (iv) 10 A s, 5 C s, 12 G s an 3 T s, if no two A s ar to appar onsutivly? (Hint: first mak a squn of C s, G s an T s, thn pla th A s in spas in btwn). 22. Consir pils ofr, bluangrnballs(ahpilontains atlast 10balls):

4 (i) How many ways an 10 balls b slt? (ii) How many ways an 10 balls b slt if at last on r ball must b slt? (iii) How many ways an 10 balls b slt if at last on r ball, at last two blu balls an at last thr grn balls must b slt? (iv) How many ways an 10 balls b slt if xatly on r ball an at last on blu ball must b slt? (v) How many ways an 10 balls b slt if twi as many r balls as grn balls must b slt? 23. Fin th numbr of intgr solutions to th quation x 1 +x 2 +x 3 = 15 subjt to th givn onitions: (i) x 1 0, x 2 0, x 3 0 (ii) x 1 1, x 2 1, x 3 1 (iii) x 1 0, x 2 > 0, x 3 = 2 (iv) 0 x 1 6, x 2 0, x In how many ways an 15 intial appls b istribut among 6 stunts? 25. Show that for any intgrs n 1,M 0, th numbr of nonngativ intgr solutions to th inquality x 1 + +x n M is C(M +n,n). 26. Thr fair, stanar six-fa i of iffrnt olors ar roll. In how many ways an th i b roll suh that th sum of th numbrs roll is: (i) 10? (ii) 15? 27. Fin th offiint of th givn trm whn th xprssion is xpan: (i) x 4 y 7 ; (x+y) 11 (ii) s 6 t 6 ; (2s t) 12 (iii) x 2 y 3 z 5 ; (x+y +z) 10 (iv) w 2 x 3 y 2 z 5 ; (2w+x+3y +z) 12 (v) a 2 x 3 ; (a+x+) 2 (a+x+) 3 (vi) a 2 x 3 ; (a+ax+x)(a+x) Evaluat th following sums: (i) (iv) (vii) (x) 3 (2j +1) (ii) 4 C(4,j) 5 C(5, i) i=3 3 ( 1) j C(5,j) (v) (viii) (xi) (2j +1) (iii) 2 j C(5,j) 2 C(5,i) i=0 2 C(5, 2j) (vi) (ix) (xii) 7 C(7, j) 7 C(7, i) i=4 2 C(5,2j +1) Do you noti any pattrns? Can you xplain thm? 29. Us th intity C(n+1,k) = C(n,k 1) + C(n,k), vali for 1 k n 1, an inution to prov th Binomial Thorm.

5 30. (a) Lt m,n 1 b intgrs an r an intgr suh that r m an r n. By onsiring ways of onstruting r-lmnt substs of an (m + n)-lmnt st, show that r ( )( ) ( ) m n m+n = k r k r k=0 (b) Show that for all intgrs n 1, k=0 ( ) 2 n = k ( ) 2n. n 31. Fin th sums n, (n 1)n, an n 2. [Hint: what ar C(n,1) an C(n,2)? Apply ths to an intity prov in th lturs.] 32. Prov that n2 n 1 = kc(n, k). [Hint: us th Binomial Thorm an alulus. k=1 Altrnativly, ount in how many way on an hoos a ommitt with a hairprson from among n popl.] 33. Giv two proofs that for any 1 k n w hav kc(n,k) = nc(n 1,k 1), on proof bing algbrai, th othr ombinatorial (hint: onsir hoosing a k lmnt subst with a istinguish lmnt from an n lmnt st). 34. Us inution to prov th following: (i) i 2 = 1 n(n+1)(2n+1) for vry n 1 6 (ii) i=1 i 3 = 1 4 n2 (n+1) 2 for vry n 1 i=1 (iii) n 3 +2n is a multipl of 3 for vry n 1 (iv) 3 n < n! for vry n > 6 (v) 11 n 6 is ivisibl by 5 for vry n Dtrmin whih amounts of postag an b pai using just 5 an 6 nt stamps. Prov your answr using inution. 36. Lt a b th squn fin by a n = n 2 3n+3 for n 1. Calulat th following: (i) 4 i=1 a i (ii) 5 ja j j=3 (iii) 4 i=4 a i (iv) 6 k=1 a 2 k+1 (v) 3 i=1 a i (vi) 4 x=3 a x 37. (a) Lt a = (a n ) n=0 b a squn. Simplify N n=1 (a n a n 1 ). (b) By writing 1/k(k +1) = 1/k 1/(k +1), valuat 100 k=11/k(k +1). () Using 2k 1 = k 2 (k 1) 2, valuat n k=1 (2k 1), an hn valuat n k=1 k by an altrnativ mtho to that us in th ltur. 38. Fin th first fiv trms of th squn fin by ah of ths rurrn rlations

6 an initial onitions: (i) a n = 2a n 1, a 0 = 1 (ii) b n = b n 1 b n 2, b 0 = 2,b 1 = 1 (iii) t n = nt n 1 +t 2 n 2, t 0 = 1,t 1 = 0 (iv) C n = C k 1 C n k, C 0 = For ah of th following squns fin a rurrn rlation an initial onitions that gnrat a squn that bgins with th givn trms: (i) 3,7,11,15,... (ii) 3,6,9,15,24,39,... (iii) 1,1,2,4,16,128,4096, Th Fibonai squn is fin by th rurrn rlation: k=1 f 0 = 1, f 1 = 1, f n = f n 1 +f n 2, n 2. So f 2 = 2, f 3 = 3, f 4 = 5, t. (a) Us inution to prov th following: (i) f k = f n+2 1, n 0 k=0 (ii) f 2 n = f n 1f n+1 +( 1) n, n 1 (iii) fk 2 = f n f n+1, n 0 k=0 (iv) f n > ( 3 2) n, n 5 (b) Fin an xpliit xprssion for f n by solving th rurrn rlation. 41. Th squn (g i ) i=0 is fin by th rurrn rlation g n = g n 1 +g n 2 +1, n 2, an g 0 = 1, g 1 = 1. Show using inution, or othrwis, that g n = 2f n 1 for ah n 0, whr f n is th Fibonai squn from th prvious qustion. 42. Solv th following rurrn rlations, with th givn initial onitions: (i) a n = 3a n 1, with a 0 = 2. (ii) a n = 2na n 1, with a 0 = 1. (iii) 6a n 1 9a n 2, with a 0 = 1, a 1 = 3. (iv) a n = 2 n a n 1, a 0 = 1. (v) a n = 6a n 1 8a n 2, a 0 = 1, a 1 = 0. (vi) a n = 7a n 1 10a n 2, a 0 = 5, a 1 = 16. (vii) a n = 2a n 1 +8a n 2, a 0 = 4, a 1 = 10. (viii) 2a n = 7a n 1 3a n 2, a 0 = a 1 = 1. (ix) a n = 2a n 1 2a n 2, a 0 = 2, a 1 = 6. (x) an = a n 1 +2 a n 2, a 0 = a 1 = A ar alr wants to isplay motoryls an ars in a row of n spas. Eah yl rquirs on spa an ah ar ns two. (All th motoryls look th sam an th sam is tru for all th ars). Fin an solv a rurrn rlation for th numbr of iffrnt isplays possibl.

7 44. Fin th numbr of ways in whih a 2 n strip an b fill with tils of sizs 1 2 an Fin th numbr of ways in whih a 2 n strip an b fill with tils of sizs 1 1 an 1 2, suh that no pairs of 1 2 tils in th following positions ar to b foun in th pattrn: 46. Thirtn popl hav first nams Darrn, Emma an Maira, an surnams Dwyr, Man, O Connor an Shhan. Show that at last two popl hav th sam nam. 47. An invntory onsists of 115 itms, ah mark availabl or unavailabl. Thr ar 60 availabl itms. Show that thr ar at last two itms in th list xatly four apart. 48. Suppos a party has six popl. Consir any two of thm: thy might b mting for th first tim, whih as w will all thm mutual strangrs; or thy might hav mt bfor, whih as w will all thm mutual aquaintans. Show that ithr at last thr of thm ar (pairwis) mutual strangrs or at last thr of thm ar (pairwis) mutual aquaintans. 49. A 3 7 rtangular boar is ivi into 21 squars ah of whih is olour r or grn. Prov that th boar ontains a rtangl (of minimum hight an with 2) whos four ornr squars ar all olour r or grn. 50. Showthatvryintgrnhasamultiplonsistingonlyof0 san1 s. (Hint: onsir what happns whn you ivi th n+1 numbrs 1, 11, 111,..., } 11 1 {{} by n.) n A oin is toss an a i is roll. (i) List th mmbrs of th sampl spa. (ii) List th mmbrs of th vnt Th oin oms up has, an th i is an vn numbr. (iii) Assuming th oin an i ar fair, what is th probability that th oin oms up tails, an th i a numbr lss than 4? 52. Whn typing a rport, a typist maks i rrors with probability p i, (i 0), whr p 0 = 0.20, p 1 = 0.35, p 2 = 0.25 an p 3 = What is th probability that th typist maks (i) at most two rrors; (ii) at last four rrors? 53. Two fair i ar thrown. Fin th probability that (i) at last on of th i oms up as 5; (ii) at last on of th i oms up vn;

8 (iii) at last on of th i oms up ithr 3 or 5; (iv) at last on of th i oms up ithr 3 or vn. Romput ah part with at last hang to xatly. 54. Whih of th following is mor probabl: (i) gtting at last on 6 with four throws of a i, or (ii) gtting at last on oubl 6 with twnty-four throws of two i? Assum that th i ar fair. (This is somtims all Méré s paraox, aftr th profssional gamblr Chvalir Méré who bliv ths two vnts to hav qual probability.) 55. Four miroprossors ar ranomly slt from a bath of 100, among whih 10 ar ftiv. Fin: (i) Th probability of obtaining no ftiv miroprossors. (ii) Th probability of obtaining xatly on ftiv miroprossor. (iii) Th probability of obtaining at last on ftiv miroprossor. 56. An unprpar stunt taks a tst onsisting of 10 tru-or-fals qustions, an so gusss th answr to ah qustion, with an qual liklihoo of gtting th answr right or wrong. (i) What is th probability that th stunt answrs vry qustion orrtly? (ii) What is th probability that th stunt answrs vry qustion inorrtly? (iii) What is th probability that th stunt answrs xatly on qustion orrtly? (iv) What is th probability that th stunt answrs xatly fiv qustions orrtly? 57. A han of 5 ars is alt from a pak of 52. Fin th probability that th han ontains i kings, for i = 0,1,2,3 an 4. What is th sum of ths fiv probabilitis? 58. Loa i ar rat so that 2, 4 an 6 ar qually likly to appar, an 1, 3 an 5 ar qually likly to appar, but 1 is thr tims mor likly to appar than 2. (i) On i is roll. What is th probability of gtting a 5? (ii) On i is roll. What is th probability of gtting an vn numbr? (iii) On i is roll. What is th probability of not gtting a 5? (iv) Two i ar roll. What is th probability of gtting oubls? (v) Two i ar roll. What is th probability of gtting a sum of 7? (vi) Two i ar roll. What is th probability of gtting a sum of 6 givn that at last on i shows 2?

9 59. Show, using inution, that for any squn of vnts A 1,A 2,A 3,... w hav P(A 1 A 2 A n ) P(A i ). i=1 60. Suppos thata, B anc arvnts inasampl spas. UsthformulaP(E F) = P(E)+P(F) P(E F), with E = A B an F = C, to show that P(A B C) = P(A)+P(B)+P(C) P(A B) P(B C) P(A C)+P(A B C) 61. Thr i ar thrown. Fin th probability that at last on i oms up 3. [Hint: on mtho involvs using th rsult from th prvious qustion. Othr rasonabl mthos also xist.] Fin th probability that at last two i om up Show that P(A 1 A 2 A 3 ) = P(A 3 A 1 A 2 )P(A 2 A 1 )P(A 1 ) for any possibl hoi of vnts A 1, A 2 an A 3 that satisfy P(A 1 A 2 ) > An urn ontains r r balls an b blu balls (at last 3 of ah). Balls ar rawn from th urn without rplamnt. Fin th probability that (i) th first ball rawn is r; (ii) both th first an son balls rawn ar r; (iii) th first, son an thir balls rawn ar all r; (iv) th first ball is r an th son is blu; (v) th first ball is blu an th son is r; (vi) th son ball is blu. 64. In a fatory prouing ompat iss, th total quantity of ftiv itms foun in a givn wk is 14%. It is suspt that th majority of ths om from two mahins, X an Y. An insption shows that 8% of th output from X an 4% of th output from Y is ftiv. Furthrmor, 11% of th ovrall output am from X an 23% from Y. A CD is hosn at ranom an foun to b ftiv. What is th probability it was ma by mahin X or Y? 65. A fair oin is toss 10 tims. Fin th probability that has oms up xatly fiv tims. Fin th probability that has oms up at most fiv tims. 66. A oin is toss 10 tims. Fin th probability that has oms up at most four tims, if th probability that w gt has on any givn toss is 1/ JoanSinatakatst. ThprobabilitythatJopasssis0.75,anthprobability that Sina passs is 0.8. Assum that th vnts Jo passs an Sina passs ar inpnnt. Calulat th following: (i) Th probability that Jo os not pass. (ii) Th probability that both pass. (iii) Th probability that both fail. (iv) Th probability that at last on of Jo or Sina passs.

10 68. A oin is toss rpatly. At ah toss th probability of has oming up is p. (i) Fin th probability that th first ha oms on th first toss; (ii) Fin th probability that th first ha oms on th son toss; (iii) Fin th probability that th first ha oms on th thir toss; (iv) Fin th probability that th first ha oms on th ith toss. Philosophial qustion: is it possibl that you nvr gt a ha? 69. Suppos that A an B ar inpnnt vnts. Show that A an B ar inpnnt; that A an B ar inpnnt; an that A an B ar inpnnt. 70. (a) Suppos S is a sampl spa an that thr ar vnts A 1,A 2,...,A n that partition S. That is, ah outom from S blongs to xatly on of th vnts A i. Lt B b any vnt. Prov Bays Thorm: P(A j B) = P(B A j)p(a j ) n i=1 P(B A i)p(a i ) for ah 1 j n (b) Dlan, San an Louis work in a tlmarkting ntr. Th following tabl shows th prntag of alls ah allr maks an th prntag of prsons who ar annoy an hang up on ah allr: Dlan San Louis % of alls % of hang-ups Lt D not th vnt Dlan ma th all, S th vnt San ma th all, L th vnt Louis ma th all an H th vnt th allr hung up. Fin P(D), P(S), P(L), P(H D), P(H S), P(H L), P(D H), P(S H), P(L H) an P(H). 71. In a variant of th Monty Hall problm, a ontstant is ask to hoos on of four oors; bhin thr of th oors thr ar goats, an bhin th fourth oor is a ar. Aftr th ontstant hooss a oor, th host piks on of th othr thr oors, on that his a goat, an opns it. Th host thn givs th ontstant th option of abanoning th hosn oor in favour of on of th two still-los, unhosn oors. For ah of th following stratgis, what is th probability of winning th ar? (i) Stay with th initial hoi. (ii) Choos ranomly btwn th oor first hosn an th two still-los oors. (iii) Swith to a ranom hoi of on of th two still-los oors? 72. Th intrstion graph of a olltion of sts A 1, A 2,..., A n is th graph that has a vrtx for ah of ths sts an has an g onnting th vrtis rprsnting two sts if ths sts hav a nonmpty intrstion. Construt th intrstion graph of th following olltions of sts: (i) A 1 = {0,2,4,6,8}, A 2 = {0,1,2,3,4}, A 3 = {1,3,5,7,9}, A 4 = {5,6,7,8,9}, A 5 = {0,1,8,9} (ii) A 1 = {..., 4, 3, 2, 1,0}, A 2 = {..., 2, 1,0,1,2,...} = Z, A 3 = {..., 6, 4, 2,0,2,4,6,...}, A 4 = {..., 5, 3, 1,1,3,5,...}, A 5 = {..., 6, 3,0,3,6,...}

11 (iii) A 1 = {x : x < 0}, A 2 = {x : 1 < x < 0}, A 3 = {x : 0 < x < 1}, A 4 = {x : 1 < x < 1}, A 5 = {x : x > 1}, A 6 = R 73. Draw th aquaintanship graph that rprsnts that Ptr an Lina, Ptr an Mihll, Ptr an Sarah, Ptr an Ciara, Ptr an Aoif, Brian an Lina, Brian an Eoin, Lina an Mihll, Ciara an Mihll, an Ciara an Aoif know ah othr, but that non of th othr pairs of popl list know ah othr. (That is, two popl ar ajant if thy ar aquaintans.) 74. Fin th numbr of vrtis, th numbr of gs, an th gr of ah of vrtx in th givn graphs. Fin th sum of th grs of th vrtis an vrify that it quals twi th numbr of gs. a a b (i) (ii) b f f 75. Can a simpl graph xist with 15 vrtis ah of gr 5? 76. Show that th sum, ovr th st of popl at a party, of th numbr of popl a prson has shakn hans with, is vn. Assum that no-on shaks hans with thmslvs. 77. Draw th following graphs: (i) K 7 (ii) K 1,8 (iii) K 4,4 (iv) Q Dtrmin whih of th following graphs ar bipartit. a b a a b (i) (ii) b (iii) f 79. Dtrmin thos valus of n an m for whih th graphs K n, K m,n an Q n ar bipartit. 80. How many gs an how many vrtis ar thr in th graphs K n, K m,n an Q n? 81. How many gs os a graph hav if its vrtis hav gr 4,3,3,2,2? Draw suh a graph. 82. Dos thr xist a graph with six vrtis of th givn grs? If so, raw suh a graph: (i) 0,1,2,3,4,5 (ii) 1,2,3,4,5,6 (iii) 2,2,2,2,2,2 (iv) 3,2,3,2,3,2 (v) 3,2,2,2,2,3 (vi) 1,1,1,1,1,1 (vii) 3,3,3,3,3,5 (viii) 1,2,3,4,5,5 83. Lt G b a graph with v vrtis an gs. Lt M b th maximum gr of

12 th vrtis of G, an lt m b th minimum gr of th vrtis of G. Show that m 2/v M. 84. Fin th numbr of paths of lngth n btwn any two ajant vrtis in K 3,3 for n = 2,3,4 an 5. Fin th numbr of paths of ths lngths btwn two nonajant vrtis. 85. Dtrmin whih of th following graphs ontain Eulr iruits, an onstrut thm whn thy xist. If no Eulr iruit xists, trmin whthr th graph has an Eulr path, an onstrut it if it xists. a a b (i) b (ii) f a g h i (iii) 0 1 b f 86. For whih valus of m an n os th omplt bipartit graph K m,n hav an Eulr iruit? An Eulr path? 87. Dtrmin whih of th following graphs hav a Hamilton iruit, an fin it if it xists. If it os not xist, xplain why not. a a b (i) (ii) b f a a b (iii) (iv) b f

13 88. Fin th lngth of th shortst path btwn a an h, btwn a an, btwn a an f, btwn an f, an btwn b an h. In ah as giv a path that is of this minimum lngth. 4 b f a h g Explain how to fin a path with th last numbr of gs btwn two vrtis in a graph by onsiring it as th shortst path problm in a wight graph. 90. Solv th Travlling Salsman Problm for th following graph by fining th total wight of all Hamilton iruits. 7 a b Fin th shortst ommon suprstring whih has th following lngth 3 substrings: S = {AAC,ACC,ACG,CCA,CCG,CGC,CGT,GCC,GTA,TAC}. Solv this problm by fining an Eulr path using th strings in S as labls of gs. Is your solution uniqu? 92. Fin th shortst ommon suprstring whih has th following lngth 3 substrings: S = {AGT,AAA,ACT,AAC,CTT,GTA,TTT,TAA}. Solv this problm using two iffrnt approahs: by fining a Hamilton path using th strings in S as th vrtis, an by fining an Eulr path using th strings in S as labls of gs. (For th son approah you will hav to al with igraphs that hav loops.) 93. Fin th shortst ommon suprstring for all 8 = bit binary strings. Rpat th task for all 16 4-bit binary strings. 94. Fin th shortst ommon suprstring for th following DNA fragmnts: Is th solution uniqu? S = {ATTAC, CAGG, CGTA, TATCA}.

Solutions to Homework 5

Solutions to Homework 5 Solutions to Homwork 5 Pro. Silvia Frnánz Disrt Mathmatis Math 53A, Fall 2008. [3.4 #] (a) Thr ar x olor hois or vrtx an x or ah o th othr thr vrtis. So th hromati polynomial is P (G, x) =x (x ) 3. ()

More information

Math 61 : Discrete Structures Final Exam Instructor: Ciprian Manolescu. You have 180 minutes.

Math 61 : Discrete Structures Final Exam Instructor: Ciprian Manolescu. You have 180 minutes. Nm: UCA ID Numr: Stion lttr: th 61 : Disrt Struturs Finl Exm Instrutor: Ciprin nolsu You hv 180 minuts. No ooks, nots or lultors r llow. Do not us your own srth ppr. 1. (2 points h) Tru/Fls: Cirl th right

More information

MA1506 Tutorial 2 Solutions. Question 1. (1a) 1 ) y x. e x. 1 exp (in general, Integrating factor is. ye dx. So ) (1b) e e. e c.

MA1506 Tutorial 2 Solutions. Question 1. (1a) 1 ) y x. e x. 1 exp (in general, Integrating factor is. ye dx. So ) (1b) e e. e c. MA56 utorial Solutions Qustion a Intgrating fator is ln p p in gnral, multipl b p So b ln p p sin his kin is all a Brnoulli quation -- st Sin w fin Y, Y Y, Y Y p Qustion Dfin v / hn our quation is v μ

More information

Evans, Lipson, Wallace, Greenwood

Evans, Lipson, Wallace, Greenwood Camrig Snior Mathmatial Mthos AC/VCE Units 1& Chaptr Quaratis: Skillsht C 1 Solv ah o th ollowing or x: a (x )(x + 1) = 0 x(5x 1) = 0 x(1 x) = 0 x = 9x Solv ah o th ollowing or x: a x + x 10 = 0 x 8x +

More information

cycle that does not cross any edges (including its own), then it has at least

cycle that does not cross any edges (including its own), then it has at least W prov th following thorm: Thorm If a K n is drawn in th plan in such a way that it has a hamiltonian cycl that dos not cross any dgs (including its own, thn it has at last n ( 4 48 π + O(n crossings Th

More information

Steinberg s Conjecture is false

Steinberg s Conjecture is false Stinrg s Conjtur is als arxiv:1604.05108v2 [math.co] 19 Apr 2016 Vinnt Cohn-Aa Mihal Hig Danil Král Zhntao Li Estan Salgao Astrat Stinrg onjtur in 1976 that vry planar graph with no yls o lngth our or

More information

CS553 Lecture Register Allocation I 3

CS553 Lecture Register Allocation I 3 Low-Lvl Issus Last ltur Intrproural analysis Toay Start low-lvl issus Rgistr alloation Latr Mor rgistr alloation Instrution shuling CS553 Ltur Rgistr Alloation I 2 Rgistr Alloation Prolm Assign an unoun

More information

Week 3: Connected Subgraphs

Week 3: Connected Subgraphs Wk 3: Connctd Subgraphs Sptmbr 19, 2016 1 Connctd Graphs Path, Distanc: A path from a vrtx x to a vrtx y in a graph G is rfrrd to an xy-path. Lt X, Y V (G). An (X, Y )-path is an xy-path with x X and y

More information

Homework #3. 1 x. dx. It therefore follows that a sum of the

Homework #3. 1 x. dx. It therefore follows that a sum of the Danil Cannon CS 62 / Luan March 5, 2009 Homwork # 1. Th natural logarithm is dfind by ln n = n 1 dx. It thrfor follows that a sum of th 1 x sam addnd ovr th sam intrval should b both asymptotically uppr-

More information

Module graph.py. 1 Introduction. 2 Graph basics. 3 Module graph.py. 3.1 Objects. CS 231 Naomi Nishimura

Module graph.py. 1 Introduction. 2 Graph basics. 3 Module graph.py. 3.1 Objects. CS 231 Naomi Nishimura Moul grph.py CS 231 Nomi Nishimur 1 Introution Just lik th Python list n th Python itionry provi wys of storing, ssing, n moifying t, grph n viw s wy of storing, ssing, n moifying t. Bus Python os not

More information

u x v x dx u x v x v x u x dx d u x v x u x v x dx u x v x dx Integration by Parts Formula

u x v x dx u x v x v x u x dx d u x v x u x v x dx u x v x dx Integration by Parts Formula 7. Intgration by Parts Each drivativ formula givs ris to a corrsponding intgral formula, as w v sn many tims. Th drivativ product rul yilds a vry usful intgration tchniqu calld intgration by parts. Starting

More information

First order differential equation Linear equation; Method of integrating factors

First order differential equation Linear equation; Method of integrating factors First orr iffrntial quation Linar quation; Mtho of intgrating factors Exampl 1: Rwrit th lft han si as th rivativ of th prouct of y an som function by prouct rul irctly. Solving th first orr iffrntial

More information

(2) If we multiplied a row of B by λ, then the value is also multiplied by λ(here lambda could be 0). namely

(2) If we multiplied a row of B by λ, then the value is also multiplied by λ(here lambda could be 0). namely . DETERMINANT.. Dtrminnt. Introution:I you think row vtor o mtrix s oorint o vtors in sp, thn th gomtri mning o th rnk o th mtrix is th imnsion o th prlllppi spnn y thm. But w r not only r out th imnsion,

More information

b. How many ternary words of length 23 with eight 0 s, nine 1 s and six 2 s?

b. How many ternary words of length 23 with eight 0 s, nine 1 s and six 2 s? MATH 3012 Finl Exm, My 4, 2006, WTT Stunt Nm n ID Numr 1. All our prts o this prolm r onrn with trnry strings o lngth n, i.., wors o lngth n with lttrs rom th lpht {0, 1, 2}.. How mny trnry wors o lngth

More information

Junction Tree Algorithm 1. David Barber

Junction Tree Algorithm 1. David Barber Juntion Tr Algorithm 1 David Barbr Univrsity Collg London 1 Ths slids aompany th book Baysian Rasoning and Mahin Larning. Th book and dmos an b downloadd from www.s.ul.a.uk/staff/d.barbr/brml. Fdbak and

More information

The second condition says that a node α of the tree has exactly n children if the arity of its label is n.

The second condition says that a node α of the tree has exactly n children if the arity of its label is n. CS 6110 S14 Hanout 2 Proof of Conflunc 27 January 2014 In this supplmntary lctur w prov that th λ-calculus is conflunt. This is rsult is u to lonzo Church (1903 1995) an J. arkly Rossr (1907 1989) an is

More information

First derivative analysis

First derivative analysis Robrto s Nots on Dirntial Calculus Chaptr 8: Graphical analysis Sction First drivativ analysis What you nd to know alrady: How to us drivativs to idntiy th critical valus o a unction and its trm points

More information

Section 6.1. Question: 2. Let H be a subgroup of a group G. Then H operates on G by left multiplication. Describe the orbits for this operation.

Section 6.1. Question: 2. Let H be a subgroup of a group G. Then H operates on G by left multiplication. Describe the orbits for this operation. MAT 444 H Barclo Spring 004 Homwork 6 Solutions Sction 6 Lt H b a subgroup of a group G Thn H oprats on G by lft multiplication Dscrib th orbits for this opration Th orbits of G ar th right costs of H

More information

The University of Sydney MATH2969/2069. Graph Theory Tutorial 5 (Week 12) Solutions 2008

The University of Sydney MATH2969/2069. Graph Theory Tutorial 5 (Week 12) Solutions 2008 Th Univrsity o Syny MATH2969/2069 Grph Thory Tutoril 5 (Wk 12) Solutions 2008 1. (i) Lt G th isonnt plnr grph shown. Drw its ul G, n th ul o th ul (G ). (ii) Show tht i G is isonnt plnr grph, thn G is

More information

Paths. Connectivity. Euler and Hamilton Paths. Planar graphs.

Paths. Connectivity. Euler and Hamilton Paths. Planar graphs. Pths.. Eulr n Hmilton Pths.. Pth D. A pth rom s to t is squn o gs {x 0, x 1 }, {x 1, x 2 },... {x n 1, x n }, whr x 0 = s, n x n = t. D. Th lngth o pth is th numr o gs in it. {, } {, } {, } {, } {, } {,

More information

Calculus II (MAC )

Calculus II (MAC ) Calculus II (MAC232-2) Tst 2 (25/6/25) Nam (PRINT): Plas show your work. An answr with no work rcivs no crdit. You may us th back of a pag if you nd mor spac for a problm. You may not us any calculators.

More information

Examples and applications on SSSP and MST

Examples and applications on SSSP and MST Exampls an applications on SSSP an MST Dan (Doris) H & Junhao Gan ITEE Univrsity of Qunslan COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST Dijkstra s Algorithm Th algorithm solvs

More information

12/3/12. Outline. Part 10. Graphs. Circuits. Euler paths/circuits. Euler s bridge problem (Bridges of Konigsberg Problem)

12/3/12. Outline. Part 10. Graphs. Circuits. Euler paths/circuits. Euler s bridge problem (Bridges of Konigsberg Problem) 12/3/12 Outlin Prt 10. Grphs CS 200 Algorithms n Dt Struturs Introution Trminology Implmnting Grphs Grph Trvrsls Topologil Sorting Shortst Pths Spnning Trs Minimum Spnning Trs Ciruits 1 Ciruits Cyl 2 Eulr

More information

5/9/13. Part 10. Graphs. Outline. Circuits. Introduction Terminology Implementing Graphs

5/9/13. Part 10. Graphs. Outline. Circuits. Introduction Terminology Implementing Graphs Prt 10. Grphs CS 200 Algorithms n Dt Struturs 1 Introution Trminology Implmnting Grphs Outlin Grph Trvrsls Topologil Sorting Shortst Pths Spnning Trs Minimum Spnning Trs Ciruits 2 Ciruits Cyl A spil yl

More information

Objective Mathematics

Objective Mathematics x. Lt 'P' b a point on th curv y and tangnt x drawn at P to th curv has gratst slop in magnitud, thn point 'P' is,, (0, 0),. Th quation of common tangnt to th curvs y = 6 x x and xy = x + is : x y = 8

More information

CS 361 Meeting 12 10/3/18

CS 361 Meeting 12 10/3/18 CS 36 Mting 2 /3/8 Announcmnts. Homwork 4 is du Friday. If Friday is Mountain Day, homwork should b turnd in at my offic or th dpartmnt offic bfor 4. 2. Homwork 5 will b availabl ovr th wknd. 3. Our midtrm

More information

CSC Design and Analysis of Algorithms. Example: Change-Making Problem

CSC Design and Analysis of Algorithms. Example: Change-Making Problem CSC 801- Dsign n Anlysis of Algorithms Ltur 11 Gry Thniqu Exmpl: Chng-Mking Prolm Givn unlimit mounts of oins of nomintions 1 > > m, giv hng for mount n with th lst numr of oins Exmpl: 1 = 25, 2 =10, =

More information

1 Random graphs with specified degrees

1 Random graphs with specified degrees 1 Ranom graphs with spii grs Rall that a vrtx s gr unr th ranom graph mol G(n, p) ollows a Poisson istribution in th spars rgim, whil most ral-worl graphs xhibit havy-tail gr istributions. This irn is

More information

ECE602 Exam 1 April 5, You must show ALL of your work for full credit.

ECE602 Exam 1 April 5, You must show ALL of your work for full credit. ECE62 Exam April 5, 27 Nam: Solution Scor: / This xam is closd-book. You must show ALL of your work for full crdit. Plas rad th qustions carfully. Plas chck your answrs carfully. Calculators may NOT b

More information

Additional Math (4047) Paper 2 (100 marks) y x. 2 d. d d

Additional Math (4047) Paper 2 (100 marks) y x. 2 d. d d Aitional Math (07) Prpar b Mr Ang, Nov 07 Fin th valu of th constant k for which is a solution of th quation k. [7] Givn that, Givn that k, Thrfor, k Topic : Papr (00 marks) Tim : hours 0 mins Nam : Aitional

More information

10. EXTENDING TRACTABILITY

10. EXTENDING TRACTABILITY Coping with NP-compltnss 0. EXTENDING TRACTABILITY ining small vrtx covrs solving NP-har problms on trs circular arc covrings vrtx covr in bipartit graphs Q. Suppos I n to solv an NP-complt problm. What

More information

Multiple Short Term Infusion Homework # 5 PHA 5127

Multiple Short Term Infusion Homework # 5 PHA 5127 Multipl Short rm Infusion Homwork # 5 PHA 527 A rug is aministr as a short trm infusion. h avrag pharmacokintic paramtrs for this rug ar: k 0.40 hr - V 28 L his rug follows a on-compartmnt boy mol. A 300

More information

Case Study Vancomycin Answers Provided by Jeffrey Stark, Graduate Student

Case Study Vancomycin Answers Provided by Jeffrey Stark, Graduate Student Cas Stuy Vancomycin Answrs Provi by Jffry Stark, Grauat Stunt h antibiotic Vancomycin is liminat almost ntirly by glomrular filtration. For a patint with normal rnal function, th half-lif is about 6 hours.

More information

Graph Isomorphism. Graphs - II. Cayley s Formula. Planar Graphs. Outline. Is K 5 planar? The number of labeled trees on n nodes is n n-2

Graph Isomorphism. Graphs - II. Cayley s Formula. Planar Graphs. Outline. Is K 5 planar? The number of labeled trees on n nodes is n n-2 Grt Thortil Is In Computr Sin Vitor Amhik CS 15-251 Ltur 9 Grphs - II Crngi Mllon Univrsity Grph Isomorphism finition. Two simpl grphs G n H r isomorphi G H if thr is vrtx ijtion V H ->V G tht prsrvs jny

More information

0.1. Exercise 1: the distances between four points in a graph

0.1. Exercise 1: the distances between four points in a graph Mth 707 Spring 2017 (Drij Grinrg): mitrm 3 pg 1 Mth 707 Spring 2017 (Drij Grinrg): mitrm 3 u: W, 3 My 2017, in lss or y mil (grinr@umn.u) or lss S th wsit or rlvnt mtril. Rsults provn in th nots, or in

More information

AP Calculus BC Problem Drill 16: Indeterminate Forms, L Hopital s Rule, & Improper Intergals

AP Calculus BC Problem Drill 16: Indeterminate Forms, L Hopital s Rule, & Improper Intergals AP Calulus BC Problm Drill 6: Indtrminat Forms, L Hopital s Rul, & Impropr Intrgals Qustion No. of Instrutions: () Rad th problm and answr hois arfully () Work th problms on papr as ndd () Pik th answr

More information

Numerical methods, Mixed exercise 10

Numerical methods, Mixed exercise 10 Numrial mthos, Mi ris a f ( ) 6 f ( ) 6 6 6 a = 6, b = f ( ) So. 6 b n a n 6 7.67... 6.99....67... 6.68....99... 6.667....68... To.p., th valus ar =.68, =.99, =.68, =.67. f (.6).6 6.6... f (.6).6 6.6.7...

More information

64. A Conic Section from Five Elements.

64. A Conic Section from Five Elements. . onic Sction from Fiv Elmnts. To raw a conic sction of which fiv lmnts - points an tangnts - ar known. W consir th thr cass:. Fiv points ar known.. Four points an a tangnt lin ar known.. Thr points an

More information

CS 491 G Combinatorial Optimization

CS 491 G Combinatorial Optimization CS 49 G Cobinatorial Optiization Lctur Nots Junhui Jia. Maiu Flow Probls Now lt us iscuss or tails on aiu low probls. Thor. A asibl low is aiu i an only i thr is no -augnting path. Proo: Lt P = A asibl

More information

Solutions for HW11. Exercise 34. (a) Use the recurrence relation t(g) = t(g e) + t(g/e) to count the number of spanning trees of v 1

Solutions for HW11. Exercise 34. (a) Use the recurrence relation t(g) = t(g e) + t(g/e) to count the number of spanning trees of v 1 Solutions for HW Exris. () Us th rurrn rltion t(g) = t(g ) + t(g/) to ount th numr of spnning trs of v v v u u u Rmmr to kp multipl gs!! First rrw G so tht non of th gs ross: v u v Rursing on = (v, u ):

More information

The Matrix Exponential

The Matrix Exponential Th Matrix Exponntial (with xrciss) by Dan Klain Vrsion 28928 Corrctions and commnts ar wlcom Th Matrix Exponntial For ach n n complx matrix A, dfin th xponntial of A to b th matrix () A A k I + A + k!

More information

4. (5a + b) 7 & x 1 = (3x 1)log 10 4 = log (M1) [4] d = 3 [4] T 2 = 5 + = 16 or or 16.

4. (5a + b) 7 & x 1 = (3x 1)log 10 4 = log (M1) [4] d = 3 [4] T 2 = 5 + = 16 or or 16. . 7 7 7... 7 7 (n )0 7 (M) 0(n ) 00 n (A) S ((7) 0(0)) (M) (7 00) 8897 (A). (5a b) 7 7... (5a)... (M) 7 5 5 (a b ) 5 5 a b (M)(A) So th cofficint is 75 (A) (C) [] S (7 7) (M) () 8897 (A) (C) [] 5. x.55

More information

EEO 401 Digital Signal Processing Prof. Mark Fowler

EEO 401 Digital Signal Processing Prof. Mark Fowler EEO 401 Digital Signal Procssing Prof. Mark Fowlr Dtails of th ot St #19 Rading Assignmnt: Sct. 7.1.2, 7.1.3, & 7.2 of Proakis & Manolakis Dfinition of th So Givn signal data points x[n] for n = 0,, -1

More information

N1.1 Homework Answers

N1.1 Homework Answers Camrig Essntials Mathmatis Cor 8 N. Homwork Answrs N. Homwork Answrs a i 6 ii i 0 ii 3 2 Any pairs of numrs whih satisfy th alulation. For xampl a 4 = 3 3 6 3 = 3 4 6 2 2 8 2 3 3 2 8 5 5 20 30 4 a 5 a

More information

Function Spaces. a x 3. (Letting x = 1 =)) a(0) + b + c (1) = 0. Row reducing the matrix. b 1. e 4 3. e 9. >: (x = 1 =)) a(0) + b + c (1) = 0

Function Spaces. a x 3. (Letting x = 1 =)) a(0) + b + c (1) = 0. Row reducing the matrix. b 1. e 4 3. e 9. >: (x = 1 =)) a(0) + b + c (1) = 0 unction Spacs Prrquisit: Sction 4.7, Coordinatization n this sction, w apply th tchniqus of Chaptr 4 to vctor spacs whos lmnts ar functions. Th vctor spacs P n and P ar familiar xampls of such spacs. Othr

More information

12. Traffic engineering

12. Traffic engineering lt2.ppt S-38. Introution to Tltrffi Thory Spring 200 2 Topology Pths A tlommunition ntwork onsists of nos n links Lt N not th st of nos in with n Lt J not th st of nos in with j N = {,,,,} J = {,2,3,,2}

More information

SCHUR S THEOREM REU SUMMER 2005

SCHUR S THEOREM REU SUMMER 2005 SCHUR S THEOREM REU SUMMER 2005 1. Combinatorial aroach Prhas th first rsult in th subjct blongs to I. Schur and dats back to 1916. On of his motivation was to study th local vrsion of th famous quation

More information

Mathematics 1110H Calculus I: Limits, derivatives, and Integrals Trent University, Summer 2018 Solutions to the Actual Final Examination

Mathematics 1110H Calculus I: Limits, derivatives, and Integrals Trent University, Summer 2018 Solutions to the Actual Final Examination Mathmatics H Calculus I: Limits, rivativs, an Intgrals Trnt Univrsity, Summr 8 Solutions to th Actual Final Eamination Tim-spac: 9:-: in FPHL 7. Brought to you by Stfan B lan k. Instructions: Do parts

More information

Analysis of Algorithms - Elementary graphs algorithms -

Analysis of Algorithms - Elementary graphs algorithms - Analysis of Algorithms - Elmntary graphs algorithms - Anras Ermahl MRTC (Mälaralns Ral-Tim Rsarch Cntr) anras.rmahl@mh.s Autumn 004 Graphs Graphs ar important mathmatical ntitis in computr scinc an nginring

More information

Abstract Interpretation: concrete and abstract semantics

Abstract Interpretation: concrete and abstract semantics Abstract Intrprtation: concrt and abstract smantics Concrt smantics W considr a vry tiny languag that manags arithmtic oprations on intgrs valus. Th (concrt) smantics of th languags cab b dfind by th funzcion

More information

Analysis of Algorithms - Elementary graphs algorithms -

Analysis of Algorithms - Elementary graphs algorithms - Analysis of Algorithms - Elmntary graphs algorithms - Anras Ermahl MRTC (Mälaralns Ral-Tim Rsach Cntr) anras.rmahl@mh.s Autumn 00 Graphs Graphs ar important mathmatical ntitis in computr scinc an nginring

More information

The Matrix Exponential

The Matrix Exponential Th Matrix Exponntial (with xrciss) by D. Klain Vrsion 207.0.05 Corrctions and commnts ar wlcom. Th Matrix Exponntial For ach n n complx matrix A, dfin th xponntial of A to b th matrix A A k I + A + k!

More information

Algorithmic and NP-Completeness Aspects of a Total Lict Domination Number of a Graph

Algorithmic and NP-Completeness Aspects of a Total Lict Domination Number of a Graph Intrntionl J.Mth. Comin. Vol.1(2014), 80-86 Algorithmi n NP-Compltnss Aspts of Totl Lit Domintion Numr of Grph Girish.V.R. (PES Institut of Thnology(South Cmpus), Bnglor, Krntk Stt, Ini) P.Ush (Dprtmnt

More information

MATHEMATICS (B) 2 log (D) ( 1) = where z =

MATHEMATICS (B) 2 log (D) ( 1) = where z = MATHEMATICS SECTION- I STRAIGHT OBJECTIVE TYPE This sction contains 9 multipl choic qustions numbrd to 9. Each qustion has choic (A), (B), (C) and (D), out of which ONLY-ONE is corrct. Lt I d + +, J +

More information

Topic review Topic 9: Undirected graphs and networks

Topic review Topic 9: Undirected graphs and networks Topi rviw Topi 9: Undirtd graphs and ntworks Multipl hoi Qustions 1 and 2 rfr to th ntwork shown. 1. Th sum of th dgrs of all th vrtis in th ntwork is: A 5 B 10 C 12 D 13 E 14 2. Th list of dgs an writtn

More information

Probability Translation Guide

Probability Translation Guide Quick Guid to Translation for th inbuilt SWARM Calculator If you s information looking lik this: Us this statmnt or any variant* (not th backticks) And this is what you ll s whn you prss Calculat Th chancs

More information

General Notes About 2007 AP Physics Scoring Guidelines

General Notes About 2007 AP Physics Scoring Guidelines AP PHYSICS C: ELECTRICITY AND MAGNETISM 2007 SCORING GUIDELINES Gnral Nots About 2007 AP Physics Scoring Guidlins 1. Th solutions contain th most common mthod of solving th fr-rspons qustions and th allocation

More information

Utilizing exact and Monte Carlo methods to investigate properties of the Blume Capel Model applied to a nine site lattice.

Utilizing exact and Monte Carlo methods to investigate properties of the Blume Capel Model applied to a nine site lattice. Utilizing xat and Mont Carlo mthods to invstigat proprtis of th Blum Capl Modl applid to a nin sit latti Nik Franios Writing various xat and Mont Carlo omputr algorithms in C languag, I usd th Blum Capl

More information

MEMORIAL UNIVERSITY OF NEWFOUNDLAND

MEMORIAL UNIVERSITY OF NEWFOUNDLAND MEMORIAL UNIVERSITY OF NEWFOUNDLAND DEPARTMENT OF MATHEMATICS AND STATISTICS Midtrm Examination Statistics 2500 001 Wintr 2003 Nam: Studnt No: St by Dr. H. Wang OFFICE USE ONLY Mark: Instructions: 1. Plas

More information

Outline. Circuits. Euler paths/circuits 4/25/12. Part 10. Graphs. Euler s bridge problem (Bridges of Konigsberg Problem)

Outline. Circuits. Euler paths/circuits 4/25/12. Part 10. Graphs. Euler s bridge problem (Bridges of Konigsberg Problem) 4/25/12 Outlin Prt 10. Grphs CS 200 Algorithms n Dt Struturs Introution Trminology Implmnting Grphs Grph Trvrsls Topologil Sorting Shortst Pths Spnning Trs Minimum Spnning Trs Ciruits 1 2 Eulr s rig prolm

More information

Numbering Boundary Nodes

Numbering Boundary Nodes Numring Bounry Nos Lh MBri Empori Stt Univrsity August 10, 2001 1 Introution Th purpos of this ppr is to xplor how numring ltril rsistor ntworks ffts thir rspons mtrix, Λ. Morovr, wht n lrn from Λ out

More information

Linked-List Implementation. Linked-lists for two sets. Multiple Operations. UNION Implementation. An Application of Disjoint-Set 1/9/2014

Linked-List Implementation. Linked-lists for two sets. Multiple Operations. UNION Implementation. An Application of Disjoint-Set 1/9/2014 Disjoint Sts Data Strutur (Chap. 21) A disjoint-st is a olltion ={S 1, S 2,, S k } o distint dynami sts. Eah st is idntiid by a mmbr o th st, alld rprsntativ. Disjoint st oprations: MAKE-SET(x): rat a

More information

CS200: Graphs. Graphs. Directed Graphs. Graphs/Networks Around Us. What can this represent? Sometimes we want to represent directionality:

CS200: Graphs. Graphs. Directed Graphs. Graphs/Networks Around Us. What can this represent? Sometimes we want to represent directionality: CS2: Grphs Prihr Ch. 4 Rosn Ch. Grphs A olltion of nos n gs Wht n this rprsnt? n A omputr ntwork n Astrtion of mp n Soil ntwork CS2 - Hsh Tls 2 Dirt Grphs Grphs/Ntworks Aroun Us A olltion of nos n irt

More information

Problem Set 6 Solutions

Problem Set 6 Solutions 6.04/18.06J Mathmatics for Computr Scinc March 15, 005 Srini Dvadas and Eric Lhman Problm St 6 Solutions Du: Monday, March 8 at 9 PM in Room 3-044 Problm 1. Sammy th Shark is a financial srvic providr

More information

BINOMIAL COEFFICIENTS INVOLVING INFINITE POWERS OF PRIMES

BINOMIAL COEFFICIENTS INVOLVING INFINITE POWERS OF PRIMES BINOMIAL COEFFICIENTS INVOLVING INFINITE POWERS OF PRIMES DONALD M. DAVIS Abstract. If p is a prim (implicit in notation and n a positiv intgr, lt ν(n dnot th xponnt of p in n, and U(n n/p ν(n, th unit

More information

Solution: APPM 1360 Final (150 pts) Spring (60 pts total) The following parts are not related, justify your answers:

Solution: APPM 1360 Final (150 pts) Spring (60 pts total) The following parts are not related, justify your answers: APPM 6 Final 5 pts) Spring 4. 6 pts total) Th following parts ar not rlatd, justify your answrs: a) Considr th curv rprsntd by th paramtric quations, t and y t + for t. i) 6 pts) Writ down th corrsponding

More information

Assignment 4 Biophys 4322/5322

Assignment 4 Biophys 4322/5322 Assignmnt 4 Biophys 4322/5322 Tylr Shndruk Fbruary 28, 202 Problm Phillips 7.3. Part a R-onsidr dimoglobin utilizing th anonial nsmbl maning rdriv Eq. 3 from Phillips Chaptr 7. For a anonial nsmbl p E

More information

Y 0. Standing Wave Interference between the incident & reflected waves Standing wave. A string with one end fixed on a wall

Y 0. Standing Wave Interference between the incident & reflected waves Standing wave. A string with one end fixed on a wall Staning Wav Intrfrnc btwn th incint & rflct wavs Staning wav A string with on n fix on a wall Incint: y, t) Y cos( t ) 1( Y 1 ( ) Y (St th incint wav s phas to b, i.., Y + ral & positiv.) Rflct: y, t)

More information

CSE 373: More on graphs; DFS and BFS. Michael Lee Wednesday, Feb 14, 2018

CSE 373: More on graphs; DFS and BFS. Michael Lee Wednesday, Feb 14, 2018 CSE 373: Mor on grphs; DFS n BFS Mihl L Wnsy, F 14, 2018 1 Wrmup Wrmup: Disuss with your nighor: Rmin your nighor: wht is simpl grph? Suppos w hv simpl, irt grph with x nos. Wht is th mximum numr of gs

More information

Basic Polyhedral theory

Basic Polyhedral theory Basic Polyhdral thory Th st P = { A b} is calld a polyhdron. Lmma 1. Eithr th systm A = b, b 0, 0 has a solution or thr is a vctorπ such that π A 0, πb < 0 Thr cass, if solution in top row dos not ist

More information

Addition of angular momentum

Addition of angular momentum Addition of angular momntum April, 0 Oftn w nd to combin diffrnt sourcs of angular momntum to charactriz th total angular momntum of a systm, or to divid th total angular momntum into parts to valuat th

More information

Note If the candidate believes that e x = 0 solves to x = 0 or gives an extra solution of x = 0, then withhold the final accuracy mark.

Note If the candidate believes that e x = 0 solves to x = 0 or gives an extra solution of x = 0, then withhold the final accuracy mark. . (a) Eithr y = or ( 0, ) (b) Whn =, y = ( 0 + ) = 0 = 0 ( + ) = 0 ( )( ) = 0 Eithr = (for possibly abov) or = A 3. Not If th candidat blivs that = 0 solvs to = 0 or givs an tra solution of = 0, thn withhold

More information

On spanning trees and cycles of multicolored point sets with few intersections

On spanning trees and cycles of multicolored point sets with few intersections On spanning trs and cycls of multicolord point sts with fw intrsctions M. Kano, C. Mrino, and J. Urrutia April, 00 Abstract Lt P 1,..., P k b a collction of disjoint point sts in R in gnral position. W

More information

Differentiation of Exponential Functions

Differentiation of Exponential Functions Calculus Modul C Diffrntiation of Eponntial Functions Copyright This publication Th Northrn Albrta Institut of Tchnology 007. All Rights Rsrvd. LAST REVISED March, 009 Introduction to Diffrntiation of

More information

Combinatorial Networks Week 1, March 11-12

Combinatorial Networks Week 1, March 11-12 1 Nots on March 11 Combinatorial Ntwors W 1, March 11-1 11 Th Pigonhol Principl Th Pigonhol Principl If n objcts ar placd in hols, whr n >, thr xists a box with mor than on objcts 11 Thorm Givn a simpl

More information

COMPLEXITY OF COUNTING PLANAR TILINGS BY TWO BARS

COMPLEXITY OF COUNTING PLANAR TILINGS BY TWO BARS OMPLXITY O OUNTING PLNR TILINGS Y TWO RS KYL MYR strt. W show tht th prolm o trmining th numr o wys o tiling plnr igur with horizontl n vrtil r is #P-omplt. W uil o o th rsults o uquir, Nivt, Rmil, n Roson

More information

Chapter Finding Small Vertex Covers. Extending the Limits of Tractability. Coping With NP-Completeness. Vertex Cover

Chapter Finding Small Vertex Covers. Extending the Limits of Tractability. Coping With NP-Completeness. Vertex Cover Coping With NP-Compltnss Chaptr 0 Extning th Limits o Tractability Q. Suppos I n to solv an NP-complt problm. What shoul I o? A. Thory says you'r unlikly to in poly-tim algorithm. Must sacriic on o thr

More information

Unit 6: Solving Exponential Equations and More

Unit 6: Solving Exponential Equations and More Habrman MTH 111 Sction II: Eonntial and Logarithmic Functions Unit 6: Solving Eonntial Equations and Mor EXAMPLE: Solv th quation 10 100 for. Obtain an act solution. This quation is so asy to solv that

More information

MSLC Math 151 WI09 Exam 2 Review Solutions

MSLC Math 151 WI09 Exam 2 Review Solutions Eam Rviw Solutions. Comput th following rivativs using th iffrntiation ruls: a.) cot cot cot csc cot cos 5 cos 5 cos 5 cos 5 sin 5 5 b.) c.) sin( ) sin( ) y sin( ) ln( y) ln( ) ln( y) sin( ) ln( ) y y

More information

A. Limits and Horizontal Asymptotes ( ) f x f x. f x. x "±# ( ).

A. Limits and Horizontal Asymptotes ( ) f x f x. f x. x ±# ( ). A. Limits and Horizontal Asymptots What you ar finding: You can b askd to find lim x "a H.A.) problm is asking you find lim x "# and lim x "$#. or lim x "±#. Typically, a horizontal asymptot algbraically,

More information

Higher order derivatives

Higher order derivatives Robrto s Nots on Diffrntial Calculus Chaptr 4: Basic diffrntiation ruls Sction 7 Highr ordr drivativs What you nd to know alrady: Basic diffrntiation ruls. What you can larn hr: How to rpat th procss of

More information

BINOMIAL COEFFICIENTS INVOLVING INFINITE POWERS OF PRIMES. 1. Statement of results

BINOMIAL COEFFICIENTS INVOLVING INFINITE POWERS OF PRIMES. 1. Statement of results BINOMIAL COEFFICIENTS INVOLVING INFINITE POWERS OF PRIMES DONALD M. DAVIS Abstract. If p is a prim and n a positiv intgr, lt ν p (n dnot th xponnt of p in n, and u p (n n/p νp(n th unit part of n. If α

More information

COMP108 Algorithmic Foundations

COMP108 Algorithmic Foundations Grdy mthods Prudn Wong http://www.s.liv..uk/~pwong/thing/omp108/01617 Coin Chng Prolm Suppos w hv 3 typs of oins 10p 0p 50p Minimum numr of oins to mk 0.8, 1.0, 1.? Grdy mthod Lrning outoms Undrstnd wht

More information

Lecture 14 (Oct. 30, 2017)

Lecture 14 (Oct. 30, 2017) Ltur 14 8.31 Quantum Thory I, Fall 017 69 Ltur 14 (Ot. 30, 017) 14.1 Magnti Monopols Last tim, w onsidrd a magnti fild with a magnti monopol onfiguration, and bgan to approah dsribing th quantum mhanis

More information

Present state Next state Q + M N

Present state Next state Q + M N Qustion 1. An M-N lip-lop works s ollows: I MN=00, th nxt stt o th lip lop is 0. I MN=01, th nxt stt o th lip-lop is th sm s th prsnt stt I MN=10, th nxt stt o th lip-lop is th omplmnt o th prsnt stt I

More information

Gradebook & Midterm & Office Hours

Gradebook & Midterm & Office Hours Your commnts So what do w do whn on of th r's is 0 in th quation GmM(1/r-1/r)? Do w nd to driv all of ths potntial nrgy formulas? I don't undrstand springs This was th first lctur I actually larnd somthing

More information

COHORT MBA. Exponential function. MATH review (part2) by Lucian Mitroiu. The LOG and EXP functions. Properties: e e. lim.

COHORT MBA. Exponential function. MATH review (part2) by Lucian Mitroiu. The LOG and EXP functions. Properties: e e. lim. MTH rviw part b Lucian Mitroiu Th LOG and EXP functions Th ponntial function p : R, dfind as Proprtis: lim > lim p Eponntial function Y 8 6 - -8-6 - - X Th natural logarithm function ln in US- log: function

More information

ph People Grade Level: basic Duration: minutes Setting: classroom or field site

ph People Grade Level: basic Duration: minutes Setting: classroom or field site ph Popl Adaptd from: Whr Ar th Frogs? in Projct WET: Curriculum & Activity Guid. Bozman: Th Watrcours and th Council for Environmntal Education, 1995. ph Grad Lvl: basic Duration: 10 15 minuts Stting:

More information

Case Study 4 PHA 5127 Aminoglycosides Answers provided by Jeffrey Stark Graduate Student

Case Study 4 PHA 5127 Aminoglycosides Answers provided by Jeffrey Stark Graduate Student Cas Stuy 4 PHA 527 Aminoglycosis Answrs provi by Jffry Stark Grauat Stunt Backgroun Gntamicin is us to trat a wi varity of infctions. Howvr, u to its toxicity, its us must b rstrict to th thrapy of lif-thratning

More information

Self-Adjointness and Its Relationship to Quantum Mechanics. Ronald I. Frank 2016

Self-Adjointness and Its Relationship to Quantum Mechanics. Ronald I. Frank 2016 Ronald I. Frank 06 Adjoint https://n.wikipdia.org/wiki/adjoint In gnral thr is an oprator and a procss that dfin its adjoint *. It is thn slf-adjoint if *. Innr product spac https://n.wikipdia.org/wiki/innr_product_spac

More information

4. Money cannot be neutral in the short-run the neutrality of money is exclusively a medium run phenomenon.

4. Money cannot be neutral in the short-run the neutrality of money is exclusively a medium run phenomenon. PART I TRUE/FALSE/UNCERTAIN (5 points ach) 1. Lik xpansionary montary policy, xpansionary fiscal policy rturns output in th mdium run to its natural lvl, and incrass prics. Thrfor, fiscal policy is also

More information

Cycles and Simple Cycles. Paths and Simple Paths. Trees. Problem: There is No Completely Standard Terminology!

Cycles and Simple Cycles. Paths and Simple Paths. Trees. Problem: There is No Completely Standard Terminology! Outlin Computr Sin 331, Spnnin, n Surphs Mik Joson Dprtmnt o Computr Sin Univrsity o Clry Ltur #30 1 Introution 2 3 Dinition 4 Spnnin 5 6 Mik Joson (Univrsity o Clry) Computr Sin 331 Ltur #30 1 / 20 Mik

More information

CPSC 665 : An Algorithmist s Toolkit Lecture 4 : 21 Jan Linear Programming

CPSC 665 : An Algorithmist s Toolkit Lecture 4 : 21 Jan Linear Programming CPSC 665 : An Algorithmist s Toolkit Lctur 4 : 21 Jan 2015 Lcturr: Sushant Sachdva Linar Programming Scrib: Rasmus Kyng 1. Introduction An optimization problm rquirs us to find th minimum or maximum) of

More information

Brief Introduction to Statistical Mechanics

Brief Introduction to Statistical Mechanics Brif Introduction to Statistical Mchanics. Purpos: Ths nots ar intndd to provid a vry quick introduction to Statistical Mchanics. Th fild is of cours far mor vast than could b containd in ths fw pags.

More information

Constants and Conversions:

Constants and Conversions: EXAM INFORMATION Radial Distribution Function: P 2 ( r) RDF( r) Br R( r ) 2, B is th normalization constant. Ordr of Orbital Enrgis: Homonuclar Diatomic Molculs * * * * g1s u1s g 2s u 2s u 2 p g 2 p g

More information

Introduction to Arithmetic Geometry Fall 2013 Lecture #20 11/14/2013

Introduction to Arithmetic Geometry Fall 2013 Lecture #20 11/14/2013 18.782 Introduction to Arithmtic Gomtry Fall 2013 Lctur #20 11/14/2013 20.1 Dgr thorm for morphisms of curvs Lt us rstat th thorm givn at th nd of th last lctur, which w will now prov. Thorm 20.1. Lt φ:

More information

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)}

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)} Introution Computr Sin & Enginring 423/823 Dsign n Anlysis of Algorithms Ltur 03 Elmntry Grph Algorithms (Chptr 22) Stphn Sott (Apt from Vinohnrn N. Vriym) I Grphs r strt t typs tht r pplil to numrous

More information

3 a b c km m m 8 a 3.4 m b 2.4 m

3 a b c km m m 8 a 3.4 m b 2.4 m Chaptr Exris A a 9. m. m. m 9. km. mm. m Purpl lag hapr y 8p 8m. km. m Th triangl on th right 8. m 9 a. m. m. m Exris B a m. m mm. km. mm m a. 9 8...8 m. m 8. 9 m Ativity p. 9 Pupil s own answrs Ara =

More information

Where k is either given or determined from the data and c is an arbitrary constant.

Where k is either given or determined from the data and c is an arbitrary constant. Exponntial growth and dcay applications W wish to solv an quation that has a drivativ. dy ky k > dx This quation says that th rat of chang of th function is proportional to th function. Th solution is

More information