van Emde Boas Data Structure
|
|
- Jennifer Walters
- 7 years ago
- Views:
Transcription
1 Lecture 15 van Emde Boas Data Structure Supplemental reading in CLRS: Capter 20 Given a fixed integer n, wat is te best way to represent a subset S of {0,..., n 1} in memory, assuming tat space is not a concern? Te simplest way is to use an n-bit array A, setting A[i] = 1 if and only if i S, as we saw in Lecture 10. Tis solution gives O(1) running time for insertions, deletions, and lookups (i.e., testing weter a given number x is in S). 1 Wat if we want our data structure to support more operations, toug? Peraps we want to be able not just to insert, delete and lookup, but also to find te minimum and maximum elements of S. Or, given some element x S, we may want to find te successor and predecessor of x, wic are te smallest element of S tat is greater tan x and te largest element of S tat is less tan x, respectively. On a bit array, tese operations would all take time Θ( S ) in te worst case, as we migt need to examine all te elements of S. Te van Emde Boas (veb) data structure is a clever alternative solution wic outperforms a bit array for tis purpose: Operation Bit array van Emde Boas INSERT O(1) Θ(lg lg n) DELETE O(1) Θ(lg lg n) LOOKUP O(1) Θ(lg lg n) MAXIMUM, MINIMUM Θ(n) O(1) SUCCESSOR, PREDECESSOR Θ(n) Θ(lg lg n) We will not discuss te implementation of SUCCESSOR and PREDECESSOR; tose will be left to recitation Analogy: Te Two-Coconut Problem Te following riddle nicely illustrates te idea of te van Emde Boas data structure. I am somewat embarrassed to give te riddle because it sows a complete misunderstanding of materials science and botany, but it is a standard example and I can t tink of a better one. Problem Tere exists some unknown integer k between 1 and 100 (or in general, between 1 and some large integer n) suc tat, wenever a coconut is dropped from a eigt of k inces or 1 Tis performance really is unbeatable, even for small n. Eac operation on te bit array requires only a single memory access.
2 n k Figure One strategy for te two-coconut problem is to divide te integers {1,..., n} into blocks of size, and ten use te first coconut to figure out wic block k is in. Once te first coconut breaks, it takes at most 1 more drops to find te value of k. more, te coconut will crack, and wenever a coconut is dropped from a eigt of less tan k inces, te coconut will be completely undamaged and it will be as if we ad not dropped te coconut at all. (Tus, we could drop te coconut from a eigt of k 1 inces a million times and noting would appen.) Our goal is to find k wit as few drops as possible, given a certain number of test coconuts wic cannot be reused after tey crack. If we ave one coconut, ten clearly we must first try 1 inc, ten 2 inces, and so on. Te riddle asks, wat is te best way to proceed if we ave two coconuts? An approximate answer to te riddle is given by te following strategy: Divide te n-inc range into b blocks of eigt eac (we will coose b and later; see Figure 15.1). Drop te first coconut from eigt, ten from eigt 2, and so on, until it cracks. Say te first coconut cracks at eigt b 0. Ten drop te second coconut from eigts (b 0 1) + 1, (b 0 1) + 2, and so on, until it cracks. Tis metod requires at most b + 1 = n + 1 drops, wic is minimized wen b = = n. Notice tat, once te first coconut cracks, our problem becomes identical to te one-coconut version (except tat instead of looking for a number between 1 and n, we are looking for a number between (b 0 1) +1 and b 0 1). Similarly, if we started wit tree coconuts instead of two, ten it would be a good idea to divide te range {1,..., n} into equally-sized blocks and execute te solution to te two-cononut problem once te first coconut cracked. Exercise If we use te above strategy to solve te tree-coconut problem, wat size sould we coose for te blocks? (Hint: it is not n.) 15.2 Implementation: A Recursive Data Structure Just as in te two-coconut problem, te van Emde Boas data structure divides te range {0,..., n 1} into blocks of size n, wic we call clusters. Eac cluster is itself a veb structure of size n. In addition, tere is a summary structure tat keeps track of wic clusters are nonempty (see Figure Lec 15 pg. 2 of 6
3 veb: size = 16 max = 13 min = 2 summary = clusters = veb of size 4 representing {0,1,3} veb of size 4 representing {2,3} NIL veb of size 4 representing {1,3} veb of size 4 representing {1} Figure A veb structure of size 16 representing te set {2,3,5,7,13} {0,...,15}. 15.2). Te summary structure is analogous to te first coconut, wic told us wat block k ad to lie in Crucial implementation detail Te following implementation detail, wic may seem unimportant at first, is actually crucial to te performance of te van Emde Boas data structure: Do not store te minimum and maximum elements in clusters. Instead, store tem as separate data fields. Tus, te data fields of a veb structure V of size n are as follows: V.size te size of V, namely n V.max te maximum element of V, or NIL if V is empty V.min te minimum element of V, or NIL if V is empty V.clusters an array of size n wic stores te clusters. For performance reasons, te value stored in eac entry of V.clusters will initially be NIL; we will wait to build eac cluster until we ave to insert someting into it. V.summary a van Emde Boas structure of size n tat keeps track of wic clusters are nonempty. As wit te entries of V.clusters, we initially set V.summary NIL; we do not build te recursive van Emde Boas structure referenced by V.summary until we ave to insert someting into it (i.e., until te first time we create a cluster for V ) Insertions To simplify te exposition, in tis lecture we use a model of computation in wic it takes constant time to initialize any array (setting all entries equal to NIL), no matter ow big te array is. 2 Tus, 2 Of course, tis is ceating; real computers need an initialization time tat depends on te size of te array. Still, tere are use cases for wic tis assumption is warranted. We can preload our veb structure by creating all possible veb Lec 15 pg. 3 of 6
4 it takes constant time to create an empty van Emde Boas structure, and it also takes constant time to insert te first element into a van Emde Boas structure: Algoritm: VEB-FIRST-INSERTION(V, x) 1 V.min x 2 V.max x Using tis fact, we will sow tat te procedure V.INSERT(x) as only one non constant-time step. Say V.clusters[i] is te cluster corresponding to x (for example, if n = 100 and x = 64, ten i = 6). Ten: If V.clusters[i] is NIL, ten it takes constant time to create a veb structure containing only te element corresponding to x. (For example, if n = 100 and x = 64, ten it takes constant time to create a veb structure of size 10 containing only 4.) We update V.clusters[i] to point to tis new veb structure. Tus, te only non constant-time operation we ave to perform is to update V.summary to reflect te fact tat V.clusters[i] is now nonempty. If V.clusters[i] is empty 3 (we can ceck tis by cecking weter V.clusters[i].min = NIL), ten it takes constant time to insert te appropriate entry into V.clusters[i]. So again, te only non constant-time operation we ave to perform is to update V.summary to reflect te fact tat V.clusters[i] is now nonempty. If V.clusters[i] is nonempty, ten we ave to make te recursive call V.clusters[i].INSERT(x). However, we do not need to make any canges to V.summary. In eac case, we find tat te running time T of INSERT satisfies te recurrence T(n) = T ( n ) + O(1). (15.1) As we will see in 15.3 below, te solution to tis recurrence is T INSERT = Θ(lglg n) Deletions Similarly, te procedure V.DELETE(x) requires only one recursive call. To see tis, let i be as above. Ten: First suppose V as no nonempty clusters (we can ceck tis by cecking weter V.summary is eiter NIL or empty; te latter appens wen V.summary.min = NIL). If x is te only element of V, ten we simply set V.min V.max NIL. Tus, deleting te only element of a single-element veb structure takes constant time; we will use tis fact later. Oterwise, V contains only two elements including x. Let y be te oter element of V. If x = V.min, ten y = V.max and we set V.min y. If x = V.max, ten y = V.min and we set V.max y. substructures up front rater tan using NIL for te empty ones. Tis way, after an initial O(n) preloading time, array initialization never becomes an issue. Anoter possibility is to use a dynamically resized as table for V.clusters rater tan an array. Eac of tese possible improvements as its sare of extra details tat must be addressed in te running time analysis; we ave cosen to ignore initialization time for te sake of brevity and readability. 3 Tis would appen if V.clusters[i] was once nonempty, but became empty due to deletions. Lec 15 pg. 4 of 6
5 Next suppose V as some nonempty clusters. If x = V.min, ten we will need to update V.min. Te new minimum takes only constant time to calculate, toug: it is y, were y V.clusters[V.summary.min].min; in oter words, it s te smallest element in te lowest nonempty cluster of V. After making tis update, we need to make a recursive call to V.clusters[V.summary.min].DELETE( y) to remove te new value of V.min from its cluster. At tis point, tere are two possibilities: * y is not te only element in its cluster. Ten V.summary does not need to be updated. * y is te only element in its cluster. Ten we must make a recursive call to V.summary.DELETE(V.summary.min) to reflect te fact tat y s cluster is now empty. However, since y was te only element in its cluster, it took constant time to remove y from its cluster: as we said above, it takes only constant time to remove te last element from a one-element veb structure. Eiter way, tere is only one non constant-time step in V.DELETE: a recursive call to DELETE on a veb structure of size n. By entirely te same argument (peraps in mirror-image), we find tat te case x = V.max as identical running time to te case x = V.min. If x is neiter V.min nor V.max, ten we must delete x from its cluster and, if tis causes x s cluster to become empty, make a recursive call to V.summary.DELETE to reflect tis update. As above, te recursive call to V.summary.DELETE will only appen wen te deletion of x from its cluster took constant time. In eac case, te only non constant-time step in DELETE is a single recursive call to DELETE on a veb structure of size n. Tus, te running time T for DELETE satisfies (15.1), wic we repeat ere for convenience: T(n) = T ( n ) + O(1). (copy of 15.1) Again, te solution is T DELETE = Θ(lglg n) Lookups Finally, we consider te operation V.LOOKUP(x), wic returns TRUE or FALSE according as x is or is not in V. Te implementation is easy: First we ceck weter x = V.min, ten weter x = V.max. If neiter of tese is true, ten we recursively call LOOKUP on te cluster corresponding to x. Tus, te running time T of LOOKUP satisfies (15.1), and we ave T LOOKUP = Θ(lglg n). Exercise Go troug tis section again, circling eac step or claim tat relies on te decision not to store V.min and V.max in clusters. Be careful tere may be more tings to circle tan you tink! Lec 15 pg. 5 of 6
6 15.3 Solving te Recurrence As promised, we now solve te recurrence (15.1), wic we repeat ere for convenience: T(n) = T ( n ) + O(1). (copy of 15.1) Base case Before we begin, it s important to note tat we ave to lay down a base case at wic recursive structures stop occurring. Matematically tis is necessary because one often uses induction to prove solutions to recurrences. From an implementation standpoint, te need for a base case is obvious: ow could a veb structure of size 2 make good use of smaller veb substructures? So we will lay down n = 2 as our base case, in wic we simply take V to be an array of two bits Solving by descent Te equation (15.1) means tat we start on a structure of size n, ten pass to a structure of size n = n 1/2, ten to a structure of size n = n 1/4, and so on, spending a constant amount of time at eac level of recursion. So te total running time sould be proportional to te number of levels of recursion before arriving at our base case, wic is te number l suc tat n 1/2l = 2. Solving for l, we find l = lglg n. Tus T(n) = Θ(lglg n) Solving by substitution Anoter way to solve te recurrence is to make a substitution wic reduces it to a recurrence tat we already know ow to solve. Let T (m) = T ( 2 m). Taking m = lg n, (15.1) can be rewritten as T (m) = T (m/2) + O(1), wic we know to ave solution T (m) = Θ(lg m). Substituting back n = 2 m, we get T(n) = Θ(lglg n). Lec 15 pg. 6 of 6
7 MIT OpenCourseWare ttp://ocw.mit.edu 6.046J / J Design and Analysis of Algoritms Spring 2012 For information about citing tese materials or our Terms of Use, visit: ttp://ocw.mit.edu/terms.
Derivatives Math 120 Calculus I D Joyce, Fall 2013
Derivatives Mat 20 Calculus I D Joyce, Fall 203 Since we ave a good understanding of its, we can develop derivatives very quickly. Recall tat we defined te derivative f x of a function f at x to be te
More informationM(0) = 1 M(1) = 2 M(h) = M(h 1) + M(h 2) + 1 (h > 1)
Insertion and Deletion in VL Trees Submitted in Partial Fulfillment of te Requirements for Dr. Eric Kaltofen s 66621: nalysis of lgoritms by Robert McCloskey December 14, 1984 1 ackground ccording to Knut
More informationLecture 10: What is a Function, definition, piecewise defined functions, difference quotient, domain of a function
Lecture 10: Wat is a Function, definition, piecewise defined functions, difference quotient, domain of a function A function arises wen one quantity depends on anoter. Many everyday relationsips between
More informationInstantaneous Rate of Change:
Instantaneous Rate of Cange: Last section we discovered tat te average rate of cange in F(x) can also be interpreted as te slope of a scant line. Te average rate of cange involves te cange in F(x) over
More informationThe EOQ Inventory Formula
Te EOQ Inventory Formula James M. Cargal Matematics Department Troy University Montgomery Campus A basic problem for businesses and manufacturers is, wen ordering supplies, to determine wat quantity of
More informationSAT Subject Math Level 1 Facts & Formulas
Numbers, Sequences, Factors Integers:..., -3, -2, -1, 0, 1, 2, 3,... Reals: integers plus fractions, decimals, and irrationals ( 2, 3, π, etc.) Order Of Operations: Aritmetic Sequences: PEMDAS (Parenteses
More informationACT Math Facts & Formulas
Numbers, Sequences, Factors Integers:..., -3, -2, -1, 0, 1, 2, 3,... Rationals: fractions, tat is, anyting expressable as a ratio of integers Reals: integers plus rationals plus special numbers suc as
More information- 1 - Handout #22 May 23, 2012 Huffman Encoding and Data Compression. CS106B Spring 2012. Handout by Julie Zelenski with minor edits by Keith Schwarz
CS106B Spring 01 Handout # May 3, 01 Huffman Encoding and Data Compression Handout by Julie Zelenski wit minor edits by Keit Scwarz In te early 1980s, personal computers ad ard disks tat were no larger
More informationVerifying Numerical Convergence Rates
1 Order of accuracy Verifying Numerical Convergence Rates We consider a numerical approximation of an exact value u. Te approximation depends on a small parameter, suc as te grid size or time step, and
More information1.6. Analyse Optimum Volume and Surface Area. Maximum Volume for a Given Surface Area. Example 1. Solution
1.6 Analyse Optimum Volume and Surface Area Estimation and oter informal metods of optimizing measures suc as surface area and volume often lead to reasonable solutions suc as te design of te tent in tis
More informationWriting Mathematics Papers
Writing Matematics Papers Tis essay is intended to elp your senior conference paper. It is a somewat astily produced amalgam of advice I ave given to students in my PDCs (Mat 4 and Mat 9), so it s not
More informationBinary Search Trees. Adnan Aziz. Heaps can perform extract-max, insert efficiently O(log n) worst case
Binary Searc Trees Adnan Aziz 1 BST basics Based on CLRS, C 12. Motivation: Heaps can perform extract-max, insert efficiently O(log n) worst case Has tables can perform insert, delete, lookup efficiently
More informationMath 113 HW #5 Solutions
Mat 3 HW #5 Solutions. Exercise.5.6. Suppose f is continuous on [, 5] and te only solutions of te equation f(x) = 6 are x = and x =. If f() = 8, explain wy f(3) > 6. Answer: Suppose we ad tat f(3) 6. Ten
More information2 Limits and Derivatives
2 Limits and Derivatives 2.7 Tangent Lines, Velocity, and Derivatives A tangent line to a circle is a line tat intersects te circle at exactly one point. We would like to take tis idea of tangent line
More informationAverage and Instantaneous Rates of Change: The Derivative
9.3 verage and Instantaneous Rates of Cange: Te Derivative 609 OBJECTIVES 9.3 To define and find average rates of cange To define te derivative as a rate of cange To use te definition of derivative to
More informationGeometric Stratification of Accounting Data
Stratification of Accounting Data Patricia Gunning * Jane Mary Horgan ** William Yancey *** Abstract: We suggest a new procedure for defining te boundaries of te strata in igly skewed populations, usual
More informationDetermine the perimeter of a triangle using algebra Find the area of a triangle using the formula
Student Name: Date: Contact Person Name: Pone Number: Lesson 0 Perimeter, Area, and Similarity of Triangles Objectives Determine te perimeter of a triangle using algebra Find te area of a triangle using
More informationf(a + h) f(a) f (a) = lim
Lecture 7 : Derivative AS a Function In te previous section we defined te derivative of a function f at a number a (wen te function f is defined in an open interval containing a) to be f (a) 0 f(a + )
More informationCan a Lump-Sum Transfer Make Everyone Enjoy the Gains. from Free Trade?
Can a Lump-Sum Transfer Make Everyone Enjoy te Gains from Free Trade? Yasukazu Icino Department of Economics, Konan University June 30, 2010 Abstract I examine lump-sum transfer rules to redistribute te
More informationSection 3.3. Differentiation of Polynomials and Rational Functions. Difference Equations to Differential Equations
Difference Equations to Differential Equations Section 3.3 Differentiation of Polynomials an Rational Functions In tis section we begin te task of iscovering rules for ifferentiating various classes of
More informationNote nine: Linear programming CSE 101. 1 Linear constraints and objective functions. 1.1 Introductory example. Copyright c Sanjoy Dasgupta 1
Copyrigt c Sanjoy Dasgupta Figure. (a) Te feasible region for a linear program wit two variables (see tet for details). (b) Contour lines of te objective function: for different values of (profit). Te
More informationComputer Science and Engineering, UCSD October 7, 1999 Goldreic-Levin Teorem Autor: Bellare Te Goldreic-Levin Teorem 1 Te problem We æx a an integer n for te lengt of te strings involved. If a is an n-bit
More informationCatalogue no. 12-001-XIE. Survey Methodology. December 2004
Catalogue no. 1-001-XIE Survey Metodology December 004 How to obtain more information Specific inquiries about tis product and related statistics or services sould be directed to: Business Survey Metods
More informationMATHEMATICS FOR ENGINEERING DIFFERENTIATION TUTORIAL 1 - BASIC DIFFERENTIATION
MATHEMATICS FOR ENGINEERING DIFFERENTIATION TUTORIAL 1 - BASIC DIFFERENTIATION Tis tutorial is essential pre-requisite material for anyone stuing mecanical engineering. Tis tutorial uses te principle of
More informationThe modelling of business rules for dashboard reporting using mutual information
8 t World IMACS / MODSIM Congress, Cairns, Australia 3-7 July 2009 ttp://mssanz.org.au/modsim09 Te modelling of business rules for dasboard reporting using mutual information Gregory Calbert Command, Control,
More informationMath Test Sections. The College Board: Expanding College Opportunity
Taking te SAT I: Reasoning Test Mat Test Sections Te materials in tese files are intended for individual use by students getting ready to take an SAT Program test; permission for any oter use must be sougt
More informationFINITE DIFFERENCE METHODS
FINITE DIFFERENCE METHODS LONG CHEN Te best known metods, finite difference, consists of replacing eac derivative by a difference quotient in te classic formulation. It is simple to code and economic to
More informationTangent Lines and Rates of Change
Tangent Lines and Rates of Cange 9-2-2005 Given a function y = f(x), ow do you find te slope of te tangent line to te grap at te point P(a, f(a))? (I m tinking of te tangent line as a line tat just skims
More informationCollege Planning Using Cash Value Life Insurance
College Planning Using Cas Value Life Insurance CAUTION: Te advisor is urged to be extremely cautious of anoter college funding veicle wic provides a guaranteed return of premium immediately if funded
More informationHow To Ensure That An Eac Edge Program Is Successful
Introduction Te Economic Diversification and Growt Enterprises Act became effective on 1 January 1995. Te creation of tis Act was to encourage new businesses to start or expand in Newfoundland and Labrador.
More informationSAT Math Facts & Formulas
Numbers, Sequences, Factors SAT Mat Facts & Formuas Integers:..., -3, -2, -1, 0, 1, 2, 3,... Reas: integers pus fractions, decimas, and irrationas ( 2, 3, π, etc.) Order Of Operations: Aritmetic Sequences:
More informationNew Vocabulary volume
-. Plan Objectives To find te volume of a prism To find te volume of a cylinder Examples Finding Volume of a Rectangular Prism Finding Volume of a Triangular Prism 3 Finding Volume of a Cylinder Finding
More informationChapter 7 Numerical Differentiation and Integration
45 We ave a abit in writing articles publised in scientiþc journals to make te work as Þnised as possible, to cover up all te tracks, to not worry about te blind alleys or describe ow you ad te wrong idea
More informationPressure. Pressure. Atmospheric pressure. Conceptual example 1: Blood pressure. Pressure is force per unit area:
Pressure Pressure is force per unit area: F P = A Pressure Te direction of te force exerted on an object by a fluid is toward te object and perpendicular to its surface. At a microscopic level, te force
More informationOptimized Data Indexing Algorithms for OLAP Systems
Database Systems Journal vol. I, no. 2/200 7 Optimized Data Indexing Algoritms for OLAP Systems Lucian BORNAZ Faculty of Cybernetics, Statistics and Economic Informatics Academy of Economic Studies, Bucarest
More informationSections 3.1/3.2: Introducing the Derivative/Rules of Differentiation
Sections 3.1/3.2: Introucing te Derivative/Rules of Differentiation 1 Tangent Line Before looking at te erivative, refer back to Section 2.1, looking at average velocity an instantaneous velocity. Here
More informationFor Sale By Owner Program. We can help with our for sale by owner kit that includes:
Dawn Coen Broker/Owner For Sale By Owner Program If you want to sell your ome By Owner wy not:: For Sale Dawn Coen Broker/Owner YOUR NAME YOUR PHONE # Look as professional as possible Be totally prepared
More informationImproved dynamic programs for some batcing problems involving te maximum lateness criterion A P M Wagelmans Econometric Institute Erasmus University Rotterdam PO Box 1738, 3000 DR Rotterdam Te Neterlands
More information13 PERIMETER AND AREA OF 2D SHAPES
13 PERIMETER AND AREA OF D SHAPES 13.1 You can find te perimeter of sapes Key Points Te perimeter of a two-dimensional (D) sape is te total distance around te edge of te sape. l To work out te perimeter
More informationA strong credit score can help you score a lower rate on a mortgage
NET GAIN Scoring points for your financial future AS SEEN IN USA TODAY S MONEY SECTION, JULY 3, 2007 A strong credit score can elp you score a lower rate on a mortgage By Sandra Block Sales of existing
More informationschema binary search tree schema binary search trees data structures and algorithms 2015 09 21 lecture 7 AVL-trees material
scema binary searc trees data structures and algoritms 05 0 lecture 7 VL-trees material scema binary searc tree binary tree: linked data structure wit nodes containing binary searc trees VL-trees material
More informationChapter 11. Limits and an Introduction to Calculus. Selected Applications
Capter Limits and an Introduction to Calculus. Introduction to Limits. Tecniques for Evaluating Limits. Te Tangent Line Problem. Limits at Infinit and Limits of Sequences.5 Te Area Problem Selected Applications
More informationIn other words the graph of the polynomial should pass through the points
Capter 3 Interpolation Interpolation is te problem of fitting a smoot curve troug a given set of points, generally as te grap of a function. It is useful at least in data analysis (interpolation is a form
More informationChapter 10: Refrigeration Cycles
Capter 10: efrigeration Cycles Te vapor compression refrigeration cycle is a common metod for transferring eat from a low temperature to a ig temperature. Te above figure sows te objectives of refrigerators
More informationCHAPTER 7. Di erentiation
CHAPTER 7 Di erentiation 1. Te Derivative at a Point Definition 7.1. Let f be a function defined on a neigborood of x 0. f is di erentiable at x 0, if te following it exists: f 0 fx 0 + ) fx 0 ) x 0 )=.
More informationShell and Tube Heat Exchanger
Sell and Tube Heat Excanger MECH595 Introduction to Heat Transfer Professor M. Zenouzi Prepared by: Andrew Demedeiros, Ryan Ferguson, Bradford Powers November 19, 2009 1 Abstract 2 Contents Discussion
More informationGuide to Cover Letters & Thank You Letters
Guide to Cover Letters & Tank You Letters 206 Strebel Student Center (315) 792-3087 Fax (315) 792-3370 TIPS FOR WRITING A PERFECT COVER LETTER Te resume never travels alone. Eac time you submit your resume
More information2.23 Gambling Rehabilitation Services. Introduction
2.23 Gambling Reabilitation Services Introduction Figure 1 Since 1995 provincial revenues from gambling activities ave increased over 56% from $69.2 million in 1995 to $108 million in 2004. Te majority
More informationSolutions by: KARATUĞ OZAN BiRCAN. PROBLEM 1 (20 points): Let D be a region, i.e., an open connected set in
KOÇ UNIVERSITY, SPRING 2014 MATH 401, MIDTERM-1, MARCH 3 Instructor: BURAK OZBAGCI TIME: 75 Minutes Solutions by: KARATUĞ OZAN BiRCAN PROBLEM 1 (20 points): Let D be a region, i.e., an open connected set
More informationNotes: Most of the material in this chapter is taken from Young and Freedman, Chap. 12.
Capter 6. Fluid Mecanics Notes: Most of te material in tis capter is taken from Young and Freedman, Cap. 12. 6.1 Fluid Statics Fluids, i.e., substances tat can flow, are te subjects of tis capter. But
More informationSWITCH T F T F SELECT. (b) local schedule of two branches. (a) if-then-else construct A & B MUX. one iteration cycle
768 IEEE RANSACIONS ON COMPUERS, VOL. 46, NO. 7, JULY 997 Compile-ime Sceduling of Dynamic Constructs in Dataæow Program Graps Soonoi Ha, Member, IEEE and Edward A. Lee, Fellow, IEEE Abstract Sceduling
More informationProjective Geometry. Projective Geometry
Euclidean versus Euclidean geometry describes sapes as tey are Properties of objects tat are uncanged by rigid motions» Lengts» Angles» Parallelism Projective geometry describes objects as tey appear Lengts,
More information2.12 Student Transportation. Introduction
Introduction Figure 1 At 31 Marc 2003, tere were approximately 84,000 students enrolled in scools in te Province of Newfoundland and Labrador, of wic an estimated 57,000 were transported by scool buses.
More informationSAT Math Must-Know Facts & Formulas
SAT Mat Must-Know Facts & Formuas Numbers, Sequences, Factors Integers:..., -3, -2, -1, 0, 1, 2, 3,... Rationas: fractions, tat is, anyting expressabe as a ratio of integers Reas: integers pus rationas
More informationLecture 2 February 12, 2003
6.897: Advanced Data Structures Spring 003 Prof. Erik Demaine Lecture February, 003 Scribe: Jeff Lindy Overview In the last lecture we considered the successor problem for a bounded universe of size u.
More information6. Differentiating the exponential and logarithm functions
1 6. Differentiating te exponential and logaritm functions We wis to find and use derivatives for functions of te form f(x) = a x, were a is a constant. By far te most convenient suc function for tis purpose
More information3 Ans. 1 of my $30. 3 on. 1 on ice cream and the rest on 2011 MATHCOUNTS STATE COMPETITION SPRINT ROUND
0 MATHCOUNTS STATE COMPETITION SPRINT ROUND. boy scouts are accompanied by scout leaders. Eac person needs bottles of water per day and te trip is day. + = 5 people 5 = 5 bottles Ans.. Cammie as pennies,
More informationWhat is Advanced Corporate Finance? What is finance? What is Corporate Finance? Deciding how to optimally manage a firm s assets and liabilities.
Wat is? Spring 2008 Note: Slides are on te web Wat is finance? Deciding ow to optimally manage a firm s assets and liabilities. Managing te costs and benefits associated wit te timing of cas in- and outflows
More informationf(x + h) f(x) h as representing the slope of a secant line. As h goes to 0, the slope of the secant line approaches the slope of the tangent line.
Derivative of f(z) Dr. E. Jacobs Te erivative of a function is efine as a limit: f (x) 0 f(x + ) f(x) We can visualize te expression f(x+) f(x) as representing te slope of a secant line. As goes to 0,
More informationTheoretical calculation of the heat capacity
eoretical calculation of te eat capacity Principle of equipartition of energy Heat capacity of ideal and real gases Heat capacity of solids: Dulong-Petit, Einstein, Debye models Heat capacity of metals
More informationStrategic trading in a dynamic noisy market. Dimitri Vayanos
LSE Researc Online Article (refereed) Strategic trading in a dynamic noisy market Dimitri Vayanos LSE as developed LSE Researc Online so tat users may access researc output of te Scool. Copyrigt and Moral
More informationf(x) f(a) x a Our intuition tells us that the slope of the tangent line to the curve at the point P is m P Q =
Lecture 6 : Derivatives and Rates of Cange In tis section we return to te problem of finding te equation of a tangent line to a curve, y f(x) If P (a, f(a)) is a point on te curve y f(x) and Q(x, f(x))
More informationDistances in random graphs with infinite mean degrees
Distances in random graps wit infinite mean degrees Henri van den Esker, Remco van der Hofstad, Gerard Hoogiemstra and Dmitri Znamenski April 26, 2005 Abstract We study random graps wit an i.i.d. degree
More informationSchedulability Analysis under Graph Routing in WirelessHART Networks
Scedulability Analysis under Grap Routing in WirelessHART Networks Abusayeed Saifulla, Dolvara Gunatilaka, Paras Tiwari, Mo Sa, Cenyang Lu, Bo Li Cengjie Wu, and Yixin Cen Department of Computer Science,
More informationCHAPTER 8: DIFFERENTIAL CALCULUS
CHAPTER 8: DIFFERENTIAL CALCULUS 1. Rules of Differentiation As we ave seen, calculating erivatives from first principles can be laborious an ifficult even for some relatively simple functions. It is clearly
More informationRecall from last time: Events are recorded by local observers with synchronized clocks. Event 1 (firecracker explodes) occurs at x=x =0 and t=t =0
1/27 Day 5: Questions? Time Dilation engt Contraction PH3 Modern Pysics P11 I sometimes ask myself ow it came about tat I was te one to deelop te teory of relatiity. Te reason, I tink, is tat a normal
More informationSAMPLE DESIGN FOR THE TERRORISM RISK INSURANCE PROGRAM SURVEY
ASA Section on Survey Researc Metods SAMPLE DESIG FOR TE TERRORISM RISK ISURACE PROGRAM SURVEY G. ussain Coudry, Westat; Mats yfjäll, Statisticon; and Marianne Winglee, Westat G. ussain Coudry, Westat,
More informationKM client format supported by KB valid from 13 May 2015
supported by KB valid from 13 May 2015 1/16 VRSION 1.2. UPDATD: 13.12.2005. 1 Introduction... 2 1.1 Purpose of tis document... 2 1.2 Caracteristics of te KM format... 2 2 Formal ceck of KM format... 3
More informationThe use of visualization for learning and teaching mathematics
Te use of visualization for learning and teacing matematics Medat H. Raim Radcliffe Siddo Lakeead University Lakeead University Tunder Bay, Ontario Tunder Bay, Ontario CANADA CANADA mraim@lakeeadu.ca rsiddo@lakeeadu.ca
More informationThe Dynamics of Movie Purchase and Rental Decisions: Customer Relationship Implications to Movie Studios
Te Dynamics of Movie Purcase and Rental Decisions: Customer Relationsip Implications to Movie Studios Eddie Ree Associate Professor Business Administration Stoneill College 320 Wasington St Easton, MA
More informationa joint initiative of Cost of Production Calculator
a joint initiative of Cost of Production Calculator 1 KEY BENEFITS Learn to use te MAKING MORE FROM SHEEP cost of production calculator to: Measure te performance of your seep enterprise year on year Compare
More informationThe Derivative as a Function
Section 2.2 Te Derivative as a Function 200 Kiryl Tsiscanka Te Derivative as a Function DEFINITION: Te derivative of a function f at a number a, denoted by f (a), is if tis limit exists. f (a) f(a+) f(a)
More informationTHE NEISS SAMPLE (DESIGN AND IMPLEMENTATION) 1997 to Present. Prepared for public release by:
THE NEISS SAMPLE (DESIGN AND IMPLEMENTATION) 1997 to Present Prepared for public release by: Tom Scroeder Kimberly Ault Division of Hazard and Injury Data Systems U.S. Consumer Product Safety Commission
More information2.1: The Derivative and the Tangent Line Problem
.1.1.1: Te Derivative and te Tangent Line Problem Wat is te deinition o a tangent line to a curve? To answer te diiculty in writing a clear deinition o a tangent line, we can deine it as te iting position
More informationPioneer Fund Story. Searching for Value Today and Tomorrow. Pioneer Funds Equities
Pioneer Fund Story Searcing for Value Today and Tomorrow Pioneer Funds Equities Pioneer Fund A Cornerstone of Financial Foundations Since 1928 Te fund s relatively cautious stance as kept it competitive
More information4.4 The Derivative. 51. Disprove the claim: If lim f (x) = L, then either lim f (x) = L or. 52. If lim x a. f (x) = and lim x a. g(x) =, then lim x a
Capter 4 Real Analysis 281 51. Disprove te claim: If lim f () = L, ten eiter lim f () = L or a a lim f () = L. a 52. If lim a f () = an lim a g() =, ten lim a f + g =. 53. If lim f () = an lim g() = L
More informationThe Demand for Food Away From Home Full-Service or Fast Food?
United States Department of Agriculture Electronic Report from te Economic Researc Service www.ers.usda.gov Agricultural Economic Report No. 829 January 2004 Te Demand for Food Away From Home Full-Service
More informationCHAPTER TWO. f(x) Slope = f (3) = Rate of change of f at 3. x 3. f(1.001) f(1) Average velocity = 1.1 1 1.01 1. s(0.8) s(0) 0.8 0
CHAPTER TWO 2.1 SOLUTIONS 99 Solutions for Section 2.1 1. (a) Te average rate of cange is te slope of te secant line in Figure 2.1, wic sows tat tis slope is positive. (b) Te instantaneous rate of cange
More informationNAFN NEWS SPRING2011 ISSUE 7. Welcome to the Spring edition of the NAFN Newsletter! INDEX. Service Updates Follow That Car! Turn Back The Clock
NAFN NEWS ISSUE 7 SPRING2011 Welcome to te Spring edition of te NAFN Newsletter! Spring is in te air at NAFN as we see several new services cropping up. Driving and transport emerged as a natural teme
More informationAn inquiry into the multiplier process in IS-LM model
An inquiry into te multiplier process in IS-LM model Autor: Li ziran Address: Li ziran, Room 409, Building 38#, Peing University, Beijing 00.87,PRC. Pone: (86) 00-62763074 Internet Address: jefferson@water.pu.edu.cn
More informationModel Quality Report in Business Statistics
Model Quality Report in Business Statistics Mats Bergdal, Ole Blac, Russell Bowater, Ray Cambers, Pam Davies, David Draper, Eva Elvers, Susan Full, David Holmes, Pär Lundqvist, Sixten Lundström, Lennart
More informationBonferroni-Based Size-Correction for Nonstandard Testing Problems
Bonferroni-Based Size-Correction for Nonstandard Testing Problems Adam McCloskey Brown University October 2011; Tis Version: October 2012 Abstract We develop powerful new size-correction procedures for
More informationReferendum-led Immigration Policy in the Welfare State
Referendum-led Immigration Policy in te Welfare State YUJI TAMURA Department of Economics, University of Warwick, UK First version: 12 December 2003 Updated: 16 Marc 2004 Abstract Preferences of eterogeneous
More informationTHE ROLE OF LABOUR DEMAND ELASTICITIES IN TAX INCIDENCE ANALYSIS WITH HETEROGENEOUS LABOUR
THE ROLE OF LABOUR DEMAND ELASTICITIES IN TAX INCIDENCE ANALYSIS WITH HETEROGENEOUS LABOUR Kesab Battarai 1,a and 1, a,b,c Jon Walley a Department of Economics, University of Warwick, Coventry, CV4 7AL,
More informationA system to monitor the quality of automated coding of textual answers to open questions
Researc in Official Statistics Number 2/2001 A system to monitor te quality of automated coding of textual answers to open questions Stefania Maccia * and Marcello D Orazio ** Italian National Statistical
More informationEC201 Intermediate Macroeconomics. EC201 Intermediate Macroeconomics Problem set 8 Solution
EC201 Intermediate Macroeconomics EC201 Intermediate Macroeconomics Prolem set 8 Solution 1) Suppose tat te stock of mone in a given econom is given te sum of currenc and demand for current accounts tat
More informationFactoring Synchronous Grammars By Sorting
Factoring Syncronous Grammars By Sorting Daniel Gildea Computer Science Dept. Uniersity of Rocester Rocester, NY Giorgio Satta Dept. of Information Eng g Uniersity of Padua I- Padua, Italy Hao Zang Computer
More informationAnalysis of Algorithms I: Binary Search Trees
Analysis of Algorithms I: Binary Search Trees Xi Chen Columbia University Hash table: A data structure that maintains a subset of keys from a universe set U = {0, 1,..., p 1} and supports all three dictionary
More informationTo motivate the notion of a variogram for a covariance stationary process, { Ys ( ): s R}
4. Variograms Te covariogram and its normalized form, te correlogram, are by far te most intuitive metods for summarizing te structure of spatial dependencies in a covariance stationary process. However,
More informationCyber Epidemic Models with Dependences
Cyber Epidemic Models wit Dependences Maocao Xu 1, Gaofeng Da 2 and Souuai Xu 3 1 Department of Matematics, Illinois State University mxu2@ilstu.edu 2 Institute for Cyber Security, University of Texas
More informationMultigrid computational methods are
M ULTIGRID C OMPUTING Wy Multigrid Metods Are So Efficient Originally introduced as a way to numerically solve elliptic boundary-value problems, multigrid metods, and teir various multiscale descendants,
More informationGrade 12 Assessment Exemplars
Grade Assessment Eemplars Learning Outcomes and. Assignment : Functions - Memo. Investigation: Sequences and Series Memo/Rubric 5. Control Test: Number Patterns, Finance and Functions - Memo 7. Project:
More informationWelfare, financial innovation and self insurance in dynamic incomplete markets models
Welfare, financial innovation and self insurance in dynamic incomplete markets models Paul Willen Department of Economics Princeton University First version: April 998 Tis version: July 999 Abstract We
More informationAn Orientation to the Public Health System for Participants and Spectators
An Orientation to te Public Healt System for Participants and Spectators Presented by TEAM ORANGE CRUSH Pallisa Curtis, Illinois Department of Public Healt Lynn Galloway, Vermillion County Healt Department
More informationUnemployment insurance/severance payments and informality in developing countries
Unemployment insurance/severance payments and informality in developing countries David Bardey y and Fernando Jaramillo z First version: September 2011. Tis version: November 2011. Abstract We analyze
More informationAn Introduction to Milankovitch Cycles
An Introduction to Milankovitc Cycles Wat Causes Glacial Cycles? Ricard McGeee kiloyear bp 45 4 35 3 5 15 1 5 4 - -4-6 -8 temperature -1 Note te period of about 1 kyr. Seminar on te Matematics of Climate
More informationWorking Capital 2013 UK plc s unproductive 69 billion
2013 Executive summary 2. Te level of excess working capital increased 3. UK sectors acieve a mixed performance 4. Size matters in te supply cain 6. Not all companies are overflowing wit cas 8. Excess
More informationANALYTICAL REPORT ON THE 2010 URBAN EMPLOYMENT UNEMPLOYMENT SURVEY
THE FEDERAL DEMOCRATIC REPUBLIC OF ETHIOPIA CENTRAL STATISTICAL AGENCY ANALYTICAL REPORT ON THE 2010 URBAN EMPLOYMENT UNEMPLOYMENT SURVEY Addis Ababa December 2010 STATISTICAL BULLETIN TABLE OF CONTENT
More informationHeat Exchangers. Heat Exchanger Types. Heat Exchanger Types. Applied Heat Transfer Part Two. Topics of This chapter
Applied Heat Transfer Part Two Heat Excangers Dr. Amad RAMAZANI S.A. Associate Professor Sarif University of Tecnology انتقال حرارت کاربردی احمد رمضانی سعادت ا بادی Autumn, 1385 (2006) Ramazani, Heat Excangers
More informationarxiv:1304.1679v2 [cs.cc] 10 Apr 2013
Intrinsic universality in tile self-assembly requires cooperation arxiv:1304.1679v2 [cs.cc] 10 Apr 2013 Pierre-Etienne Meunier Mattew J. Patitz cott M. ummers Guillaume eyssier Andrew Winslow Damien Woods
More information