Data Structures and Algorithm Analysis (CSC317) Randomized algorithms (part 2)
|
|
- Melanie Lloyd
- 5 years ago
- Views:
Transcription
1 Data Stuctues and Algoithm Analysis (CSC317) Randomized algoithms (at 2)
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 i n + c h m) Deends on ode of candidates! Constant no matte ode of candidates
3 Randomized hiing oblem(n) 1. andomly emute the list of candidates 2. Hie-Assistant(n) Hie-Assistant(n) 1. best = 0 //least qualified candidate 2. fo i = 1 to n 3. inteview candidate i 4. if candidate i bette than best 5. best = i 6. hie candidate i
4 Randomized hiing oblem(n) Instead of wost case We would like to know the cost on aveage of hiing new alicants X andom vaiable equal to numbe times new eson hied X = i X i
5 Randomized hiing oblem(n) X andom vaiable equal to numbe times new eson hied X = Whee i X i X i X i = I{i} ae indicato andom vaiables: 1 if candidate i hied 0 if candidate i not hied Fo notation, we can do the I symbol: X = 1 if candidate i hied i 0 if candidate i not hied
6 Randomized hiing oblem(n) X andom vaiable equal to numbe times new eson hied X = E X i X i n i=1 [ ] = E X i = n i=1 E [ X ] i Lineaity exectations
7 Randomized hiing oblem(n) X andom vaiable equal to numbe times new eson hied X = E X i X i n i=1 [ ] = E X i E[ X ] i = P( i) =? = n i=1 E [ X ] i Pob candidate i hied
8 Randomized hiing oblem(n) * X andom vaiable equal to numbe times new eson hied X = E X n i=1 X i n i=1 [ ] = E X i = n i=1 E [ X ] i E[ X ] i = P( i) = 1 i Pob candidate i hied E[ X] = n 1 =? i i=1 Put back in *
9 Randomized hiing oblem(n) X andom vaiable equal to numbe times new eson hied X = n i=1 E[ X] = X i n 1 = 1 i n = i=1 ln(n) + O(1) Hamonic seies
10 Randomized hiing oblem(n) X andom vaiable equal to numbe times new eson hied X = n i=1 E[ X] = X i n 1 = 1 i n = i=1 ln(n) + O(1) Vaious ways to ove: One easy way to see: Hamonic seies
11 Randomized hiing oblem(n) n 1 = 1 i n = i=1 ln(n) + O(1) Hamonic seies Vaious ways to see: k 1 > n n=1 k+1 1 dx = ln(k +1) x 1
12 Randomized hiing oblem(n) Cost of hiing new candidate C h So on aveage cost C h ln(n) What about wost case?
13 Randomized hiing oblem(n) Cost of hiing new candidate C h So on aveage cost C h ln(n) Comae to wost case C h n
14 Quicksot Inut: n numbes Outut: soted numbes, e.g., in inceasing ode O(n logn) on aveage Sots in lace, unlike Mege sot Elegant
15 Quicksot Quicksot(A,, ) 1. If < 2. q = Patition(A,,) 3. Quicksot(A,,q-1) 4. Quicksot(A,q+1,)
16 Quicksot Quicksot(A,, ) 1. If < 2. q = Patition(A,,) 3. Quicksot(A,,q-1) 4. Quicksot(A,q+1,) We can see it is a divide and conque, but what is secial?
17 Patition 1. Pick ivot element in aay A (fo now, we ll choose last element) 2. Reaange A so that elements befoe ivot ae smalle, and elements afte ivot ae lage Pivot Examle: A = [ ]
18 Patition Examle: A = [ ] Afte Patition: A = [ ] < ivot > ivot Pivot in its ight sot
19 Patition Animation: htt://
20 Patition Patition(A,,) 1. x=a[ ] 2. i=-1 3. fo j = to if A[ j ] <= x 5. i = I + 1;; 6. swa A[ i ] with A[ j ] 7. swa A[ i+1 ] with A[ ] 8. etun i+1 O(?)
21 Patition Patition(A,,) 1. x=a[ ] ivot 2. i=-1 3. fo j = to if A[ j ] <= x 5. i = i swa A[ i ] with A[ j ] 7. swa A[ i+1 ] with A[ ] 8. etun i+1 O(n) Why?
22 Patition Patition(A,,) 1. x=a[ ] ivot 2. i=-1 3. fo j = to if A[ j ] <= x 5. i = i swa A[ i ] with A[ j ] 7. swa A[ i+1 ] with A[ ] 8. etun i+1 O(n) Why? Fo each j, at most one swa
23 Patition Reviewing evious mateial Loo invaiant?
24 Patition i j Loo invaiant? i kees tack of ivot location j kees tack of next element to chk Befoe the fo loo at given j 1. All elements in A[..i] <= ivot 2. All elements in A[i+1..j-1] > ivot 3. A[] = ivot
25 Patition i j Loo invaiant? i kees tack of ivot location j kees tack of next element to chk i j i j A[]: ivot A[j.. 1]: not yet examined A[i+1.. j 1]: known to be > ivot A[.. i]: known to be ivot
26 Quicksot Quicksot(A,, ) 1. If < 2. q = Patition(A,,) 3. Quicksot(A,,q-1) 4. Quicksot(A,q+1,) When will Patition do a bad job?
27 Quicksot Quicksot(A,, ) 1. If < 2. q = Patition(A,,) 3. Quicksot(A,,q-1) 4. Quicksot(A,q+1,) When will Patition do a bad job? When the atition is fo zeo elements vesus n-1 T(n) = T(n 1) + Θ(n) = Θ(n 2 )
28 Quicksot Quicksot(A,, ) 1. If < 2. q = Patition(A,,) 3. Quicksot(A,,q-1) 4. Quicksot(A,q+1,) When will Patition do a good job?
29 Quicksot q Quicksot(A,, ) 1. If < 2. q = Patition(A,,) 3. Quicksot(A,,q-1) 4. Quicksot(A,q+1,) When will Patition do a good job? When the atition is oughly equal in tems of numbes smalle than and geate than ivot T(n) = 2T(n / 2) + Θ(n) = Θ(nlogn) (as in Mege sot)
30 Quicksot Quicksot(A,, ) 1. If < 2. q = Patition(A,,) 3. Quicksot(A,,q-1) 4. Quicksot(A,q+1,) How do we choose the ivot oint?? So that good ON AVERAGE?
31 Quicksot Quicksot(A,, ) 1. If < 2. q = Patition(A,,) 3. Quicksot(A,,q-1) 4. Quicksot(A,q+1,) KEY APPROACH: Choose ivot RANDOMLY
32 Quicksot Quicksot(A,, ) 1. If < 2. q = Patition(A,,) 3. Quicksot(A,,q-1) 4. Quicksot(A,q+1,) Why might a andom choice be good enough? We saw that equal slit good;; What about a 3 to 1, o 9 to 1 slit?
33 Quicksot q Quicksot(A,, ) 1. If < 2. q = Patition(A,,) 3. Quicksot(A,,q-1) 4. Quicksot(A,q+1,) What about a 3 to 1, o 9 to 1 slit?
34 Quicksot q Quicksot(A,, ) 1. If < 2. q = Patition(A,,) 3. Quicksot(A,,q-1) 4. Quicksot(A,q+1,) What about a 9 to 1 slit? T(n) = T(9n /10) + T(n /10) + Θ(n) =?
35 Quicksot n cn log 10 n 1 10 n 9 10 n 1 n 9 n 9 n 81 n cn cn log 10=9 n n n cn cn What about a 9 to 1 slit? 1 cn O.nlg n/ T(n) = T(9n /10) + T(n /10) + Θ(n) = Θ(nlogn)
36 Quicksot Quicksot(A,, ) 1. If < 2. q = Patition(A,,) 3. Quicksot(A,,q-1) 4. Quicksot(A,q+1,) Why might a andom choice be good enough? Even a 9 to 1, o 3 to 1 slit, is O(n log n) Might not be so had to get on aveage??
37 Quicksot on aveage un time We ll ove that aveage un time with andom ivots fo any inut aay is O(n log n) Randomness is in choosing ivot Aveage as good as best case! Next class
Data Structures and Algorithm Analysis (CSC317) Randomized algorithms
Data Structures and Algorithm Analysis (CSC317) Randomized algorithms Hiring problem We always want the best hire for a job! Using employment agency to send one candidate at a time Each day, we interview
More informationOnline-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 informationHomework 1 Solutions CSE 101 Summer 2017
Homewok 1 Soutions CSE 101 Summe 2017 1 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
More informationMerging 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 informationPHYS 172: Modern Mechanics. Summer Lecture 4 The Momentum Principle & Predicting Motion Read
PHYS 172: Moden Mechanics Summe 2010 Δp sys = F net Δt ΔE = W + Q sys su su ΔL sys = τ net Δt Lectue 4 The Momentum Pinciple & Pedicting Motion Read 2.6-2.9 READING QUESTION #1 Reading Question Which of
More informationC/CS/Phys C191 Shor s order (period) finding algorithm and factoring 11/12/14 Fall 2014 Lecture 22
C/CS/Phys C9 Sho s ode (peiod) finding algoithm and factoing /2/4 Fall 204 Lectue 22 With a fast algoithm fo the uantum Fouie Tansfom in hand, it is clea that many useful applications should be possible.
More informationThe 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 information1 Notes on Order Statistics
1 Notes on Ode Statistics Fo X a andom vecto in R n with distibution F, and π S n, define X π by and F π by X π (X π(1),..., X π(n) ) F π (x 1,..., x n ) F (x π 1 (1),..., x π 1 (n)); then the distibution
More informationAnalysis of Arithmetic. Analysis of Arithmetic. Analysis of Arithmetic Round-Off Errors. Analysis of Arithmetic. Analysis of Arithmetic
In the fixed-oint imlementation of a digital filte only the esult of the multilication oeation is quantied The eesentation of a actical multilie with the quantie at its outut is shown below u v Q ^v The
More informationME 3600 Control Systems Frequency Domain Analysis
ME 3600 Contol Systems Fequency Domain Analysis The fequency esponse of a system is defined as the steady-state esponse of the system to a sinusoidal (hamonic) input. Fo linea systems, the esulting steady-state
More informationRegularization. Stephen Scott and Vinod Variyam. Introduction. Outline. Machine. Learning. Problems. Measuring. Performance.
leaning can geneally be distilled to an optimization poblem Choose a classifie (function, hypothesis) fom a set of functions that minimizes an objective function Clealy we want pat of this function to
More informationPhysics 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 information15.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 information6 Matrix Concentration Bounds
6 Matix Concentation Bounds Concentation bounds ae inequalities that bound pobabilities of deviations by a andom vaiable fom some value, often its mean. Infomally, they show the pobability that a andom
More informationEdge Cover Time for Regular Graphs
1 2 3 47 6 23 11 Jounal of Intege Sequences, Vol. 11 (28, Aticle 8.4.4 Edge Cove Time fo Regula Gahs Robeto Tauaso Diatimento di Matematica Univesità di Roma To Vegata via della Riceca Scientifica 133
More informationChem 453/544 Fall /08/03. Exam #1 Solutions
Chem 453/544 Fall 3 /8/3 Exam # Solutions. ( points) Use the genealized compessibility diagam povided on the last page to estimate ove what ange of pessues A at oom tempeatue confoms to the ideal gas law
More informationH5 Gas meter calibration
H5 Gas mete calibation Calibation: detemination of the elation between the hysical aamete to be detemined and the signal of a measuement device. Duing the calibation ocess the measuement equiment is comaed
More informationMath 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 informationSplay 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 information556: MATHEMATICAL STATISTICS I
556: MATHEMATICAL STATISTICS I CHAPTER 5: STOCHASTIC CONVERGENCE The following efinitions ae state in tems of scala anom vaiables, but exten natually to vecto anom vaiables efine on the same obability
More informationLot-sizing for inventory systems with product recovery
Lot-sizing fo inventoy systems with oduct ecovey Ruud Teunte August 29, 2003 Econometic Institute Reot EI2003-28 Abstact We study inventoy systems with oduct ecovey. Recoveed items ae as-good-as-new and
More informationMultiple Criteria Secretary Problem: A New Approach
J. Stat. Appl. Po. 3, o., 9-38 (04 9 Jounal of Statistics Applications & Pobability An Intenational Jounal http://dx.doi.og/0.785/jsap/0303 Multiple Citeia Secetay Poblem: A ew Appoach Alaka Padhye, and
More informationPhysics: 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 informationNOTICE 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 informationCSCE 478/878 Lecture 4: Experimental Design and Analysis. Stephen Scott. 3 Building a tree on the training set Introduction. Outline.
In Homewok, you ae (supposedly) Choosing a data set 2 Extacting a test set of size > 3 3 Building a tee on the taining set 4 Testing on the test set 5 Repoting the accuacy (Adapted fom Ethem Alpaydin and
More informationAnalysis of Finite Word-Length Effects
T-6.46 Digital Signal Pocessing and Filteing 8.9.4 Intoduction Analysis of Finite Wod-Length Effects Finite wodlength effects ae caused by: Quantization of the filte coefficients ounding / tuncation of
More informationKepler s problem gravitational attraction
Kele s oblem gavitational attaction Summay of fomulas deived fo two-body motion Let the two masses be m and m. The total mass is M = m + m, the educed mass is µ = m m /(m + m ). The gavitational otential
More informationProblem Set #10 Math 471 Real Analysis Assignment: Chapter 8 #2, 3, 6, 8
Poblem Set #0 Math 47 Real Analysis Assignment: Chate 8 #2, 3, 6, 8 Clayton J. Lungstum Decembe, 202 xecise 8.2 Pove the convese of Hölde s inequality fo = and =. Show also that fo eal-valued f / L ),
More informationLab 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 information3.012 Fund of Mat Sci: Bonding Lecture 5/6. Comic strip removed for copyright reasons.
3.12 Fund of Mat Sci: Bonding Lectue 5/6 THE HYDROGEN ATOM Comic stip emoved fo copyight easons. Last Time Metal sufaces and STM Diac notation Opeatos, commutatos, some postulates Homewok fo Mon Oct 3
More informationk. s k=1 Part of the significance of the Riemann zeta-function stems from Theorem 9.2. If s > 1 then 1 p s
9 Pimes in aithmetic ogession Definition 9 The Riemann zeta-function ζs) is the function which assigns to a eal numbe s > the convegent seies k s k Pat of the significance of the Riemann zeta-function
More informationErrata for Edition 1 of Coding the Matrix, January 13, 2017
Eata fo Edition of Coding the Matix, Januay 3, 07 You coy might not contain some of these eos. Most do not occu in the coies cuently being sold as Ail 05. Section 0.3:... the inut is a e-image of the inut...
More informationTHE NUMBER OF TWO CONSECUTIVE SUCCESSES IN A HOPPE-PÓLYA URN
TH NUMBR OF TWO CONSCUTIV SUCCSSS IN A HOPP-PÓLYA URN LARS HOLST Depatment of Mathematics, Royal Institute of Technology S 100 44 Stocholm, Sweden -mail: lholst@math.th.se Novembe 27, 2007 Abstact In a
More informationChapter 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 informationSolution 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 informationBEST CONSTANTS FOR UNCENTERED MAXIMAL FUNCTIONS. Loukas Grafakos and Stephen Montgomery-Smith University of Missouri, Columbia
BEST CONSTANTS FOR UNCENTERED MAXIMAL FUNCTIONS Loukas Gafakos and Stehen Montgomey-Smith Univesity of Missoui, Columbia Abstact. We ecisely evaluate the oeato nom of the uncenteed Hady-Littlewood maximal
More informationThe second law of thermodynamics - II.
Januay 21, 2013 The second law of themodynamics - II. Asaf Pe e 1 1. The Schottky defect At absolute zeo tempeatue, the atoms of a solid ae odeed completely egulaly on a cystal lattice. As the tempeatue
More informationA path-integral approach to CMB
A path-integal appoach to CMB Based on PHR and L. R. Abamo, CMB and Random Flights: tempeatue and polaization in position space, JCAP6(3)43 Paulo Henique Reimbeg IF-USP II JBPCosmo, 4/3, Peda Azul, ES
More informationNuclear 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 informationA 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 information1 Similarity Analysis
ME43A/538A/538B Axisymmetic Tubulent Jet 9 Novembe 28 Similaity Analysis. Intoduction Conside the sketch of an axisymmetic, tubulent jet in Figue. Assume that measuements of the downsteam aveage axial
More information13. Adiabatic Invariants and Action-Angle Variables Michael Fowler
3 Adiabatic Invaiants and Action-Angle Vaiables Michael Fowle Adiabatic Invaiants Imagine a paticle in one dimension oscillating back and foth in some potential he potential doesn t have to be hamonic,
More informationSolutions to Problem Set 8
Massachusetts Institute of Technology 6.042J/18.062J, Fall 05: Mathematics fo Compute Science Novembe 21 Pof. Albet R. Meye and Pof. Ronitt Rubinfeld evised Novembe 27, 2005, 858 minutes Solutions to Poblem
More informationWeb-based Supplementary Materials for. Controlling False Discoveries in Multidimensional Directional Decisions, with
Web-based Supplementay Mateials fo Contolling False Discoveies in Multidimensional Diectional Decisions, with Applications to Gene Expession Data on Odeed Categoies Wenge Guo Biostatistics Banch, National
More informationRecognizable Infinite Triangular Array Languages
IOSR Jounal of Mathematics (IOSR-JM) e-issn: 2278-5728, -ISSN: 2319-765X. Volume 14, Issue 1 Ve. I (Jan. - Feb. 2018), PP 01-10 www.iosjounals.og Recognizable Infinite iangula Aay Languages 1 V.Devi Rajaselvi,
More informationQ. Obtain the Hamiltonian for a one electron atom in the presence of an external magnetic field.
Syed Ashad Hussain Lectue Deatment of Physics Tiua Univesity www.sahussaintu.wodess.com Q. Obtain the Hamiltonian fo a one electon atom in the esence of an extenal magnetic field. To have an idea about
More information15 Solving the Laplace equation by Fourier method
5 Solving the Laplace equation by Fouie method I aleady intoduced two o thee dimensional heat equation, when I deived it, ecall that it taes the fom u t = α 2 u + F, (5.) whee u: [0, ) D R, D R is the
More information1 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 informationBasic propositional and. The fundamentals of deduction
Baic ooitional and edicate logic The fundamental of deduction 1 Logic and it alication Logic i the tudy of the atten of deduction Logic lay two main ole in comutation: Modeling : logical entence ae the
More informationApproximating the minimum independent dominating set in perturbed graphs
Aoximating the minimum indeendent dominating set in etubed gahs Weitian Tong, Randy Goebel, Guohui Lin, Novembe 3, 013 Abstact We investigate the minimum indeendent dominating set in etubed gahs gg, )
More informationSincere Voting and Information Aggregation with Voting Costs
Sincee Voting and Infomation Aggegation with Voting Costs Vijay Kishna y and John Mogan z August 007 Abstact We study the oeties of euilibium voting in two-altenative elections unde the majoity ule. Votes
More informationRandom Variables and Probability Distribution Random Variable
Random Vaiables and Pobability Distibution Random Vaiable Random vaiable: If S is the sample space P(S) is the powe set of the sample space, P is the pobability of the function then (S, P(S), P) is called
More informationBerkeley Math Circle AIME Preparation March 5, 2013
Algeba Toolkit Rules of Thumb. Make sue that you can pove all fomulas you use. This is even bette than memoizing the fomulas. Although it is best to memoize, as well. Stive fo elegant, economical methods.
More informationRydberg-Rydberg Interactions
Rydbeg-Rydbeg Inteactions F. Robicheaux Aubun Univesity Rydbeg gas goes to plasma Dipole blockade Coheent pocesses in fozen Rydbeg gases (expts) Theoetical investigation of an excitation hopping though
More informationCh 13 Universal Gravitation
Ch 13 Univesal Gavitation Ch 13 Univesal Gavitation Why do celestial objects move the way they do? Keple (1561-1630) Tycho Bahe s assistant, analyzed celestial motion mathematically Galileo (1564-1642)
More informationAssessing the Reliability of Rating Data
Paul Baett age 1 Assessing the Reliability of Rating Data Ratings ae any kind of coding (qualitative o quantitative) made concening attitudes, behavious, o cognitions. Hee, I am concened with those kinds
More informationStanford 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 informationClassical 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 information3.1 Random variables
3 Chapte III Random Vaiables 3 Random vaiables A sample space S may be difficult to descibe if the elements of S ae not numbes discuss how we can use a ule by which an element s of S may be associated
More informationNew 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 informationMarkscheme May 2017 Calculus Higher level Paper 3
M7/5/MATHL/HP3/ENG/TZ0/SE/M Makscheme May 07 Calculus Highe level Pape 3 pages M7/5/MATHL/HP3/ENG/TZ0/SE/M This makscheme is the popety of the Intenational Baccalaueate and must not be epoduced o distibuted
More informationFE FORMULATIONS FOR PLASTICITY
G These slides ae designed based on the book: Finite Elements in Plasticity Theoy and Pactice, D.R.J. Owen and E. Hinton, 970, Pineidge Pess Ltd., Swansea, UK. Couse Content: A INTRODUCTION AND OVERVIEW
More informationPhysics 221 Lecture 41 Nonlinear Absorption and Refraction
Physics 221 Lectue 41 Nonlinea Absoption and Refaction Refeences Meye-Aendt, pp. 97-98. Boyd, Nonlinea Optics, 1.4 Yaiv, Optical Waves in Cystals, p. 22 (Table of cystal symmeties) 1. Intoductoy Remaks.
More informationFW Laboratory Exercise. Survival Estimation from Banded/Tagged Animals. Year No. i Tagged
FW66 -- Laboatoy Execise uvival Estimation fom Banded/Tagged Animals Conside a geogaphically closed population of tout (Youngs and Robson 97). The adults ae tagged duing fall spawning, and subsequently
More informationASTR415: Problem Set #6
ASTR45: Poblem Set #6 Cuan D. Muhlbege Univesity of Mayland (Dated: May 7, 27) Using existing implementations of the leapfog and Runge-Kutta methods fo solving coupled odinay diffeential equations, seveal
More informationMomentum is conserved if no external force
Goals: Lectue 13 Chapte 9 v Employ consevation of momentum in 1 D & 2D v Examine foces ove time (aka Impulse) Chapte 10 v Undestand the elationship between motion and enegy Assignments: l HW5, due tomoow
More informationParticle Systems. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell
Paticle Systems Univesity of Texas at Austin CS384G - Compute Gaphics Fall 2010 Don Fussell Reading Requied: Witkin, Paticle System Dynamics, SIGGRAPH 97 couse notes on Physically Based Modeling. Witkin
More informationContinuous Charge Distributions: Electric Field and Electric Flux
8/30/16 Quiz 2 8/25/16 A positive test chage qo is eleased fom est at a distance away fom a chage of Q and a distance 2 away fom a chage of 2Q. How will the test chage move immediately afte being eleased?
More informationModule 18: Outline. Magnetic Dipoles Magnetic Torques
Module 18: Magnetic Dipoles 1 Module 18: Outline Magnetic Dipoles Magnetic Toques 2 IA nˆ I A Magnetic Dipole Moment μ 3 Toque on a Cuent Loop in a Unifom Magnetic Field 4 Poblem: Cuent Loop Place ectangula
More informationTransverse Wakefield in a Dielectric Tube with Frequency Dependent Dielectric Constant
ARDB-378 Bob Siemann & Alex Chao /4/5 Page of 8 Tansvese Wakefield in a Dielectic Tube with Fequency Dependent Dielectic Constant This note is a continuation of ARDB-368 that is now extended to the tansvese
More informationConventional Interrater Reliability definitions, formulae, and worked examples in SPSS and STATISTICA
Conventional Inteate Reliability definitions, fomulae, and woked examles in SPSS and STATISTICA Mach, 001 htt://www.baett.net/techaes/i_conventional.df f of 8 Assessing the Reliability of Rating Data Ratings
More informationImage Enhancement: Histogram-based methods
Image Enhancement: Hitogam-baed method The hitogam of a digital image with gayvalue, i the dicete function,, L n n # ixel with value Total # ixel image The function eeent the faction of the total numbe
More informationPhysics Fall Mechanics, Thermodynamics, Waves, Fluids. Lecture 18: System of Particles II. Slide 18-1
Physics 1501 Fall 2008 Mechanics, Themodynamics, Waves, Fluids Lectue 18: System of Paticles II Slide 18-1 Recap: cente of mass The cente of mass of a composite object o system of paticles is the point
More informationTopic 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 informationElectric Field. y s +q. Point charge: Uniformly charged sphere: Dipole: for r>>s :! ! E = 1. q 1 r 2 ˆr. E sphere. at <0,r,0> at <0,0,r>
Electic Field Point chage: E " ˆ Unifomly chaged sphee: E sphee E sphee " Q ˆ fo >R (outside) fo >s : E " s 3,, at z y s + x Dipole moment: p s E E s "#,, 3 s "#,, 3 at
More informationElectromagnetism Physics 15b
lectomagnetism Physics 15b Lectue #20 Dielectics lectic Dipoles Pucell 10.1 10.6 What We Did Last Time Plane wave solutions of Maxwell s equations = 0 sin(k ωt) B = B 0 sin(k ωt) ω = kc, 0 = B, 0 ˆk =
More information9.1 The multiplicative group of a finite field. Theorem 9.1. The multiplicative group F of a finite field is cyclic.
Chapte 9 Pimitive Roots 9.1 The multiplicative goup of a finite fld Theoem 9.1. The multiplicative goup F of a finite fld is cyclic. Remak: In paticula, if p is a pime then (Z/p) is cyclic. In fact, this
More informationPHYS Summer Professor Caillault Homework Solutions. Chapter 5
PHYS 1111 - Summe 2007 - Pofesso Caillault Homewok Solutions Chapte 5 7. Pictue the Poblem: The ball is acceleated hoizontally fom est to 98 mi/h ove a distance of 1.7 m. Stategy: Use equation 2-12 to
More informationDorin Andrica Faculty of Mathematics and Computer Science, Babeş-Bolyai University, Cluj-Napoca, Romania
#A INTEGERS 5A (05) THE SIGNUM EQUATION FOR ERDŐS-SURÁNYI SEQUENCES Doin Andica Faculty of Mathematics and Comute Science, Babeş-Bolyai Univesity, Cluj-Naoca, Romania dandica@math.ubbcluj.o Eugen J. Ionascu
More information3.6 Applied Optimization
.6 Applied Optimization Section.6 Notes Page In this section we will be looking at wod poblems whee it asks us to maimize o minimize something. Fo all the poblems in this section you will be taking the
More informationII. Non-paper: Zeta functions in scattering problems evaluated on the real wave number axis. Andreas Wirzba. Institut fur Kernphysik, TH Darmstadt
Damstadt, Octobe, 995 II. Non-ae: Zeta functions in scatteing oblems evaluated on the eal wave numbe axis Andeas Wizba Institut fu Kenhysik, TH Damstadt Schlogatenst. 9, D-6489 Damstadt, Gemany email:
More informationDymore User s Manual Two- and three dimensional dynamic inflow models
Dymoe Use s Manual Two- and thee dimensional dynamic inflow models Contents 1 Two-dimensional finite-state genealized dynamic wake theoy 1 Thee-dimensional finite-state genealized dynamic wake theoy 1
More informationAn Estimate of Incomplete Mixed Character Sums 1 2. Mei-Chu Chang 3. Dedicated to Endre Szemerédi for his 70th birthday.
An Estimate of Incomlete Mixed Chaacte Sums 2 Mei-Chu Chang 3 Dedicated to Ende Szemeédi fo his 70th bithday. 4 In this note we conside incomlete mixed chaacte sums ove a finite field F n of the fom x
More informationLecture 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 information763620SS 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 informationTopics in Brain Computer Interfaces CS295-7
Topics in Bain Compute Intefaces CS295-7 ofesso: MICHAEL BLACK TA: FRANK WOOD Sping 25 Automated Spie Soting Fan Wood - fwood@cs.bown.edu Today aticle Filte Homewo Discussion and Review Kalman Filte Review
More informationQuicksort (CLRS 7) We previously saw how the divide-and-conquer technique can be used to design sorting algorithm Merge-sort
Quicksort (CLRS 7) We previously saw how the divide-and-conquer technique can be used to design sorting algorithm Merge-sort Partition n elements array A into two subarrays of n/2 elements each Sort the
More informationMethod 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 informationPractice 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 informationNotes on McCall s Model of Job Search. Timothy J. Kehoe March if job offer has been accepted. b if searching
Notes on McCall s Model of Job Seach Timothy J Kehoe Mach Fv ( ) pob( v), [, ] Choice: accept age offe o eceive b and seach again next peiod An unemployed oke solves hee max E t t y t y t if job offe has
More informationLECTURE 15. Phase-amplitude variables. Non-linear transverse motion
LETURE 5 Non-linea tansvese otion Phase-aplitude vaiables Second ode (quadupole-diven) linea esonances Thid-ode (sextupole-diven) non-linea esonances // USPAS Lectue 5 Phase-aplitude vaiables Although
More informationOn a quantity that is analogous to potential and a theorem that relates to it
Su une quantité analogue au potential et su un théoème y elatif C R Acad Sci 7 (87) 34-39 On a quantity that is analogous to potential and a theoem that elates to it By R CLAUSIUS Tanslated by D H Delphenich
More information1. Show that the volume of the solid shown can be represented by the polynomial 6x x.
7.3 Dividing Polynomials by Monomials Focus on Afte this lesson, you will be able to divide a polynomial by a monomial Mateials algeba tiles When you ae buying a fish tank, the size of the tank depends
More informationPractice 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 informationQuasi-Randomness and the Distribution of Copies of a Fixed Graph
Quasi-Randomness and the Distibution of Copies of a Fixed Gaph Asaf Shapia Abstact We show that if a gaph G has the popety that all subsets of vetices of size n/4 contain the coect numbe of tiangles one
More informationReview Exercise Set 16
Review Execise Set 16 Execise 1: A ectangula plot of famland will be bounded on one side by a ive and on the othe thee sides by a fence. If the fame only has 600 feet of fence, what is the lagest aea that
More informationThe 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 informationINTRODUCTION. 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 informationCOMP Parallel Computing SMM (3) OpenMP Case Study: The Barnes-Hut N-body Algorithm
COMP 633 - Paallel Computing Lectue 8 Septembe 14, 2017 SMM (3) OpenMP Case Study: The Banes-Hut N-body Algoithm Topics Case study: the Banes-Hut algoithm Study an impotant algoithm in scientific computing»
More informationSingle Particle State AB AB
LECTURE 3 Maxwell Boltzmann, Femi, and Bose Statistics Suppose we have a gas of N identical point paticles in a box of volume V. When we say gas, we mean that the paticles ae not inteacting with one anothe.
More information