Greedy Algorithms. Kye Halsted. Edited by Chuck Cusack. These notes are based on chapter 17 of [1] and lectures from CSCE423/823, Spring 2001.
|
|
- Alan Lyons
- 6 years ago
- Views:
Transcription
1 #! Greedy Algrithms Kye Halsted Edited by Chuk Cusak These ntes are based n hapter 17 f [1] and letures frm CCE423/823, pring Greedy algrithms slve prblems by making the hie that seems best at the partiular mment. any ptimizatin prblems an be slved using a greedy algrithm. me prblems have n effiient slutin, but a greedy algrithm may prvide a slutin that is lse t ptimal. We will begin ur explratin with a simple example. 1 Greedy Algrithm Definitin A greedy algrithm wrks if a prblem exhibits the fllwing tw prperties: 1. Greedy hie prperty: A glbally ptimal slutin an be arrived at by making a lally ptimal slutin. In ther wrds, an ptimal slutin an be btained by making greedy hies. 2. Optimal substruture: Optimal slutins ntain ptimal subslutins. In ther wrds, slutins t subprblems f an ptimal slutin are ptimal. 2 Ativity eletin Prblem Prblem 1 The ativity seletin prblem invlves a set f ativities, eah with a start time and finish time, with. We an view eah ativity as an interval "!. Tw ativities and are mpatible if the intervals d nt verlap. That is, # r. We wish t selet the largest set f mpatible ativities. In what rder shuld we selet the ativities? me pssibilities are: 1. Pik shrtest interval first. 2. rt by start time, and pik arding t earliest start time. 3. rt by finish time, and pik arding t earliest finish time. Example: Let $% & ')(*,+-.')/, with intervals,+, (*)., +*0, 21 )34, 0' 654, and 3* 7 &. We will try several methds t slve the prblem. 1
2 1. hrtest interval: Pik, in rder, 21 34, (*., and 3' Earliest start time: Pik, in rder,,+, +-0, and Earliest finish time: Pik, in rder,,+, +-0&, 81 )3, and 3' 7. tie in the last ase, we get the mst ativities. In fat, this is an ptimal slutin. We will prve that seleting the task with the earliest finish time first will yield an ptimal slutin. First, we will assume that the ativities are srted in rder f inreasing finish times. That is, If they are nt srted, they an be srted in?a :9 =- <; CBED&FGH <> time. The algrithm is as fllws: GreedyAtivity(,F,n) A=1} // Add the task with the earliest finish time j=1 // j hlds the value f the last task added fr(i=2, i<=n, i++) // Try eah remaining task if ([i] >= F[j]) // If task i is mpatible A=A+i // Add i t the set A j=i // et j t the element just added return A // Return the maximal set f mpatible tasks During eah iteratin, the algrithm will hse the ativity with the earliest finish time that an be sheduled withut nflit with the ativities already sheduled. We will nw shw that the GreedyAtivity algrithm mputes an ptimal slutin. Therem 1 The GreedyAtivity algrithm gives an ptimal slutin t the ativity seletin prblem. Prf: We need t demnstrate the greedy hie prperty and ptimal substruture. Greedy Chie Prperty: ine ativity 1 has the earliest finish time, it is the greedy hie. Thus, we must shw that there exists an ptimal slutin ntaining 1. Let I be an ptimal slutin and assume ativity 1 is nt in I. Let be the first ativity in I. Then K9 L, s OQPR & I is a valid set f ativities. ine IT, is als ptimal. ine ntains ativity 1, we have shwn the greedy hie prperty. Optimal ubstruture: Let be the first element in an ptimal slutin I. We need t shw that X Z IV IW is an ptimal slutin t the subprblem invlving the set f tasks V! V <L ( is the set f tasks mpatible with task ). Assume I[ is nt ptimal. Then there exists a slutin fr, suh that \] I. The first ativity in has t be mpatible with whih means P^ P^ b is a valid slutin fr. Hwever, \` I a IT, whih ntradits that I is ptimal fr. Therefre, I[ is ptimal. 2
3 P e n \ 9 9 P 3 inimum panning Trees Given a weighted graph d, we wish t nstrut a minimum spanning tree (T) 1 f d. Kruskal s algrithm is a greedy algrithm algrithm t find an T f a graph d. Briefly it wrks as fllws: Kruskal(G) T=} rt Edges in asending rder f weight Fr eah edge e (in srted rder) If T+e des nt ntain a yle T=T+e Return T imply, we nsider eah edge in rder f weight, adding it t the tree as lng as it des nt reate a yle. We will prve: d e Therem 2 Let be a graph. The the set f edges returned by Kruskal s algrithm is a T. Prf: Greedy-hie prperty: We need t shw that the minimum weight edge f d is ntained in sme T f d. Let e be a T f d, and assume sme minimum weight edge, f 7g hikj Pm le. We will find an T that des have this edge. tie that e f must ntain a yle. ine f is a minimum weight edge, every ther edge f the yle is at least the same weight as f. Als, if we remve any edge frm that yle, the resulting graph will be a tree. PR Let n be ne suh edge, and let e f. Then e is a spanning tree with weight qp sr st qp, s e is a T. ine f qe, we are dne. Optimal substruture: Let e be a T and f g h' be a minimum weight edge. Cnsider e e$ f. There are tw ases t nsider: Case 1: Either g r h has degree 1 in e (withut lss f generality, assume it is g ). Then e is a 7gH 7gH spanning tree fr dm (dm is the graph d less the pint g and all the edges nneted t it). Case 2: Remving f frm e partitins e int tw trees, eu9 and e;. Let dv9 be the graph indued by the verties in e9 and dw; the graph indued by the verties in eh;. Then e<9 is a spanning tree fr dx9 and e; is a spanning tree fr dy;. In either ase the trees e, e<9, and e; are T fr their respetive subgraphs. Fr instane, if e 9 is nt an T fr dv9, then there is an T ez 9, with Pw ae<9 aez. In this ase, ez e; f is a spanning tree f d e 9 e; Ps f O: with weight ae 9 ntraditing that e we have shwn ptimal substruture. e; f OK e 9 e; f OG is an T fr d. Thus, e9 is a T fr dv9 (and similar fr e and e; ). Thus, 1 ee hapter 24 f [1] fr a mplete verage f minimum spanning trees. e 3
4 I 4 Greedy Algrithms: Thery Definitin 1 A matrid is an rdered pair } ~Oui suh that 1. is a finite nn-empty set. 2. is a family f subsets f all subsets I. if Iƒ 3. Fr I Example: Let } Š = ayli subgraphs f G Vague prf that } is a matrid., alled independent subsets suh that if I, then there exists sme q )Šx fr a graph d ˆ 1. is learly finite and nn-empty if d is. suh that I be defined as P, then. fr 2. If I is ayli, then I is learly ayli t. 3. Let I with Iƒ. Clearly, I and are frests and has less trees than A. 7g hi Therefre, there is an edge suh that g and h are in different trees f I, s P$7g hi (beause this edge nnets tw different trees in I, it annt make a yle). We are still lking t renile this with inimum panning Trees. Definitin 2 Fr a matrid } u' Definitin 3 I is nt ntained in any larger subsets f., an element j ŒI, is an extensin f I~ is alled maximal if I has n extensins. Put anther way, I is maximal if I if I PV. Therem 3 All maximal independent subsets f a matrid have the same size. Prf: Let I P sme ŽI suh that I whih ntradits I all maximal independent subsets have the same size. Definitin 4 A matrid }. By prperty 3, there exists, and be maximal independent subsets with Iƒ being maximal. Thus, IT u' with = eah element a psitive weight a. Definitin 5 A subset I~ is ptimal if is weighted if there is a weight funtin I. Given a subset I is maximal. that assiates, define I 4
5 I Ñ \ \ I Fat: An ptimal subset must be maximal (have n extensins), sine extending it wuld inrease its weight. Example: T turn the T prblem int a weighted matrid, we define the weight funtin " s a f š * -œ a \ž f š - *œ a fr all. We nw present a greedy algrithm t find an ptimal subset f a weighted matrid. Greedyatrid(,I,W) A=} // tart with the empty set rt nn-inreasing by W Fr eah x in in srted rder if A+x in I // If A unin x is in I A=A+x // Add x t A Return A // A is ptimal Assuming determining whether r nt I CBED FGŸ? ž?a H G nu CBED&FG?A PR H nu Ÿ takes time nq, then the mplexity is. We will nw shw that the algrithm is rret. Lemma 4 (atrids exhibit the greedy hie prperty) u' Let } be a matrid with a weight funtin, and assume is srted, nn-inreasing arding t. Let Œ be the first (thus largest) element suh that, if ne exists. Then is ntained in sme ptimal slutin. Prf: If there is n suh, there is n ptimal slutin (and there is nthing t prve). Let be an ptimal slutin, and assume W. tie that if ž `, and has maximum weight. Let I. While P ' Iƒ and add ~ P t I. Eventually, we will have I G P OQ ši a then, sine, find ` Ñ I suh that š! fr sme A I } I I Thus, is an ptimal slutin ntaining. Lemma 5 Let u' be a matrid. If j, then P j fr any subset. P sine y P Prf: By prperty 2, if I, then q, with. Lemma 6 (atrids exhibit ptimal substruture) Let be the first element hsen by Greedyatrid u' l zp fr a weighted matrid }. Let I Ib is ptimal fr }. Then Ib is ptimal fr }m IV, where ~ žz* ª and ~ OZ Prf: Let I«be ptimal with I. Let I I }. Then there exists a slutin fr } suh that slutin fr } with P O: I Ps i and assume I is nt ptimal fr I. Thus, P is a ntraditing that I is ptimal. Thus I is ptimal. G ši 5
6 Z Therem 7 (The Greedyatrid algrithm is rret) If } is a weighted matrid with weight funtin, then Greedyatrid returns an ptimal subset. Prf: By Lemma 5, if we skip ver any element as a first hie beause it is nt in, then it is nt in any ptimal slutin, s it is n lss. One we pik the first element, Lemma 4 ensures there exists an ptimal slutin ntaining, s is safe t add. Arding t Lemma 6, we need t find an ptimal slutin t }. ine iff P we an view the algrithm as ating n }. Thus the algrithm will ntinue by finding an ptimal slutin t the subprblem. Therefre it finds an ptimal slutin t the prblem. 5 Task sheduling Prblem 2 In the task sheduling prblem we have a set f tasks, suh that: 1. Eah task takes unit time. 2. Eah has a deadline 3. Eah has a penalty by whih it shuld be dne. if it is late. We wish t find a shedule f all tasks in time units s that the verall penalty is minimum. We an easily see a few fats abut this prblem: Fat 1: We an list the tasks s that all the early tasks are sheduled befre any f the late tasks are. A shedule in this frm is alled early first. Fat 2: We an list the tasks in annial frm. That is, early first suh that the early tasks are in rder f deadline. Why? tie that if is sheduled befre but \$ 7#, swithing and makes earlier (s it is still n time) and puts where was, and sine has a later deadline, is still n time. Fat 3: inimizing the penalty f the late tasks is equivalent t maximizing the penalties f the n-time tasks. u' Therem 8 Let } where = the set f tasks, = subsets f suh that there exists an n-time shedule (Thse subsets that an be sheduled n time.) The } is a matrid. Prf: We need t shw the 3 matrid prperties hld. u' 1. is learly nn-empty and finite. 2. If I~, every subset f I~ 3. If I and IT have the latest deadline is lear. then there exists = k. Let ~ ŒIR³! suh that I and P. Let ±I 6
7 ! Z ~ j j A and tie that if, then sine therwise it wuld have been hsen instead f. Pµ Thus, sine this is a set f tasks % P whih all must y be mpleted by time, there an be at mst f them). tie that I ši and P± bp. ine IT, P y Ps Pq ši O P I ~ O P I Ps ¹j s I Assume I. Then there exists tasks in I with deadline at mst Ps. Thus, I, ntraditing that I. Therefre I Figure 1 gives a graphial representatin f the prf f Therem 8. evº'»7 I ( +. / ½ ¾= À Á 65 ½ ¾= À & 7 6( + 7. ½ ¾= À Â Figure 1: A graphial example f the prf f Therem 8. The tasks are srted by inreasing deadline. tie that is the largest task in tasks t its left have deadline. that is nt in I, and sine it has deadline, thse Referenes [1] Crmen, Leisersn, and Rivest, Intrdutin t Algrithms, Graw Hill,
Chapter Summary. Mathematical Induction Strong Induction Recursive Definitions Structural Induction Recursive Algorithms
Chapter 5 1 Chapter Summary Mathematical Inductin Strng Inductin Recursive Definitins Structural Inductin Recursive Algrithms Sectin 5.1 3 Sectin Summary Mathematical Inductin Examples f Prf by Mathematical
More informationCambridge Assessment International Education Cambridge Ordinary Level. Published
Cambridge Assessment Internatinal Educatin Cambridge Ordinary Level ADDITIONAL MATHEMATICS 4037/1 Paper 1 Octber/Nvember 017 MARK SCHEME Maximum Mark: 80 Published This mark scheme is published as an aid
More informationOn the Origin of the Special Relativity Anomalies
On the Origin f the Speial Relatiity Anmalies Radwan M. Kassir February 2015 radwan.elkassir@dargrup.m ABSTRACT In this paper, the nlusie rigin f the Speial Relatiity (SR) mathematial nflits identified
More informationTrigonometric Ratios Unit 5 Tentative TEST date
1 U n i t 5 11U Date: Name: Trignmetric Ratis Unit 5 Tentative TEST date Big idea/learning Gals In this unit yu will extend yur knwledge f SOH CAH TOA t wrk with btuse and reflex angles. This extensin
More informationAdmissibility Conditions and Asymptotic Behavior of Strongly Regular Graphs
Admissibility Cnditins and Asympttic Behavir f Strngly Regular Graphs VASCO MOÇO MANO Department f Mathematics University f Prt Oprt PORTUGAL vascmcman@gmailcm LUÍS ANTÓNIO DE ALMEIDA VIEIRA Department
More informationContent 1. Introduction 2. The Field s Configuration 3. The Lorentz Force 4. The Ampere Force 5. Discussion References
Khmelnik. I. Lrentz Fre, Ampere Fre and Mmentum Cnservatin Law Quantitative. Analysis and Crllaries. Abstrat It is knwn that Lrentz Fre and Ampere fre ntradits the Third Newtn Law, but it des nt ntradit
More informationMAT 1275: Introduction to Mathematical Analysis
MAT 75: Intrdutin t Mthemtil Anlysis Dr. A. Rzenlyum Trignmetri Funtins fr Aute Angles Definitin f six trignmetri funtins Cnsider the fllwing girffe prlem: A girffe s shdw is 8 meters. Hw tll is the girffe
More informationHomology groups of disks with holes
Hmlgy grups f disks with hles THEOREM. Let p 1,, p k } be a sequence f distinct pints in the interir unit disk D n where n 2, and suppse that fr all j the sets E j Int D n are clsed, pairwise disjint subdisks.
More informationContent 1. Introduction 2. The Field s Configuration 3. The Lorentz Force 4. The Ampere Force 5. Discussion References
Khmelnik S. I. Lrentz Fre, Ampere Fre and Mmentum Cnservatin Law Quantitative. Analysis and Crllaries. Abstrat It is knwn that Lrentz Fre and Ampere fre ntradits the Third Newtn Law, but it des nt ntradit
More informationLyapunov Stability Stability of Equilibrium Points
Lyapunv Stability Stability f Equilibrium Pints 1. Stability f Equilibrium Pints - Definitins In this sectin we cnsider n-th rder nnlinear time varying cntinuus time (C) systems f the frm x = f ( t, x),
More informationCOMP 551 Applied Machine Learning Lecture 11: Support Vector Machines
COMP 551 Applied Machine Learning Lecture 11: Supprt Vectr Machines Instructr: (jpineau@cs.mcgill.ca) Class web page: www.cs.mcgill.ca/~jpineau/cmp551 Unless therwise nted, all material psted fr this curse
More informationPattern Recognition 2014 Support Vector Machines
Pattern Recgnitin 2014 Supprt Vectr Machines Ad Feelders Universiteit Utrecht Ad Feelders ( Universiteit Utrecht ) Pattern Recgnitin 1 / 55 Overview 1 Separable Case 2 Kernel Functins 3 Allwing Errrs (Sft
More informationCHAPTER 3 INEQUALITIES. Copyright -The Institute of Chartered Accountants of India
CHAPTER 3 INEQUALITIES Cpyright -The Institute f Chartered Accuntants f India INEQUALITIES LEARNING OBJECTIVES One f the widely used decisin making prblems, nwadays, is t decide n the ptimal mix f scarce
More informationChemical Engineering 160/260 Polymer Science and Engineering. Lecture 15: Molecular Aspects of Polymer Rheology February 21, 2001
Chemial Engineering 160/260 Plymer Siene and Engineering Leture 15: Mleular Aspets f Plymer Rhelgy February 21, 2001 Objetives! T intrdue the nept f saling analysis t aunt fr the nentratin and mleular
More informationLab 11 LRC Circuits, Damped Forced Harmonic Motion
Physics 6 ab ab 11 ircuits, Damped Frced Harmnic Mtin What Yu Need T Knw: The Physics OK this is basically a recap f what yu ve dne s far with circuits and circuits. Nw we get t put everything tgether
More informationDifferentiation Applications 1: Related Rates
Differentiatin Applicatins 1: Related Rates 151 Differentiatin Applicatins 1: Related Rates Mdel 1: Sliding Ladder 10 ladder y 10 ladder 10 ladder A 10 ft ladder is leaning against a wall when the bttm
More informationIntroduction to Models and Properties
Intrductin t Mdels and Prperties Cmputer Science and Artificial Intelligence Labratry MIT Armand Slar-Lezama Nv 23, 2015 Nvember 23, 2015 1 Recap Prperties Prperties f variables Prperties at prgram pints
More informationRevision: August 19, E Main Suite D Pullman, WA (509) Voice and Fax
.7.4: Direct frequency dmain circuit analysis Revisin: August 9, 00 5 E Main Suite D Pullman, WA 9963 (509) 334 6306 ice and Fax Overview n chapter.7., we determined the steadystate respnse f electrical
More informationREADING STATECHART DIAGRAMS
READING STATECHART DIAGRAMS Figure 4.48 A Statechart diagram with events The diagram in Figure 4.48 shws all states that the bject plane can be in during the curse f its life. Furthermre, it shws the pssible
More informationLHS Mathematics Department Honors Pre-Calculus Final Exam 2002 Answers
LHS Mathematics Department Hnrs Pre-alculus Final Eam nswers Part Shrt Prblems The table at the right gives the ppulatin f Massachusetts ver the past several decades Using an epnential mdel, predict the
More informationRevisiting the Socrates Example
Sectin 1.6 Sectin Summary Valid Arguments Inference Rules fr Prpsitinal Lgic Using Rules f Inference t Build Arguments Rules f Inference fr Quantified Statements Building Arguments fr Quantified Statements
More informationCS 477/677 Analysis of Algorithms Fall 2007 Dr. George Bebis Course Project Due Date: 11/29/2007
CS 477/677 Analysis f Algrithms Fall 2007 Dr. Gerge Bebis Curse Prject Due Date: 11/29/2007 Part1: Cmparisn f Srting Algrithms (70% f the prject grade) The bjective f the first part f the assignment is
More information1 The limitations of Hartree Fock approximation
Chapter: Pst-Hartree Fck Methds - I The limitatins f Hartree Fck apprximatin The n electrn single determinant Hartree Fck wave functin is the variatinal best amng all pssible n electrn single determinants
More informationExam Review Trigonometry
Exam Review Trignmetry (Tyler, Chris, Hafsa, Nasim, Paniz,Tng) Similar Triangles Prving Similarity (AA, SSS, SAS) ~ Tyler Garfinkle 3 Types f Similarities: 1. Side Side Side Similarity (SSS) If three pairs
More informationMath Foundations 20 Work Plan
Math Fundatins 20 Wrk Plan Units / Tpics 20.8 Demnstrate understanding f systems f linear inequalities in tw variables. Time Frame December 1-3 weeks 6-10 Majr Learning Indicatrs Identify situatins relevant
More informationCHAPTER Read Chapter 17, sections 1,2,3. End of Chapter problems: 25
CHAPTER 17 1. Read Chapter 17, sectins 1,2,3. End f Chapter prblems: 25 2. Suppse yu are playing a game that uses tw dice. If yu cunt the dts n the dice, yu culd have anywhere frm 2 t 12. The ways f prducing
More informationNUMBERS, MATHEMATICS AND EQUATIONS
AUSTRALIAN CURRICULUM PHYSICS GETTING STARTED WITH PHYSICS NUMBERS, MATHEMATICS AND EQUATIONS An integral part t the understanding f ur physical wrld is the use f mathematical mdels which can be used t
More informationComputational modeling techniques
Cmputatinal mdeling techniques Lecture 4: Mdel checing fr ODE mdels In Petre Department f IT, Åb Aademi http://www.users.ab.fi/ipetre/cmpmd/ Cntent Stichimetric matrix Calculating the mass cnservatin relatins
More informationAdmin. MDP Search Trees. Optimal Quantities. Reinforcement Learning
Admin Reinfrcement Learning Cntent adapted frm Berkeley CS188 MDP Search Trees Each MDP state prjects an expectimax-like search tree Optimal Quantities The value (utility) f a state s: V*(s) = expected
More informationELEVENTH YEAR MATHEMATICS
The University f the State f New Yrk REGENTS HIGH SHOOL EXAMINATION ELEVENTH YEAR MATHEMATIS Mnday, June 8, 973- :5 t 4 :5 p.m., nly The last page f the bklet is the answer sheet. Fld the last page alng
More information1 PreCalculus AP Unit G Rotational Trig (MCR) Name:
1 PreCalculus AP Unit G Rtatinal Trig (MCR) Name: Big idea In this unit yu will extend yur knwledge f SOH CAH TOA t wrk with btuse and reflex angles. This extensin will invlve the unit circle which will
More informationEquilibrium of Stress
Equilibrium f Stress Cnsider tw perpendicular planes passing thrugh a pint p. The stress cmpnents acting n these planes are as shwn in ig. 3.4.1a. These stresses are usuall shwn tgether acting n a small
More informationA new Type of Fuzzy Functions in Fuzzy Topological Spaces
IOSR Jurnal f Mathematics (IOSR-JM e-issn: 78-578, p-issn: 39-765X Vlume, Issue 5 Ver I (Sep - Oct06, PP 8-4 wwwisrjurnalsrg A new Type f Fuzzy Functins in Fuzzy Tplgical Spaces Assist Prf Dr Munir Abdul
More informationLim f (x) e. Find the largest possible domain and its discontinuity points. Why is it discontinuous at those points (if any)?
THESE ARE SAMPLE QUESTIONS FOR EACH OF THE STUDENT LEARNING OUTCOMES (SLO) SET FOR THIS COURSE. SLO 1: Understand and use the cncept f the limit f a functin i. Use prperties f limits and ther techniques,
More informationCopyright Paul Tobin 63
DT, Kevin t. lectric Circuit Thery DT87/ Tw-Prt netwrk parameters ummary We have seen previusly that a tw-prt netwrk has a pair f input terminals and a pair f utput terminals figure. These circuits were
More informationCOMP 551 Applied Machine Learning Lecture 9: Support Vector Machines (cont d)
COMP 551 Applied Machine Learning Lecture 9: Supprt Vectr Machines (cnt d) Instructr: Herke van Hf (herke.vanhf@mail.mcgill.ca) Slides mstly by: Class web page: www.cs.mcgill.ca/~hvanh2/cmp551 Unless therwise
More informationThis section is primarily focused on tools to aid us in finding roots/zeros/ -intercepts of polynomials. Essentially, our focus turns to solving.
Sectin 3.2: Many f yu WILL need t watch the crrespnding vides fr this sectin n MyOpenMath! This sectin is primarily fcused n tls t aid us in finding rts/zers/ -intercepts f plynmials. Essentially, ur fcus
More informationANSWER KEY FOR MATH 10 SAMPLE EXAMINATION. Instructions: If asked to label the axes please use real world (contextual) labels
ANSWER KEY FOR MATH 10 SAMPLE EXAMINATION Instructins: If asked t label the axes please use real wrld (cntextual) labels Multiple Chice Answers: 0 questins x 1.5 = 30 Pints ttal Questin Answer Number 1
More informationPublic Key Cryptography. Tim van der Horst & Kent Seamons
Public Key Cryptgraphy Tim van der Hrst & Kent Seamns Last Updated: Oct 5, 2017 Asymmetric Encryptin Why Public Key Crypt is Cl Has a linear slutin t the key distributin prblem Symmetric crypt has an expnential
More informationFlipping Physics Lecture Notes: Simple Harmonic Motion Introduction via a Horizontal Mass-Spring System
Flipping Physics Lecture Ntes: Simple Harmnic Mtin Intrductin via a Hrizntal Mass-Spring System A Hrizntal Mass-Spring System is where a mass is attached t a spring, riented hrizntally, and then placed
More informationAn Introduction to Complex Numbers - A Complex Solution to a Simple Problem ( If i didn t exist, it would be necessary invent me.
An Intrductin t Cmple Numbers - A Cmple Slutin t a Simple Prblem ( If i didn t eist, it wuld be necessary invent me. ) Our Prblem. The rules fr multiplying real numbers tell us that the prduct f tw negative
More informationSCHMIDT THEORY FOR STIRLING ENGINES
SHMIDT THOY FO STILING NGINS KOIHI HIATA Musashin-jjutaku 6-10, Gakuen -6-1, Musashimurayama, Tky 08, Japan Phne & Fax: +81-45-67-0086 e-mail: khirata@gem.bekkame.ne.jp url: http://www.bekkame.ne.jp/~khirata
More informationSection 6-2: Simplex Method: Maximization with Problem Constraints of the Form ~
Sectin 6-2: Simplex Methd: Maximizatin with Prblem Cnstraints f the Frm ~ Nte: This methd was develped by Gerge B. Dantzig in 1947 while n assignment t the U.S. Department f the Air Frce. Definitin: Standard
More informationThermodynamics and Equilibrium
Thermdynamics and Equilibrium Thermdynamics Thermdynamics is the study f the relatinship between heat and ther frms f energy in a chemical r physical prcess. We intrduced the thermdynamic prperty f enthalpy,
More information(Communicated at the meeting of September 25, 1948.) Izl=6 Izl=6 Izl=6 ~=I. max log lv'i (z)1 = log M;.
Mathematics. - On a prblem in the thery f unifrm distributin. By P. ERDÖS and P. TURÁN. 11. Ommunicated by Prf. J. G. VAN DER CORPUT.) Cmmunicated at the meeting f September 5, 1948.) 9. Af ter this first
More informationCHAPTER 2 Algebraic Expressions and Fundamental Operations
CHAPTER Algebraic Expressins and Fundamental Operatins OBJECTIVES: 1. Algebraic Expressins. Terms. Degree. Gruping 5. Additin 6. Subtractin 7. Multiplicatin 8. Divisin Algebraic Expressin An algebraic
More information0606 ADDITIONAL MATHEMATICS
PAPA CAMBRIDGE CAMBRIDGE INTERNATIONAL EXAMINATIONS Cambridge Internatinal General Certificate f Secndary Educatin MARK SCHEME fr the Octber/Nvember 0 series 0606 ADDITIONAL MATHEMATICS 0606/ Paper, maimum
More informationOn-Line Construction. of Suffix Trees. Overview. Suffix Trees. Notations. goo. Suffix tries
On-Line Cnstrutin Overview Suffix tries f Suffix Trees E. Ukknen On-line nstrutin f suffix tries in qudrti time Suffix trees On-line nstrutin f suffix trees in liner time Applitins 1 2 Suffix Trees A suffix
More informationChapter 2 GAUSS LAW Recommended Problems:
Chapter GAUSS LAW Recmmended Prblems: 1,4,5,6,7,9,11,13,15,18,19,1,7,9,31,35,37,39,41,43,45,47,49,51,55,57,61,6,69. LCTRIC FLUX lectric flux is a measure f the number f electric filed lines penetrating
More informationChapter 3 Kinematics in Two Dimensions; Vectors
Chapter 3 Kinematics in Tw Dimensins; Vectrs Vectrs and Scalars Additin f Vectrs Graphical Methds (One and Tw- Dimensin) Multiplicatin f a Vectr b a Scalar Subtractin f Vectrs Graphical Methds Adding Vectrs
More informationTHE FINITENESS OF THE MAPPING CLASS GROUP FOR ATOROIDAL 3-MANIFOLDS WITH GENUINE LAMINATIONS
j. differential gemetry 50 (1998) 123-127 THE FINITENESS OF THE MAPPING CLASS GROUP FOR ATOROIDAL 3-MANIFOLDS WITH GENUINE LAMINATIONS DAVID GABAI & WILLIAM H. KAZEZ Essential laminatins were intrduced
More informationTutorial 3: Building a spectral library in Skyline
SRM Curse 2013 Tutrial 3 Spectral Library Tutrial 3: Building a spectral library in Skyline Spectral libraries fr SRM methd design and fr data analysis can be either directly added t a Skyline dcument
More informationNAME: Prof. Ruiz. 1. [5 points] What is the difference between simple random sampling and stratified random sampling?
CS4445 ata Mining and Kwledge iscery in atabases. B Term 2014 Exam 1 Nember 24, 2014 Prf. Carlina Ruiz epartment f Cmputer Science Wrcester Plytechnic Institute NAME: Prf. Ruiz Prblem I: Prblem II: Prblem
More informationMODULE 1. e x + c. [You can t separate a demominator, but you can divide a single denominator into each numerator term] a + b a(a + b)+1 = a + b
. REVIEW OF SOME BASIC ALGEBRA MODULE () Slving Equatins Yu shuld be able t slve fr x: a + b = c a d + e x + c and get x = e(ba +) b(c a) d(ba +) c Cmmn mistakes and strategies:. a b + c a b + a c, but
More informationSupporting information for: Large Protonation-Gated Photochromism of an OPE-Embedded Difurylperfluorocyclopentene
Eletrni Supplementary Material (ESI) fr Physial Chemistry Chemial Physis. This jurnal is the Owner Sieties 015 1/9 Supprting infrmatin fr: Large Prtnatin-Gated Phthrmism f an OPE-Embedded Difurylperflurylpentene
More informationG.SRT.A.2-3 PRACTICE WS #1-3 geometrycommoncore.com 1. Name: Date: Similarity Practice
.S..2-3 I WS #1-3 gemetrycmmncre.cm 1 ame: ate: _ Similarity ractice .S..2-3 I WS #1-3 gemetrycmmncre.cm 2 I will knw hw t identify crrespnding angles and sides based n similarity statements. I will knw
More informationFlipping Physics Lecture Notes: Simple Harmonic Motion Introduction via a Horizontal Mass-Spring System
Flipping Physics Lecture Ntes: Simple Harmnic Mtin Intrductin via a Hrizntal Mass-Spring System A Hrizntal Mass-Spring System is where a mass is attached t a spring, riented hrizntally, and then placed
More informationAdministrativia. Assignment 1 due thursday 9/23/2004 BEFORE midnight. Midterm exam 10/07/2003 in class. CS 460, Sessions 8-9 1
Administrativia Assignment 1 due thursday 9/23/2004 BEFORE midnight Midterm eam 10/07/2003 in class CS 460, Sessins 8-9 1 Last time: search strategies Uninfrmed: Use nly infrmatin available in the prblem
More informationYou need to be able to define the following terms and answer basic questions about them:
CS440/ECE448 Sectin Q Fall 2017 Midterm Review Yu need t be able t define the fllwing terms and answer basic questins abut them: Intr t AI, agents and envirnments Pssible definitins f AI, prs and cns f
More informationLast Updated: Oct 14, 2017
RSA Last Updated: Oct 14, 2017 Recap Number thery What is a prime number? What is prime factrizatin? What is a GCD? What des relatively prime mean? What des c-prime mean? What des cngruence mean? What
More informationDataflow Analysis and Abstract Interpretation
Dataflw Analysis and Abstract Interpretatin Cmputer Science and Artificial Intelligence Labratry MIT Nvember 9, 2015 Recap Last time we develped frm first principles an algrithm t derive invariants. Key
More informationOn small defining sets for some SBIBD(4t - 1, 2t - 1, t - 1)
University f Wllngng Research Online Faculty f Infrmatics - Papers (Archive) Faculty f Engineering and Infrmatin Sciences 992 On small defining sets fr sme SBIBD(4t -, 2t -, t - ) Jennifer Seberry University
More informationLEARNING : At the end of the lesson, students should be able to: OUTCOMES a) state trigonometric ratios of sin,cos, tan, cosec, sec and cot
Mathematics DM 05 Tpic : Trignmetric Functins LECTURE OF 5 TOPIC :.0 TRIGONOMETRIC FUNCTIONS SUBTOPIC :. Trignmetric Ratis and Identities LEARNING : At the end f the lessn, students shuld be able t: OUTCOMES
More informationInterference is when two (or more) sets of waves meet and combine to produce a new pattern.
Interference Interference is when tw (r mre) sets f waves meet and cmbine t prduce a new pattern. This pattern can vary depending n the riginal wave directin, wavelength, amplitude, etc. The tw mst extreme
More informationBootstrap Method > # Purpose: understand how bootstrap method works > obs=c(11.96, 5.03, 67.40, 16.07, 31.50, 7.73, 11.10, 22.38) > n=length(obs) >
Btstrap Methd > # Purpse: understand hw btstrap methd wrks > bs=c(11.96, 5.03, 67.40, 16.07, 31.50, 7.73, 11.10, 22.38) > n=length(bs) > mean(bs) [1] 21.64625 > # estimate f lambda > lambda = 1/mean(bs);
More informationPHYS 314 HOMEWORK #3
PHYS 34 HOMEWORK #3 Due : 8 Feb. 07. A unifrm chain f mass M, lenth L and density λ (measured in k/m) hans s that its bttm link is just tuchin a scale. The chain is drpped frm rest nt the scale. What des
More informationPart 3 Introduction to statistical classification techniques
Part 3 Intrductin t statistical classificatin techniques Machine Learning, Part 3, March 07 Fabi Rli Preamble ØIn Part we have seen that if we knw: Psterir prbabilities P(ω i / ) Or the equivalent terms
More information[COLLEGE ALGEBRA EXAM I REVIEW TOPICS] ( u s e t h i s t o m a k e s u r e y o u a r e r e a d y )
(Abut the final) [COLLEGE ALGEBRA EXAM I REVIEW TOPICS] ( u s e t h i s t m a k e s u r e y u a r e r e a d y ) The department writes the final exam s I dn't really knw what's n it and I can't very well
More informationSupport-Vector Machines
Supprt-Vectr Machines Intrductin Supprt vectr machine is a linear machine with sme very nice prperties. Haykin chapter 6. See Alpaydin chapter 13 fr similar cntent. Nte: Part f this lecture drew material
More informationFINITE BOOLEAN ALGEBRA. 1. Deconstructing Boolean algebras with atoms. Let B = <B,,,,,0,1> be a Boolean algebra and c B.
FINITE BOOLEAN ALGEBRA 1. Decnstructing Blean algebras with atms. Let B = be a Blean algebra and c B. The ideal generated by c, (c], is: (c] = {b B: b c} The filter generated by c, [c), is:
More information, which yields. where z1. and z2
The Gaussian r Nrmal PDF, Page 1 The Gaussian r Nrmal Prbability Density Functin Authr: Jhn M Cimbala, Penn State University Latest revisin: 11 September 13 The Gaussian r Nrmal Prbability Density Functin
More informationChemistry 20 Lesson 11 Electronegativity, Polarity and Shapes
Chemistry 20 Lessn 11 Electrnegativity, Plarity and Shapes In ur previus wrk we learned why atms frm cvalent bnds and hw t draw the resulting rganizatin f atms. In this lessn we will learn (a) hw the cmbinatin
More informationDepartment of Economics, University of California, Davis Ecn 200C Micro Theory Professor Giacomo Bonanno. Insurance Markets
Department f Ecnmics, University f alifrnia, Davis Ecn 200 Micr Thery Prfessr Giacm Bnann Insurance Markets nsider an individual wh has an initial wealth f. ith sme prbability p he faces a lss f x (0
More informationDead-beat controller design
J. Hetthéssy, A. Barta, R. Bars: Dead beat cntrller design Nvember, 4 Dead-beat cntrller design In sampled data cntrl systems the cntrller is realised by an intelligent device, typically by a PLC (Prgrammable
More information2.161 Signal Processing: Continuous and Discrete Fall 2008
MIT OpenCurseWare http://cw.mit.edu 2.161 Signal Prcessing: Cntinuus and Discrete Fall 2008 Fr infrmatin abut citing these materials r ur Terms f Use, visit: http://cw.mit.edu/terms. Massachusetts Institute
More informationPreparation work for A2 Mathematics [2017]
Preparatin wrk fr A2 Mathematics [2017] The wrk studied in Y12 after the return frm study leave is frm the Cre 3 mdule f the A2 Mathematics curse. This wrk will nly be reviewed during Year 13, it will
More informationCompressibility Effects
Definitin f Cmpressibility All real substances are cmpressible t sme greater r lesser extent; that is, when yu squeeze r press n them, their density will change The amunt by which a substance can be cmpressed
More informationT Algorithmic methods for data mining. Slide set 6: dimensionality reduction
T-61.5060 Algrithmic methds fr data mining Slide set 6: dimensinality reductin reading assignment LRU bk: 11.1 11.3 PCA tutrial in mycurses (ptinal) ptinal: An Elementary Prf f a Therem f Jhnsn and Lindenstrauss,
More informationOn Topological Structures and. Fuzzy Sets
L - ZHR UNIVERSIT - GZ DENSHIP OF GRDUTE STUDIES & SCIENTIFIC RESERCH On Tplgical Structures and Fuzzy Sets y Nashaat hmed Saleem Raab Supervised by Dr. Mhammed Jamal Iqelan Thesis Submitted in Partial
More informationECE 2100 Circuit Analysis
ECE 2100 Circuit Analysis Lessn 25 Chapter 9 & App B: Passive circuit elements in the phasr representatin Daniel M. Litynski, Ph.D. http://hmepages.wmich.edu/~dlitynsk/ ECE 2100 Circuit Analysis Lessn
More informationSOME CONSTRUCTIONS OF OPTIMAL BINARY LINEAR UNEQUAL ERROR PROTECTION CODES
Philips J. Res. 39, 293-304,1984 R 1097 SOME CONSTRUCTIONS OF OPTIMAL BINARY LINEAR UNEQUAL ERROR PROTECTION CODES by W. J. VAN OILS Philips Research Labratries, 5600 JA Eindhven, The Netherlands Abstract
More informationCurriculum Development Overview Unit Planning for 8 th Grade Mathematics MA10-GR.8-S.1-GLE.1 MA10-GR.8-S.4-GLE.2
Unit Title It s All Greek t Me Length f Unit 5 weeks Fcusing Lens(es) Cnnectins Standards and Grade Level Expectatins Addressed in this Unit MA10-GR.8-S.1-GLE.1 MA10-GR.8-S.4-GLE.2 Inquiry Questins (Engaging-
More informationFloating Point Method for Solving Transportation. Problems with Additional Constraints
Internatinal Mathematical Frum, Vl. 6, 20, n. 40, 983-992 Flating Pint Methd fr Slving Transprtatin Prblems with Additinal Cnstraints P. Pandian and D. Anuradha Department f Mathematics, Schl f Advanced
More informationLead/Lag Compensator Frequency Domain Properties and Design Methods
Lectures 6 and 7 Lead/Lag Cmpensatr Frequency Dmain Prperties and Design Methds Definitin Cnsider the cmpensatr (ie cntrller Fr, it is called a lag cmpensatr s K Fr s, it is called a lead cmpensatr Ntatin
More informationFull Disjunctions: Polynomial-Delay Iterators in Action
Full Disjunctins: Plynmial-Delay Iteratrs in Actin Sara Chen Technin Haifa, Israel sarac@ie.technin.ac.il Itzhak Fadida Technin Haifa, Israel tzahi@tx.technin.ac.il Yarn Kanza University f Trnt Trnt, Canada
More informationNOTE ON APPELL POLYNOMIALS
NOTE ON APPELL POLYNOMIALS I. M. SHEFFER An interesting characterizatin f Appell plynmials by means f a Stieltjes integral has recently been given by Thrne. 1 We prpse t give a secnd such representatin,
More informationFive Whys How To Do It Better
Five Whys Definitin. As explained in the previus article, we define rt cause as simply the uncvering f hw the current prblem came int being. Fr a simple causal chain, it is the entire chain. Fr a cmplex
More informationCS453 Intro and PA1 1
Plan fr day Ambiguus Grammars Disambiguating ambiguus grammars Predictive parsing IR and OLLOW sets Predictive Parsing table C453 Lecture p-dwn Predictive Parsers 1 Ambiguus Grammars Ambiguus grammar:
More informationTree Structured Classifier
Tree Structured Classifier Reference: Classificatin and Regressin Trees by L. Breiman, J. H. Friedman, R. A. Olshen, and C. J. Stne, Chapman & Hall, 98. A Medical Eample (CART): Predict high risk patients
More informationBroadcast Program Generation for Unordered Queries with Data Replication
Bradcast Prgram Generatin fr Unrdered Queries with Data Replicatin Jiun-Lng Huang and Ming-Syan Chen Department f Electrical Engineering Natinal Taiwan University Taipei, Taiwan, ROC E-mail: jlhuang@arbr.ee.ntu.edu.tw,
More informationPart a: Writing the nodal equations and solving for v o gives the magnitude and phase response: tan ( 0.25 )
+ - Hmewrk 0 Slutin ) In the circuit belw: a. Find the magnitude and phase respnse. b. What kind f filter is it? c. At what frequency is the respnse 0.707 if the generatr has a ltage f? d. What is the
More informationIntroduction: A Generalized approach for computing the trajectories associated with the Newtonian N Body Problem
A Generalized apprach fr cmputing the trajectries assciated with the Newtnian N Bdy Prblem AbuBar Mehmd, Syed Umer Abbas Shah and Ghulam Shabbir Faculty f Engineering Sciences, GIK Institute f Engineering
More informationCOVERS OF DEHN FILLINGS ON ONCE-PUNCTURED TORUS BUNDLES
prceedings f the american mathematical sciety Vlume 105, Number 3, March 1989 COVERS OF DEHN FILLINGS ON ONCE-PUNCTURED TORUS BUNDLES MARK D. BAKER (Cmmunicated by Frederick R. Chen) Abstract. Let M be
More informationChem 116 POGIL Worksheet - Week 8 Equilibrium Continued - Solutions
Chem 116 POGIL Wrksheet - Week 8 Equilibrium Cntinued - Slutins Key Questins 1. Cnsider the fllwing reatin At 425 C, an equilibrium mixture has the fllwing nentratins What is the value f K? -2 [HI] = 1.01
More informationA solution of certain Diophantine problems
A slutin f certain Diphantine prblems Authr L. Euler* E7 Nvi Cmmentarii academiae scientiarum Petrplitanae 0, 1776, pp. 8-58 Opera Omnia: Series 1, Vlume 3, pp. 05-17 Reprinted in Cmmentat. arithm. 1,
More informationMATHEMATICS SYLLABUS SECONDARY 5th YEAR
Eurpean Schls Office f the Secretary-General Pedaggical Develpment Unit Ref. : 011-01-D-8-en- Orig. : EN MATHEMATICS SYLLABUS SECONDARY 5th YEAR 6 perid/week curse APPROVED BY THE JOINT TEACHING COMMITTEE
More informationLecture 10 Adiabatic Processes
ASME231 Atmsheri hermdynamis NC A& State U Deartment f Physis Dr. Yuh-Lang Lin htt://meslab.rg ylin@nat.edu Leture 10 Adiabati Presses (Se.3.5 f Hess) [Classial equatin editr: 0 dq ] Definitin: If a thermdynami
More informationUniversity Chemistry Quiz /04/21 1. (10%) Consider the oxidation of ammonia:
University Chemistry Quiz 3 2015/04/21 1. (10%) Cnsider the xidatin f ammnia: 4NH 3 (g) + 3O 2 (g) 2N 2 (g) + 6H 2 O(l) (a) Calculate the ΔG fr the reactin. (b) If this reactin were used in a fuel cell,
More informationHeat Transfer and Friction Characteristics of Heat Exchanger Under Lignite Fly-Ash
The 20th Cnferene f Mehanial Engineering Netwrk f Thailand 18-20 Otber 2006, Nakhn Rathasima, Thailand Heat Transfer and Fritin Charateristis f Heat Exhanger Under ignite Fly-Ash Pipat Juangjandee 1*,
More information