Homework 1 Solutions CSE 101 Summer 2017

Size: px
Start display at page:

Download "Homework 1 Solutions CSE 101 Summer 2017"

Transcription

1 Homewok 1 Soutions CSE 101 Summe Waming Up 1.1 Pobem and Pobem Instance Find the smaest numbe in an aay of n integes a 1, a 2,..., a n. What is the input? What is the output? Is this a pobem o a pobem instance? If you beieve this is a pobem, give an instance of this pobem. Soution: So: Input: the aay a 1, a 2,..., a n. Output: the smaest numbe 1.2 Lowe Bound vs. Uppe Bound Anayse owe bound and uppe bound of an agoithm Pobem: Does thee exist an eement 0 in an intege aay a 1, a 2,..., a n. Agoithm: Sweep fom the eft to ight unti the end of the aay. If it sees 0, etun yes; othewise, etun no. Lowe bound: What is the best case fo this agoithm? How ong does the best case take? Uppe bound: What is the wost case fo this agoithm? How ong does the wost case take? So: Best case: a 1 is 0. Constant time. O(n). Wost case: no eement is 0 in the aay. O(n) Big O and its eatives Show that og(n!) = Θ(n og n). Hint: Show the uppe bound by compaing with n n, owe bound by compaing with (( n 2 ) n 2 ). 1.3 Effective vs. Efficient Ae seection sot, bubbe sot and insetion sot effective agoithms fo Minsot pobem? In tems of time, is any agoithm above significanty moe efficient to sot a vey age unsoted ist than the othes? Besides time, what ese can you impove to make the agoithm moe efficient? Give an exampe. So: Yes, they ae effective because they ae coect and teminite. No, they a take O(n 2 ) time. Efficiency = Output / Input Impove Efficiency: 1. Output + / Same Input, e.g. soting moe numbes in the same time (if this is the Input measue) o in the same space o with the same enegy consumption 2. Output the same / Input -, e.g. sot the same numbe of integes in ess time with ess memoy equiements, with ess enegy consumption Time is not the ony measue,eg. Space and Enegy efficient agoithms. 1

2 2 Anaysing Agoithms 2.1 Iteative agoithm Hee is an agoithm that, given two soted ists A[1] < A[2] <...A[n] and B[1] < B[2] <.. < B[n], decides whethe thee is a pai of indices i, j with 1 i n and 1 j n so that A[i] = B[j]. Intesect(A[1..n], B[1..n]: soted ist of integes) 1. I 1, J 1, F ound F ase. 2. Whie I n and J n and F ound = F ase do: 3. IF A[I] = B[J] THEN F ound T ue. 4. IF A[I] > B[J] THEN J + + ELSE I Retun F ound. a) Suppose A is {1,4,6,8} and B is {2,3,5,6}, show that how the agoithm woks with this pobem instance. b) Pove that this agoithm is coect, i.e., that it etuns tue if and ony if such a pai i, j exists. c) Give a time anaysis, up to ode, fo this agoithm. Be sue to expain you answe. So: b) We need to pove two things: Fist, that if the agoithm etuns Tue, the ists intesect, both containing some vaue X; and second, that if the ists intesect, the agoithm etuns Tue. The fist is simpe. The ony ine whee Found gets set to Tue is ine 3, and it ony gets set to tue if A[I] = B[J]. Setting X = A[I], X is in both ists, and so the ists intesect. The othe diection is a bit moe difficut. Assume X is in both ists, X = A[i] and X = B[j] fo some 1 i, j n. We show as a oop invaiant that, if the agoithm has not etuned Tue aeady, that I i and J j. This is tue at the stat of the agoithm, since I = 1 i and J = 1 j. Assume at the stat of an iteation I i and J j. If I = i and J = j, A[I] = A[i] = X = B[j] = B[J]. Thus, the If in ine 3 is tue, and the agoithm hats etuning Tue. If I = i and J < j, then B[J] < B[j] = X = A[I] and the agoithm incements J, not changing I. Since the new vaue of J is at most j, we sti have I i and J j. The case I < i and J = j is identica. Finay, if I < i and J < j, eithe one we incement, we wi sti have I i and J j. Thus, by induction on the numbe of iteations, eithe we have etuned Tue o I i and J j. Now, afte 2n iteations, the agoithm must teminate, since each iteation that we don t teminate, we incement I o J and we stop when eithe eaches n + 1. When this happens, by the oop invaiant I i n and J j n, so we cannot teminate because eithe I o J exceed n. Thus, we must teminate because F ound is T ue, at which point we etun T ue. Atenative fomat: Say X = A[i] = B[j]. Assume we didn t etun Tue, to get a contadiction. At the end I o J must exceed n, and since we ony incement them by at most one each iteation, they must take on a possibe vaues in between. So thee must be a point whee I = i o a point whee J = j. Conside the fist time when eithe event happens. Without oss of geneaity, assume its when I = i (since the J = j case is symmetica). When this happens, J j, since eithe it happens in the beginning when J = 1 j, o J hasn t yet eached j since the I = i case happened fist. Then, whie J < j, B[J] < B[j] = X = A[i] = A[I], so we wi incement J and not change I unti J = j. At this point, B[J] = B[j] = X = A[i] = A[I], so the agoithm wi set Found to Tue and teminate. This contadicts ou assumption that the agoithm did not etun Tue. c) Time anaysis: Each opeation within the whie oop takes constant time, as does each opeation befoe it. As mentioned above, the whie oop can execute at most a tota of 2n times befoe the agoithm teminates. Thus, T (n) O(n). If the ists do not intesect, at east one counte needs to get incemented n times, so the wost-case time is aso O(n). 2

3 2.2 Recusive Mege RMege(A[1..k], B[1..]: soted ist of integes) 1. IF k = 0 etun B[1,..., ] 2. IF = 0 etun A[1,..., k] 3. IF A[1] B[1] THEN etun A[1] RMege(A[2,..., k], B[1,..., ]) 4. ELSE etun B[1] RMege(A[1,..., k], B[2,..., ]) a) Suppose A is {1,4,6} and B is {2,3,5}, show that how the agoithm woks with this pobem instance. b) Pove RMege(A[1,..., k], B[1,..., ]) is a soted aay containing a eements fom both soted aay A and B by induction on n = k +. c) Give a time anaysis fo this agoithm. So: b) Pove by induction on n, the tota input size. (1) Base case: When n=0. Then both ists ae empty. RMege etuns an empty ist, which is coect. (2) Induction: Assume n >= 1 and RMege(A[1,..., k], B[1,..., ]) etuns a soted ist containing a eements fom eithe ist wheneve k + = n 1. We want to pove:rm ege(a[1,..., k], B[1,..., ]) etuns a soted ist containing a eements fom eithe ist wheneve k + = n. Case 1: One of the ists is empty. The fist o second ine of RMege etuns the othe ist, which is coect. Case 2: Both ists ae nonempty. If A[1] B[1], then A[1] is the smaest eement among a the eements in both ists, because both A, B ists ae soted. Accoding to the thid ine RMege etuns A[1] RMege(A[2,..., k], B[1,..., ]). Obviousy, A[2,..., k], B[1,..., ] have ony (k 1) + = n 1 eements, so by assumption, RMege(A[2,..., k], B[1,..., ]) etuns a soted ist with eements fom A[2,..., k], B[1,..., ]. So RMege(A[1,..., k], B[1,..., ]) woks when k + = n if A[1] B[1]. Simiay, RMege(A[1,..., k], B[1,..., ]) aso woks when k + = n if A[1] B[1]. Concusion, RMege(A[1,..., k], B[1,..., ]) woks when k + = n. c) Time anaysis: Accoding to the ecuence eation, T (n) = T (n 1) + c. Soving it we have T (n) O(n). 2.3 MegeSot MegeSot(A[1,..., n]) 1. IF n = 1 Retun A 2. B[1,..., n/2] MegeSot(A[1,..., n/2]) 3. C[1,..., n/2] MegeSot(A[n/2 + 1,..., n]) 4. Retun Mege(B[1,..., n/2], C[1,..., n/2]) a) Suppose A is {4,3,2,1},show that how the agoithm woks with this pobem instance. b) Pove MegeSot(A[1,..., n]) etun a soted aay with exacty the eements in A[1,..., n]. c) Give a time anaysis fo this agoithm. So: b) (1) Base case: When n=1, the ist has ony one eement, it is soted aeady, the MegeSot woks; (2) Induction: Assume that MegeSot sots n = 1, 2, 3,..., k eements. We want to show MegeSot sots n = k +1 eements. This is tue because MegeSot(A[1,..., (k +1)/2]) etuns the soted fist n/2 eements, and MegeSot(A[(k + 1)/2 + 1,..., (k + 1)) etuns the soted est haf 3

4 eements. Finay M ege etuns a soted ist with eements exacty in eithe aay. So M egesot wi sot n = k + 1 eements. c) Time anaysis: Accoding to the ecuence eation, we have By soving it we have. T (n) = 2T ( n 2 ) + co(n). T (n) O(nogn) Note: Maste theoem is used to sove ecuence eation that takes the fom T (n) = at ( n b ) + f(n). See moe about Maste theoem in wiki o discussion section. 4

5 3 Two pointes Pobem: You ae given a sequence of n positive integes - a 1, a 2,..., a n. Find a continuous subsequence a, a +1,..., a, such that the sum of a numbes in it is ess than K and its ength is as age as possibe. 1. Deveop an agoithm that soves this pobem. 2. Pove its coectness. 3. Show (pove) its time compexity. Soution: 1. Agoithm: We wi sove this pobem with a popua technique caed two pointes. Let s have two vaiabes = 0 and = 0. Let s scan ou sequence fom eft to ight. Vaiabes and wi denote the beginning and the end of the cuent subsequence espectivey and et S(, ) be its sum. At each step, if S(, ) is ess than K, we have found the subsequence of the ength + 1. Othewise, whie S(, ) K and, we wi incease the vaue of vaiabe. At the end of each step, we incease the vaue of. Duing the pocess, we aso have vaiabe ans = 0 which we wi update evey time we find a new vaid sequence: ans = max(ans, + 1). The agoithm stops when = n. 2. Coectness: Let s pove that the agoithm finds the agest possibe subsequence. Let a, a +1,..., a be the optima answe fo the pobem. At some time of ou agoithm, wi be moe than o equa to. We wi have and and. At any time whie, wi not exceed. Indeed, if at some point wee bigge than, it woud mean that thee was, such that S(, ) K. Howeve, this is not possibe as a numbes ae positive. Theefoe, S(, ) S(, ) < K. Consequenty, thee wi be a moment duing ou agoithm, when and =. As sequence a, a +1,..., a is optima, it means that =. So ou agoithm finds the optima answe fo this pobem. 3. Time compexity: Time compexity of the agoithm is θ(n). Indeed, at each step, we incease eithe (in a oop) o. Both and can not exceed n. Each step woks in θ(1) time. Thee ae no moe than 2n steps. Theefoe, the compexity is θ(n). 5

6 4 Counting invesions Pobem: You ae given an aay of n eements. Find the numbe of invesions in this aay. The invesion is a pai (a i, a k ), such that i < k and a i > a k. 1. Deveop an agoithm that soves this pobem. 2. Pove its coectness. 3. Show (pove) its time compexity. Soution: 1. Agoithm: Thee is a simpe bute foce soution, whee we just ook at a possibe pais. 2. Coectness: As we enumeate a possibe pais, we wi be abe to find a invesions. 3. Time compexity: As the numbe of pais equas n(n 1) 2, the time compexity wi be θ(n 2 ). 1. Agoithm: Anothe appoach is to use divide-and-conque. We wi beak ou aay into two pats, such that thei sizes do not diffe by moe than one: B = A[0,..., [ n 2 ] 1] and C = A[[ n 2 ],..., n 1]. We wi ecusivey find the numbe of invesions in aays B and C and then find a invesions that have one eement in B and the othe one in C (the ecusion stops if thee is ony one eement in the aay; the esut wi be zeo fo this case). Fo this pupose, et s assume that eements in B and C ae soted. We wi scan both aays fom eft to ight. Initiay, i = k = 0. Then, if we compae eements B i and C k : (a) if B i C k, then B i doesn t fom invesions with any eements C j, such that k j. Incease i by one. (b) if B i > C k, then C k fom invesions with a eements B j, such that i j. Incease k by one. 2. Coectness: Let s pove the coectness by the induction: The base case is when thee is ony one eement in the aay. The esut is zeo, which is tue. Hypothesis: Let s assume that the agoithm finds coecty the numbe of invesions fo a aays of the size ess than n. Induction step: Evey time we have B i > C k, B i wi be the fist eement in B that satisfies this condition (the smaest eement in B that is bigge than C k ). So, if we take any pai (B j, C k ), such that B j > C k, then i j and B i B j. So fo evey C k, we find a possibe numbes in B, with which C k foms invesions. Accoding to the hypothesis, we wi coecty find a invesions in aays B and C, as thei sizes ae ess than n (max([ n 2 ], n [ n 2 ]) < n fo n > 1). Then, if we add a these numbes, we wi get the tota numbe of invesions in the aay. 3. Time compexity: As we can see, at each step we need both aays B and C to be soted. Fo this pupose we can use a mege sot agoithm. As you can see, ou method is just a sight modification of the mege sot, which aso aows us to find the numbe of a the invesions. By adding a few opeations that wok in constant time to the meging pocess of the two aays in the mege sot, we can sove ou pobem. So the time compexity of this appoach equas the time compexity of the mege sot, i.e. θ(n og n). 6

7 5 Quicksot Pobem: Quicksot is a vey famous and simpe soting agoithm that is used in many appications. The pobem is the foowing we have an aay of n eements: A 0, A 1,..., A n 1 that we need to eaange in a way that it becomes soted in an inceasing ode, i.e. A 0 A 1... A n 1. To accompish this, we wi do the foowing: et s choose a andom eement fom the aay. We wi ca this eement a pivot. Now, et s beak, o patition, the emainde of the aay into two goups (maybe empty): the fist pat contains a eements that ae ess than o equa to the pivot, the second pat contains a eements that ae sticty age than the pivot. We wi ca this pocess patitioning. Let s ook at the exampe: The aay contains 10 eements. Let s choose a andom eement. Let it be the thid eement of the aay. Its vaue equas 5. Now et s beak the aay into two pats as was descibed above: Red-coo eements beong to the fist goup, whie bue-coo ones beong to the second goup. The pivot eement s coo is geen. The eements in both goups can be aanged in any way inside thei goup. As ong as the conditions that a eements in the eft goup ae ess than o equa to the pivot and that a eements in the goup ae sticty age that the pivot ae satisfied, any patition wi be vaid. Fo exampe, anothe vaid patition is: As we can see, if a the eements in both goups wee soted in an inceasing ode, the esuting aay afte the patitioning woud be soted too. We wi use this obsevation to sot the aay. We wi ca the soting method quicksot. Fist, we choose a andom eement in the aay and pefom pationing. Then, we appy the quicksot ecusivey to each of the esuting goups. The ecusion stops when thee is ony one eement in the aay. Appaenty, as a esut, we wi get a soted aay. 1. Deveop an agoithm that pefoms patitioning. Ty to make it as efficient as possibe. 2. Pove the coectness of the patitioning. 3. Show (pove) the patition agoithm s time compexity. 4. Pove the coectness of the quicksot. 5. Show (pove) the wost case unning time of the quicksot. 6. Show (pove) the aveage unning time of the quicksot. (the aveage unning time of an agoithm is the numbe of opeations aveaged ove a possibe inputs) Soution: 1. Agoithm: Let s descibe how patitioning woks. Let s ook at the same exampe with the same pivot eement:

8 Fist et s swap the fist eement of the aay and the pivot eement. We wi get: Now, et s have two pointes and, which wi initiay point to the beginning and to the end of the aay espectivey ( = 0, = n 1). And et s denote the pivot eement as p Fist, we ty to incease as much as possibe. We incement pointe, if A[] p Then, we ty to decease as much as we can. We decement pointe, if p < A[] Then, if <, we swap eements A[] and A[] If <, we aso epeat a these thee opeations again (inceasing, deceasing and swapping and again, if < ). As soon as >, we swap eements A[] and p and stop patitioning

9 2. Coectness (patitioning): Let s pove that patitioning is coect. Indeed, afte we incease and decease, a eements to the eft of A[] ae ess than o equa to p, and a eements to the ight of A[] ae sticty age than p. Afte this pocess, we get that A[] > p and A[] p. If <, we swap A[] and A[] and get that A[] p, A[] > p. If >, we swap A[] and p, which ae both ess than o equa to p and stop patitioning. As a esut, we get that a eements to the eft of p ae ess than o equa to p, and a the eements to the ight of p ae sticty age than p. 3. Time compexity (patitioning): The time compexity fo patitioning wi be θ(n). Indeed, at each step we incease o decease. Each step takes O(1) time. Both and can t be inceased/deceased moe than n times, so thee ae not moe than 2n steps. On the othe hand, the numbe of iteations wi be at east equa to n, as we continue patitioning ti > 4. Coectness (quicksot): Now, et s pove that the quicksot is coect. The base case is when we have ony one eement. One eement is an odeed aay, so the base case is coect. The hypothesis is that the quicksot sots coecty a aays of the size ess than n. Now, thee is the inductive step. Fo an aay of size n, we, fist, choose a pivot eement p. Then, we pefom patitioning bases on this eement. As a esut, the aay wi be divided into two goups: the eft goup in which a eements ae ess than o equa to p, and the ight goup in which a eements ae sticty age than p. The sizes of these goups ae ess than n (because they at east do not contain the pivot eement). Then, we use the quicksot on them ecusivey. Accoding to the hypothesis, both these goups of eements wi be soted coecty. As a esut, the initia aay wi consist of the eft pat which is soted coecty, the pivot eement and the ight pat which is aso soted coecty. Theefoe, the whoe aay wi be soted coecty. 5. Time compexity (quicksot): Let T (n) be the numbe of opeations the quicksot makes fo the aay of size n. Then, whee A[i] is a pivot eement. T (0) = θ(1) T (n) = T (i) + T (n i 1) + θ(n) Let s say, that at each iteation, the pivot eement is the smaest eement in the aay. Then, we have: Theefoe, T (n) Ω(n 2 ) T (n) = T (0) + T (n 1) + θ(n) T (n) T (n 1) + n 1 T (n) T (n 2) + n 2 + n 1... T (n) n 2 + n 1 T (n) (n 1)n 2 So in the wost case, the quicksot wi take quadatic time to sot the aay. But this case happens aey. Let s see how fast the quicksot woks on aveage (the expected time compexity). 6. Time compexity (quicksot): Let patitioning take cn opeations and T (n) be the aveage unning time. Then, we wi have the foowing ecuent equation: T (n) = 1 n 1 (T (i) + T (n i 1) + cn) n i=0 9

10 T (n) = 2 n 1 T (i) + cn n i=0 n 1 nt (n) = 2 T (i) + cn 2 i=0 n 2 (n 1)T (n 1) = 2 T (i) + c(n 1) 2 i=0 nt (n) (n 1)T (n 1) 2T (n 1) + 2cn n i=1 T (n) T (n 1) + 2c n + 1 n n + 1 T (i) i + 1 n i=1 ( T (i 1) i + 2c i + 1 ) T (n) n + 1 T n c( 1 i 1) i=1 T (n) 2c(n n 1) n + 1 T (n) c n n n T (n) θ(n og n) 10

Merging to ordered sequences. Efficient (Parallel) Sorting. Merging (cont.)

Merging to ordered sequences. Efficient (Parallel) Sorting. Merging (cont.) Efficient (Paae) Soting One of the most fequent opeations pefomed by computes is oganising (soting) data The access to soted data is moe convenient/faste Thee is a constant need fo good soting agoithms

More information

Seidel s Trapezoidal Partitioning Algorithm

Seidel s Trapezoidal Partitioning Algorithm CS68: Geometic Agoithms Handout #6 Design and Anaysis Oigina Handout #6 Stanfod Univesity Tuesday, 5 Febuay 99 Oigina Lectue #7: 30 Januay 99 Topics: Seide s Tapezoida Patitioning Agoithm Scibe: Michae

More information

A Bijective Approach to the Permutational Power of a Priority Queue

A Bijective Approach to the Permutational Power of a Priority Queue A Bijective Appoach to the Pemutational Powe of a Pioity Queue Ia M. Gessel Kuang-Yeh Wang Depatment of Mathematics Bandeis Univesity Waltham, MA 02254-9110 Abstact A pioity queue tansfoms an input pemutation

More information

Math 301: The Erdős-Stone-Simonovitz Theorem and Extremal Numbers for Bipartite Graphs

Math 301: The Erdős-Stone-Simonovitz Theorem and Extremal Numbers for Bipartite Graphs Math 30: The Edős-Stone-Simonovitz Theoem and Extemal Numbes fo Bipatite Gaphs May Radcliffe The Edős-Stone-Simonovitz Theoem Recall, in class we poved Tuán s Gaph Theoem, namely Theoem Tuán s Theoem Let

More information

Problem set 6. Solution. The problem of firm 3 is. The FOC is: 2 =0. The reaction function of firm 3 is: = 2

Problem set 6. Solution. The problem of firm 3 is. The FOC is: 2 =0. The reaction function of firm 3 is: = 2 Pobem set 6 ) Thee oigopoists opeate in a maket with invese demand function given by = whee = + + and is the quantity poduced by fim i. Each fim has constant magina cost of poduction, c, and no fixed cost.

More information

Chapter 3: Theory of Modular Arithmetic 38

Chapter 3: Theory of Modular Arithmetic 38 Chapte 3: Theoy of Modula Aithmetic 38 Section D Chinese Remainde Theoem By the end of this section you will be able to pove the Chinese Remainde Theoem apply this theoem to solve simultaneous linea conguences

More information

Jackson 3.3 Homework Problem Solution Dr. Christopher S. Baird University of Massachusetts Lowell

Jackson 3.3 Homework Problem Solution Dr. Christopher S. Baird University of Massachusetts Lowell Jackson 3.3 Homewok Pobem Soution D. Chistophe S. Baid Univesity of Massachusetts Lowe POBLEM: A thin, fat, conducting, cicua disc of adius is ocated in the x-y pane with its cente at the oigin, and is

More information

Data Structures and Algorithm Analysis (CSC317) Randomized algorithms (part 2)

Data Structures and Algorithm Analysis (CSC317) Randomized algorithms (part 2) Data Stuctues and Algoithm Analysis (CSC317) Randomized algoithms (at 2) Hiing oblem - eview c Cost to inteview (low i ) Cost to fie/hie (exensive ) n Total numbe candidates m Total numbe hied c h O(c

More information

A Sardinas-Patterson Characterization Theorem for SE-codes

A Sardinas-Patterson Characterization Theorem for SE-codes A Sadinas-Patteson Chaacteization Theoem fo SE-codes Ionuţ Popa,Bogdan Paşaniuc Facuty of Compute Science, A.I.Cuza Univesity of Iaşi, 6600 Iaşi, Romania May 0, 2004 Abstact The aim of this pape is to

More information

Objectives. We will also get to know about the wavefunction and its use in developing the concept of the structure of atoms.

Objectives. We will also get to know about the wavefunction and its use in developing the concept of the structure of atoms. Modue "Atomic physics and atomic stuctue" Lectue 7 Quantum Mechanica teatment of One-eecton atoms Page 1 Objectives In this ectue, we wi appy the Schodinge Equation to the simpe system Hydogen and compae

More information

PHYS 705: Classical Mechanics. Central Force Problems I

PHYS 705: Classical Mechanics. Central Force Problems I 1 PHYS 705: Cassica Mechanics Centa Foce Pobems I Two-Body Centa Foce Pobem Histoica Backgound: Kepe s Laws on ceestia bodies (~1605) - Based his 3 aws on obsevationa data fom Tycho Bahe - Fomuate his

More information

= ρ. Since this equation is applied to an arbitrary point in space, we can use it to determine the charge density once we know the field.

= ρ. Since this equation is applied to an arbitrary point in space, we can use it to determine the charge density once we know the field. Gauss s Law In diffeentia fom D = ρ. ince this equation is appied to an abita point in space, we can use it to detemine the chage densit once we know the fied. (We can use this equation to ve fo the fied

More information

Course Updates. Reminders: 1) Assignment #10 due next Wednesday. 2) Midterm #2 take-home Friday. 3) Quiz # 5 next week. 4) Inductance, Inductors, RLC

Course Updates. Reminders: 1) Assignment #10 due next Wednesday. 2) Midterm #2 take-home Friday. 3) Quiz # 5 next week. 4) Inductance, Inductors, RLC Couse Updates http://www.phys.hawaii.edu/~vane/phys7-sp10/physics7.htm Remindes: 1) Assignment #10 due next Wednesday ) Midtem # take-home Fiday 3) Quiz # 5 next week 4) Inductance, Inductos, RLC Mutua

More information

Stanford University CS259Q: Quantum Computing Handout 8 Luca Trevisan October 18, 2012

Stanford University CS259Q: Quantum Computing Handout 8 Luca Trevisan October 18, 2012 Stanfod Univesity CS59Q: Quantum Computing Handout 8 Luca Tevisan Octobe 8, 0 Lectue 8 In which we use the quantum Fouie tansfom to solve the peiod-finding poblem. The Peiod Finding Poblem Let f : {0,...,

More information

Jackson 4.7 Homework Problem Solution Dr. Christopher S. Baird University of Massachusetts Lowell

Jackson 4.7 Homework Problem Solution Dr. Christopher S. Baird University of Massachusetts Lowell Jackson 4.7 Homewok obem Soution D. Chistophe S. Baid Univesity of Massachusetts Lowe ROBLEM: A ocaized distibution of chage has a chage density ρ()= 6 e sin θ (a) Make a mutipoe expansion of the potentia

More information

Method for Approximating Irrational Numbers

Method for Approximating Irrational Numbers Method fo Appoximating Iational Numbes Eic Reichwein Depatment of Physics Univesity of Califonia, Santa Cuz June 6, 0 Abstact I will put foth an algoithm fo poducing inceasingly accuate ational appoximations

More information

The Solutions of the Classical Relativistic Two-Body Equation

The Solutions of the Classical Relativistic Two-Body Equation T. J. of Physics (998), 07 4. c TÜBİTAK The Soutions of the Cassica Reativistic Two-Body Equation Coşkun ÖNEM Eciyes Univesity, Physics Depatment, 38039, Kaysei - TURKEY Received 3.08.996 Abstact With

More information

The Substring Search Problem

The Substring Search Problem The Substing Seach Poblem One algoithm which is used in a vaiety of applications is the family of substing seach algoithms. These algoithms allow a use to detemine if, given two chaacte stings, one is

More information

Australian Intermediate Mathematics Olympiad 2017

Australian Intermediate Mathematics Olympiad 2017 Austalian Intemediate Mathematics Olympiad 207 Questions. The numbe x is when witten in base b, but it is 22 when witten in base b 2. What is x in base 0? [2 maks] 2. A tiangle ABC is divided into fou

More information

NOTICE WARNING CONCERNING COPYRIGHT RESTRICTIONS: The copyright law of the United States (title 17, U.S. Code) governs the making of photocopies or

NOTICE WARNING CONCERNING COPYRIGHT RESTRICTIONS: The copyright law of the United States (title 17, U.S. Code) governs the making of photocopies or NOTICE WARNING CONCERNING COPYRIGHT RESTRICTIONS: The copyight law of the United States (title 17, U.S. Code) govens the making of photocopies o othe epoductions of copyighted mateial. Any copying of this

More information

Capacity of Data Collection in Arbitrary Wireless Sensor Networks

Capacity of Data Collection in Arbitrary Wireless Sensor Networks This fu text pape was pee eviewed at the diection of IEEE Communications Society subject matte expets fo pubication in the IEEE INFOCOM 2010 poceedings This pape was pesented as pat of the Mini-Confeence

More information

Physics 2A Chapter 10 - Moment of Inertia Fall 2018

Physics 2A Chapter 10 - Moment of Inertia Fall 2018 Physics Chapte 0 - oment of netia Fall 08 The moment of inetia of a otating object is a measue of its otational inetia in the same way that the mass of an object is a measue of its inetia fo linea motion.

More information

Mechanics Physics 151

Mechanics Physics 151 Mechanics Physics 151 Lectue 6 Kepe Pobem (Chapte 3) What We Did Last Time Discussed enegy consevation Defined enegy function h Conseved if Conditions fo h = E Stated discussing Centa Foce Pobems Reduced

More information

Conducting fuzzy division by using linear programming

Conducting fuzzy division by using linear programming WSES TRNSCTIONS on INFORMTION SCIENCE & PPLICTIONS Muat pe Basaan, Cagdas Hakan adag, Cem Kadia Conducting fuzzy division by using inea pogamming MURT LPER BSRN Depatment of Mathematics Nigde Univesity

More information

Discretizing the 3-D Schrödinger equation for a Central Potential

Discretizing the 3-D Schrödinger equation for a Central Potential Discetizing the 3-D Schödinge equation fo a Centa Potentia By now, you ae faiia with the Discete Schodinge Equation fo one Catesian diension. We wi now conside odifying it to hande poa diensions fo a centa

More information

Section 8.2 Polar Coordinates

Section 8.2 Polar Coordinates Section 8. Pola Coodinates 467 Section 8. Pola Coodinates The coodinate system we ae most familia with is called the Catesian coodinate system, a ectangula plane divided into fou quadants by the hoizontal

More information

Physics 121 Hour Exam #5 Solution

Physics 121 Hour Exam #5 Solution Physics 2 Hou xam # Solution This exam consists of a five poblems on five pages. Point values ae given with each poblem. They add up to 99 points; you will get fee point to make a total of. In any given

More information

Solution to HW 3, Ma 1a Fall 2016

Solution to HW 3, Ma 1a Fall 2016 Solution to HW 3, Ma a Fall 206 Section 2. Execise 2: Let C be a subset of the eal numbes consisting of those eal numbes x having the popety that evey digit in the decimal expansion of x is, 3, 5, o 7.

More information

Relating Scattering Amplitudes to Bound States

Relating Scattering Amplitudes to Bound States Reating Scatteing Ampitudes to Bound States Michae Fowe UVa. 1/17/8 Low Enegy Appoximations fo the S Matix In this section we examine the popeties of the patia-wave scatteing matix ( ) = 1+ ( ) S k ikf

More information

Suggested Solutions to Homework #4 Econ 511b (Part I), Spring 2004

Suggested Solutions to Homework #4 Econ 511b (Part I), Spring 2004 Suggested Solutions to Homewok #4 Econ 5b (Pat I), Sping 2004. Conside a neoclassical gowth model with valued leisue. The (epesentative) consume values steams of consumption and leisue accoding to P t=0

More information

Mechanics Physics 151

Mechanics Physics 151 Mechanics Physics 5 Lectue 5 Centa Foce Pobem (Chapte 3) What We Did Last Time Intoduced Hamiton s Pincipe Action intega is stationay fo the actua path Deived Lagange s Equations Used cacuus of vaiation

More information

33. 12, or its reciprocal. or its negative.

33. 12, or its reciprocal. or its negative. Page 6 The Point is Measuement In spite of most of what has been said up to this point, we did not undetake this poject with the intent of building bette themometes. The point is to measue the peson. Because

More information

Mechanics Physics 151

Mechanics Physics 151 Mechanics Physics 5 Lectue 5 Centa Foce Pobem (Chapte 3) What We Did Last Time Intoduced Hamiton s Pincipe Action intega is stationay fo the actua path Deived Lagange s Equations Used cacuus of vaiation

More information

15.081J/6.251J Introduction to Mathematical Programming. Lecture 6: The Simplex Method II

15.081J/6.251J Introduction to Mathematical Programming. Lecture 6: The Simplex Method II 15081J/6251J Intoduction to Mathematical Pogamming ectue 6: The Simplex Method II 1 Outline Revised Simplex method Slide 1 The full tableau implementation Anticycling 2 Revised Simplex Initial data: A,

More information

On intersecting a set of parallel line segments with a convex polygon of minimum area

On intersecting a set of parallel line segments with a convex polygon of minimum area On intesecting a set of aae ine segments with a convex oygon of minimum aea Asish Mukhoadhyay Schoo of Comute Science Univesity of Windso, Canada Eugene Geene Schoo of Comute Science Univesity of Windso,

More information

PHYS 705: Classical Mechanics. Central Force Problems II

PHYS 705: Classical Mechanics. Central Force Problems II PHYS 75: Cassica Mechanics Centa Foce Pobems II Obits in Centa Foce Pobem Sppose we e inteested moe in the shape of the obit, (not necessay the time evotion) Then, a sotion fo = () o = () wod be moe sef!

More information

Mutual Inductance. If current i 1 is time varying, then the Φ B2 flux is varying and this induces an emf ε 2 in coil 2, the emf is

Mutual Inductance. If current i 1 is time varying, then the Φ B2 flux is varying and this induces an emf ε 2 in coil 2, the emf is Mutua Inductance If we have a constant cuent i in coi, a constant magnetic fied is ceated and this poduces a constant magnetic fux in coi. Since the Φ B is constant, thee O induced cuent in coi. If cuent

More information

Online-routing on the butterfly network: probabilistic analysis

Online-routing on the butterfly network: probabilistic analysis Online-outing on the buttefly netwok: obabilistic analysis Andey Gubichev 19.09.008 Contents 1 Intoduction: definitions 1 Aveage case behavio of the geedy algoithm 3.1 Bounds on congestion................................

More information

Theorem on the differentiation of a composite function with a vector argument

Theorem on the differentiation of a composite function with a vector argument Poceedings of the Estonian Academy of Sciences 59 3 95 doi:.376/poc..3. Avaiae onine at www.eap.ee/poceedings Theoem on the diffeentiation of a composite function with a vecto agument Vadim Kapain and

More information

Splay Trees Handout. Last time we discussed amortized analysis of data structures

Splay Trees Handout. Last time we discussed amortized analysis of data structures Spla Tees Handout Amotied Analsis Last time we discussed amotied analsis of data stuctues A wa of epessing that even though the wost-case pefomance of an opeation can be bad, the total pefomance of a sequence

More information

AP Centripetal Acceleration Lab

AP Centripetal Acceleration Lab AP PHYSICS NAME: PERIOD: DATE: GRADE: DEVIL PHYSICS BADDEST CLASS ON CAMPUS AP Centipetal Acceleation Lab Note: Data collection will be done by table goups. Data analysis is to be done individually. Copying

More information

The Chromatic Villainy of Complete Multipartite Graphs

The Chromatic Villainy of Complete Multipartite Graphs Rocheste Institute of Technology RIT Schola Wos Theses Thesis/Dissetation Collections 8--08 The Chomatic Villainy of Complete Multipatite Gaphs Anna Raleigh an9@it.edu Follow this and additional wos at:

More information

Chapter Eight Notes N P U1C8S4-6

Chapter Eight Notes N P U1C8S4-6 Chapte Eight Notes N P UC8S-6 Name Peiod Section 8.: Tigonometic Identities An identit is, b definition, an equation that is alwas tue thoughout its domain. B tue thoughout its domain, that is to sa that

More information

FI 2201 Electromagnetism

FI 2201 Electromagnetism F Eectomagnetism exane. skana, Ph.D. Physics of Magnetism an Photonics Reseach Goup Magnetostatics MGNET VETOR POTENTL, MULTPOLE EXPNSON Vecto Potentia Just as E pemitte us to intouce a scaa potentia V

More information

Probability Estimation with Maximum Entropy Principle

Probability Estimation with Maximum Entropy Principle Pape 0,CCG Annua Repot, 00 ( c 00) Pobabiity Estimation with Maximum Entopy Pincipe Yupeng Li and Cayton V. Deutsch The pincipe of Maximum Entopy is a powefu and vesatie too fo infeing a pobabiity distibution

More information

Graphs of Sine and Cosine Functions

Graphs of Sine and Cosine Functions Gaphs of Sine and Cosine Functions In pevious sections, we defined the tigonometic o cicula functions in tems of the movement of a point aound the cicumfeence of a unit cicle, o the angle fomed by the

More information

Classical Worm algorithms (WA)

Classical Worm algorithms (WA) Classical Wom algoithms (WA) WA was oiginally intoduced fo quantum statistical models by Pokof ev, Svistunov and Tupitsyn (997), and late genealized to classical models by Pokof ev and Svistunov (200).

More information

Physics: Work & Energy Beyond Earth Guided Inquiry

Physics: Work & Energy Beyond Earth Guided Inquiry Physics: Wok & Enegy Beyond Eath Guided Inquiy Elliptical Obits Keple s Fist Law states that all planets move in an elliptical path aound the Sun. This concept can be extended to celestial bodies beyond

More information

Physics 107 TUTORIAL ASSIGNMENT #8

Physics 107 TUTORIAL ASSIGNMENT #8 Physics 07 TUTORIAL ASSIGNMENT #8 Cutnell & Johnson, 7 th edition Chapte 8: Poblems 5,, 3, 39, 76 Chapte 9: Poblems 9, 0, 4, 5, 6 Chapte 8 5 Inteactive Solution 8.5 povides a model fo solving this type

More information

Nuclear and Particle Physics - Lecture 20 The shell model

Nuclear and Particle Physics - Lecture 20 The shell model 1 Intoduction Nuclea and Paticle Physics - Lectue 0 The shell model It is appaent that the semi-empiical mass fomula does a good job of descibing tends but not the non-smooth behaviou of the binding enegy.

More information

Lab 10: Newton s Second Law in Rotation

Lab 10: Newton s Second Law in Rotation Lab 10: Newton s Second Law in Rotation We can descibe the motion of objects that otate (i.e. spin on an axis, like a popelle o a doo) using the same definitions, adapted fo otational motion, that we have

More information

Physics 11 Chapter 3: Vectors and Motion in Two Dimensions. Problem Solving

Physics 11 Chapter 3: Vectors and Motion in Two Dimensions. Problem Solving Physics 11 Chapte 3: Vectos and Motion in Two Dimensions The only thing in life that is achieved without effot is failue. Souce unknown "We ae what we epeatedly do. Excellence, theefoe, is not an act,

More information

ON INDEPENDENT SETS IN PURELY ATOMIC PROBABILITY SPACES WITH GEOMETRIC DISTRIBUTION. 1. Introduction. 1 r r. r k for every set E A, E \ {0},

ON INDEPENDENT SETS IN PURELY ATOMIC PROBABILITY SPACES WITH GEOMETRIC DISTRIBUTION. 1. Introduction. 1 r r. r k for every set E A, E \ {0}, ON INDEPENDENT SETS IN PURELY ATOMIC PROBABILITY SPACES WITH GEOMETRIC DISTRIBUTION E. J. IONASCU and A. A. STANCU Abstact. We ae inteested in constucting concete independent events in puely atomic pobability

More information

Lecture 1. time, say t=0, to find the wavefunction at any subsequent time t. This can be carried out by

Lecture 1. time, say t=0, to find the wavefunction at any subsequent time t. This can be carried out by Lectue The Schödinge equation In quantum mechanics, the fundamenta quantity that descibes both the patice-ike and waveike chaacteistics of patices is wavefunction, Ψ(. The pobabiity of finding a patice

More information

When two numbers are written as the product of their prime factors, they are in factored form.

When two numbers are written as the product of their prime factors, they are in factored form. 10 1 Study Guide Pages 420 425 Factos Because 3 4 12, we say that 3 and 4 ae factos of 12. In othe wods, factos ae the numbes you multiply to get a poduct. Since 2 6 12, 2 and 6 ae also factos of 12. The

More information

Lecture 8 - Gauss s Law

Lecture 8 - Gauss s Law Lectue 8 - Gauss s Law A Puzzle... Example Calculate the potential enegy, pe ion, fo an infinite 1D ionic cystal with sepaation a; that is, a ow of equally spaced chages of magnitude e and altenating sign.

More information

1 Explicit Explore or Exploit (E 3 ) Algorithm

1 Explicit Explore or Exploit (E 3 ) Algorithm 2.997 Decision-Making in Lage-Scale Systems Mach 3 MIT, Sping 2004 Handout #2 Lectue Note 9 Explicit Exploe o Exploit (E 3 ) Algoithm Last lectue, we studied the Q-leaning algoithm: [ ] Q t+ (x t, a t

More information

Current Balance Warm Up

Current Balance Warm Up PHYSICS EXPERIMENTS 133 Cuent Balance-1 Cuent Balance Wam Up 1. Foce between cuent-caying wies Wie 1 has a length L (whee L is "long") and caies a cuent I 0. What is the magnitude of the magnetic field

More information

Circular Orbits. and g =

Circular Orbits. and g = using analyse planetay and satellite motion modelled as unifom cicula motion in a univesal gavitation field, a = v = 4π and g = T GM1 GM and F = 1M SATELLITES IN OBIT A satellite is any object that is

More information

On the ratio of maximum and minimum degree in maximal intersecting families

On the ratio of maximum and minimum degree in maximal intersecting families On the atio of maximum and minimum degee in maximal intesecting families Zoltán Lóánt Nagy Lale Özkahya Balázs Patkós Máté Vize Mach 6, 013 Abstact To study how balanced o unbalanced a maximal intesecting

More information

Online Mathematics Competition Wednesday, November 30, 2016

Online Mathematics Competition Wednesday, November 30, 2016 Math@Mac Online Mathematics Competition Wednesday, Novembe 0, 206 SOLUTIONS. Suppose that a bag contains the nine lettes of the wod OXOMOXO. If you take one lette out of the bag at a time and line them

More information

Goodness-of-fit for composite hypotheses.

Goodness-of-fit for composite hypotheses. Section 11 Goodness-of-fit fo composite hypotheses. Example. Let us conside a Matlab example. Let us geneate 50 obsevations fom N(1, 2): X=nomnd(1,2,50,1); Then, unning a chi-squaed goodness-of-fit test

More information

working pages for Paul Richards class notes; do not copy or circulate without permission from PGR 2004/11/3 10:50

working pages for Paul Richards class notes; do not copy or circulate without permission from PGR 2004/11/3 10:50 woking pages fo Paul Richads class notes; do not copy o ciculate without pemission fom PGR 2004/11/3 10:50 CHAPTER7 Solid angle, 3D integals, Gauss s Theoem, and a Delta Function We define the solid angle,

More information

763620SS STATISTICAL PHYSICS Solutions 2 Autumn 2012

763620SS STATISTICAL PHYSICS Solutions 2 Autumn 2012 763620SS STATISTICAL PHYSICS Solutions 2 Autumn 2012 1. Continuous Random Walk Conside a continuous one-dimensional andom walk. Let w(s i ds i be the pobability that the length of the i th displacement

More information

PHYSICS 151 Notes for Online Lecture #20

PHYSICS 151 Notes for Online Lecture #20 PHYSICS 151 Notes fo Online Lectue #20 Toque: The whole eason that we want to woy about centes of mass is that we ae limited to looking at point masses unless we know how to deal with otations. Let s evisit

More information

Chapter 13 Gravitation

Chapter 13 Gravitation Chapte 13 Gavitation In this chapte we will exploe the following topics: -Newton s law of gavitation, which descibes the attactive foce between two point masses and its application to extended objects

More information

Gauss Law. Physics 231 Lecture 2-1

Gauss Law. Physics 231 Lecture 2-1 Gauss Law Physics 31 Lectue -1 lectic Field Lines The numbe of field lines, also known as lines of foce, ae elated to stength of the electic field Moe appopiately it is the numbe of field lines cossing

More information

Determining solar characteristics using planetary data

Determining solar characteristics using planetary data Detemining sola chaacteistics using planetay data Intoduction The Sun is a G-type main sequence sta at the cente of the Sola System aound which the planets, including ou Eath, obit. In this investigation

More information

7.2. Coulomb s Law. The Electric Force

7.2. Coulomb s Law. The Electric Force Coulomb s aw Recall that chaged objects attact some objects and epel othes at a distance, without making any contact with those objects Electic foce,, o the foce acting between two chaged objects, is somewhat

More information

Topic 4a Introduction to Root Finding & Bracketing Methods

Topic 4a Introduction to Root Finding & Bracketing Methods /8/18 Couse Instucto D. Raymond C. Rumpf Office: A 337 Phone: (915) 747 6958 E Mail: cumpf@utep.edu Topic 4a Intoduction to Root Finding & Backeting Methods EE 4386/531 Computational Methods in EE Outline

More information

B. Spherical Wave Propagation

B. Spherical Wave Propagation 11/8/007 Spheical Wave Popagation notes 1/1 B. Spheical Wave Popagation Evey antenna launches a spheical wave, thus its powe density educes as a function of 1, whee is the distance fom the antenna. We

More information

So, if we are finding the amount of work done over a non-conservative vector field F r, we do that long ur r b ur =

So, if we are finding the amount of work done over a non-conservative vector field F r, we do that long ur r b ur = 3.4 Geen s Theoem Geoge Geen: self-taught English scientist, 793-84 So, if we ae finding the amount of wok done ove a non-consevative vecto field F, we do that long u b u 3. method Wok = F d F( () t )

More information

Voltage ( = Electric Potential )

Voltage ( = Electric Potential ) V-1 of 10 Voltage ( = lectic Potential ) An electic chage altes the space aound it. Thoughout the space aound evey chage is a vecto thing called the electic field. Also filling the space aound evey chage

More information

10/04/18. P [P(x)] 1 negl(n).

10/04/18. P [P(x)] 1 negl(n). Mastemath, Sping 208 Into to Lattice lgs & Cypto Lectue 0 0/04/8 Lectues: D. Dadush, L. Ducas Scibe: K. de Boe Intoduction In this lectue, we will teat two main pats. Duing the fist pat we continue the

More information

Physics 161 Fall 2011 Extra Credit 2 Investigating Black Holes - Solutions The Following is Worth 50 Points!!!

Physics 161 Fall 2011 Extra Credit 2 Investigating Black Holes - Solutions The Following is Worth 50 Points!!! Physics 161 Fall 011 Exta Cedit Investigating Black Holes - olutions The Following is Woth 50 Points!!! This exta cedit assignment will investigate vaious popeties of black holes that we didn t have time

More information

Three-dimensional systems with spherical symmetry

Three-dimensional systems with spherical symmetry Thee-dimensiona systems with spheica symmety Thee-dimensiona systems with spheica symmety 006 Quantum Mechanics Pof. Y. F. Chen Thee-dimensiona systems with spheica symmety We conside a patice moving in

More information

Quantum Fourier Transform

Quantum Fourier Transform Chapte 5 Quantum Fouie Tansfom Many poblems in physics and mathematics ae solved by tansfoming a poblem into some othe poblem with a known solution. Some notable examples ae Laplace tansfom, Legende tansfom,

More information

Practice Integration Math 120 Calculus I Fall 2015

Practice Integration Math 120 Calculus I Fall 2015 Pactice Integation Math 0 Calculus I Fall 05 Hee s a list of pactice eecises. Thee s a hint fo each one as well as an answe with intemediate steps... ( + d. Hint. Answe. ( 8 t + t + This fist set of indefinite

More information

AP Physics - Coulomb's Law

AP Physics - Coulomb's Law AP Physics - oulomb's Law We ve leaned that electons have a minus one chage and potons have a positive one chage. This plus and minus one business doesn t wok vey well when we go in and ty to do the old

More information

Δt The textbook chooses to say that the average velocity is

Δt The textbook chooses to say that the average velocity is 1-D Motion Basic I Definitions: One dimensional motion (staight line) is a special case of motion whee all but one vecto component is zeo We will aange ou coodinate axis so that the x-axis lies along the

More information

EM-2. 1 Coulomb s law, electric field, potential field, superposition q. Electric field of a point charge (1)

EM-2. 1 Coulomb s law, electric field, potential field, superposition q. Electric field of a point charge (1) EM- Coulomb s law, electic field, potential field, supeposition q ' Electic field of a point chage ( ') E( ) kq, whee k / 4 () ' Foce of q on a test chage e at position is ee( ) Electic potential O kq

More information

Conflict Exam Issue. Sorry, Can t do it. Please see Kevin Pitts if you have any additional questions or concerns about this. Office is 231 Loomis

Conflict Exam Issue. Sorry, Can t do it. Please see Kevin Pitts if you have any additional questions or concerns about this. Office is 231 Loomis Conflict Exam Issue. Soy, Can t do it I was told that: Students can only be excused fom the scheduled final fo illness, death in the family o eligious holiday. No exceptions. Please see Kevin Pitts if

More information

Complex Eigenvalues. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Complex Eigenvalues. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB Pepaed by Vince Zaccone Fo ampus Leaning ssistance Sevices at USB omplex Numbes When solving fo the oots of a quadatic equation, eal solutions can not be found when the disciminant is negative. In these

More information

New problems in universal algebraic geometry illustrated by boolean equations

New problems in universal algebraic geometry illustrated by boolean equations New poblems in univesal algebaic geomety illustated by boolean equations axiv:1611.00152v2 [math.ra] 25 Nov 2016 Atem N. Shevlyakov Novembe 28, 2016 Abstact We discuss new poblems in univesal algebaic

More information

QIP Course 10: Quantum Factorization Algorithm (Part 3)

QIP Course 10: Quantum Factorization Algorithm (Part 3) QIP Couse 10: Quantum Factoization Algoithm (Pat 3 Ryutaoh Matsumoto Nagoya Univesity, Japan Send you comments to yutaoh.matsumoto@nagoya-u.jp Septembe 2018 @ Tokyo Tech. Matsumoto (Nagoya U. QIP Couse

More information

Unobserved Correlation in Ascending Auctions: Example And Extensions

Unobserved Correlation in Ascending Auctions: Example And Extensions Unobseved Coelation in Ascending Auctions: Example And Extensions Daniel Quint Univesity of Wisconsin Novembe 2009 Intoduction In pivate-value ascending auctions, the winning bidde s willingness to pay

More information

PHYS 1410, 11 Nov 2015, 12:30pm.

PHYS 1410, 11 Nov 2015, 12:30pm. PHYS 40, Nov 205, 2:30pm. A B = AB cos φ x = x 0 + v x0 t + a 2 xt 2 a ad = v2 2 m(v2 2 v) 2 θ = θ 0 + ω 0 t + 2 αt2 L = p fs µ s n 0 + αt K = 2 Iω2 cm = m +m 2 2 +... m +m 2 +... p = m v and L = I ω ω

More information

f h = u, h g = v, we have u + v = f g. So, we wish

f h = u, h g = v, we have u + v = f g. So, we wish Answes to Homewok 4, Math 4111 (1) Pove that the following examples fom class ae indeed metic spaces. You only need to veify the tiangle inequality. (a) Let C be the set of continuous functions fom [0,

More information

A proof of the binomial theorem

A proof of the binomial theorem A poof of the binomial theoem If n is a natual numbe, let n! denote the poduct of the numbes,2,3,,n. So! =, 2! = 2 = 2, 3! = 2 3 = 6, 4! = 2 3 4 = 24 and so on. We also let 0! =. If n is a non-negative

More information

Practice Integration Math 120 Calculus I D Joyce, Fall 2013

Practice Integration Math 120 Calculus I D Joyce, Fall 2013 Pactice Integation Math 0 Calculus I D Joyce, Fall 0 This fist set of indefinite integals, that is, antideivatives, only depends on a few pinciples of integation, the fist being that integation is invese

More information

HOW TO TEACH THE FUNDAMENTALS OF INFORMATION SCIENCE, CODING, DECODING AND NUMBER SYSTEMS?

HOW TO TEACH THE FUNDAMENTALS OF INFORMATION SCIENCE, CODING, DECODING AND NUMBER SYSTEMS? 6th INTERNATIONAL MULTIDISCIPLINARY CONFERENCE HOW TO TEACH THE FUNDAMENTALS OF INFORMATION SCIENCE, CODING, DECODING AND NUMBER SYSTEMS? Cecília Sitkuné Göömbei College of Nyíegyháza Hungay Abstact: The

More information

Do Managers Do Good With Other People s Money? Online Appendix

Do Managers Do Good With Other People s Money? Online Appendix Do Manages Do Good With Othe People s Money? Online Appendix Ing-Haw Cheng Haison Hong Kelly Shue Abstact This is the Online Appendix fo Cheng, Hong and Shue 2013) containing details of the model. Datmouth

More information

THE CONE THEOREM JOEL A. TROPP. Abstract. We prove a fixed point theorem for functions which are positive with respect to a cone in a Banach space.

THE CONE THEOREM JOEL A. TROPP. Abstract. We prove a fixed point theorem for functions which are positive with respect to a cone in a Banach space. THE ONE THEOEM JOEL A. TOPP Abstact. We pove a fixed point theoem fo functions which ae positive with espect to a cone in a Banach space. 1. Definitions Definition 1. Let X be a eal Banach space. A subset

More information

OSCILLATIONS AND GRAVITATION

OSCILLATIONS AND GRAVITATION 1. SIMPLE HARMONIC MOTION Simple hamonic motion is any motion that is equivalent to a single component of unifom cicula motion. In this situation the velocity is always geatest in the middle of the motion,

More information

FI 2201 Electromagnetism

FI 2201 Electromagnetism FI 2201 Electomagnetism Alexande A. Iskanda, Ph.D. Physics of Magnetism and Photonics Reseach Goup Electodynamics ELETROMOTIVE FORE AND FARADAY S LAW 1 Ohm s Law To make a cuent flow, we have to push the

More information

INTRODUCTION. 2. Vectors in Physics 1

INTRODUCTION. 2. Vectors in Physics 1 INTRODUCTION Vectos ae used in physics to extend the study of motion fom one dimension to two dimensions Vectos ae indispensable when a physical quantity has a diection associated with it As an example,

More information

MULTILAYER PERCEPTRONS

MULTILAYER PERCEPTRONS Last updated: Nov 26, 2012 MULTILAYER PERCEPTRONS Outline 2 Combining Linea Classifies Leaning Paametes Outline 3 Combining Linea Classifies Leaning Paametes Implementing Logical Relations 4 AND and OR

More information

you of a spring. The potential energy for a spring is given by the parabola U( x)

you of a spring. The potential energy for a spring is given by the parabola U( x) Small oscillations The theoy of small oscillations is an extemely impotant topic in mechanics. Conside a system that has a potential enegy diagam as below: U B C A x Thee ae thee points of stable equilibium,

More information

An Application of Bessel Functions: Study of Transient Flow in a Cylindrical Pipe

An Application of Bessel Functions: Study of Transient Flow in a Cylindrical Pipe Jouna of Mathematics and System Science 6 (16) 7-79 doi: 1.1765/159-591/16..4 D DAVID PUBLISHING An Appication of Besse Functions: Study of Tansient Fow in a Cyindica Pipe A. E. Gacía, Lu Maía Gacía Cu

More information

Today in Astronomy 142: the Milky Way s disk

Today in Astronomy 142: the Milky Way s disk Today in Astonomy 14: the Milky Way s disk Moe on stas as a gas: stella elaxation time, equilibium Diffeential otation of the stas in the disk The local standad of est Rotation cuves and the distibution

More information