CS473-Algorithms I. Lecture 3. Solving Recurrences. Cevdet Aykanat - Bilkent University Computer Engineering Department

Size: px
Start display at page:

Download "CS473-Algorithms I. Lecture 3. Solving Recurrences. Cevdet Aykanat - Bilkent University Computer Engineering Department"

Transcription

1 CS473-Algorthms I Lecture 3 Solvg Recurreces Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet

2 Solvg Recurreces The lyss of merge sort Lecture requred us to solve recurrece. Recurreces re lke solvg tegrls, dfferetl equtos, etc. Ler few trcks. Lecture 4 : Applctos of recurreces. Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 2

3 Recurreces Fucto expressed recursvely T T / 2 Solve for = 2 k f = f > Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 3

4 Recurreces Clmed swer: T = lg+ = lg Susttute clmed swer for T the recurrece Note: resultg equtos re true whe = 2 k.e. lg lg Tedous techclty: hve t show T = lg / 2 f =2 0 = f =2 k > But, sce T s mootoclly o-decresg fucto of 2 lg 2 lg T T lg2 lg lg lg Thus, celg dd t mtter much Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 4

5 Recurreces Techclly, should e creful out floors d celgs s the ook But, usully t s oky To gore floor/celg Just solve for exct powers of 2 or Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 5

6 Boudry Codtos Usully ssume T= Θ for smll Does ot usully ffect sol. f polyomlly ouded Exmple: Itl codto ffects sol. Expoetl T=T / 2 2 E.g., If T= c for costt c > 0, the T2 = T 2 =c 2, T4= T2 2 =c 4, T = Θc T 2 T 2 However2 3 T 3 T 3 Dfferece sol. s more drmtc wth T T Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 6

7 Susttuto Method The most geerl method:. Guess the form of the soluto. 2. Verfy y ducto. 3. Solve for costts. Exmple: T = 4T/2 + [Assume tht T = Θ.] Guess O 3. Prove O d Ω seprtely. Assume tht Tk ck 3 for k <. Prove T c 3 y ducto. Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 7

8 Exmple of Susttuto T = 4T/2 + 4c /2 3 + = c/2 3 + = c 3 c/2 3 - desred resdul c 3 wheever c/2 3 0, for exmple, f c 2 d resdul Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 8

9 Exmple Cotued We must lso hdle the tl codtos, tht s, groud the ducto wth se cses. Bse: T = Θ for ll < 0, where 0 s sutle costt. For < 0, we hve Θ c 3, f we pck c g eough. Ths oud s ot tght! Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 9

10 A Tghter Upper Boud? We shll prove tht T = O 2 Assume tht Tk ck 2 for k < : T = 4T/2 + c 2 + = O 2 Wrog! We must prove the I.H. = c c 2 for o choce of c > 0. Lose! Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 0

11 A Tghter Upper Boud! IDEA: Stregthe the ductve hypothess. Sutrct low-order term. Iductve hypothess: Tk c k 2 c 2 k for k < T = 4T/2 + 4 c /2 2 - c 2 /2 + = c 2-2 c 2 + = c 2 - c 2 c 2 - c 2 - c 2 f c 2 > Pck c g eough to hdle the tl codtos Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet

12 Recurso-Tree Method A recurso tree models the costs tme of recursve executo of lgorthm. The recurso tree method s good for geertg guesses for the susttuto method. The recurso-tree method c e urelle. The recurso-tree method promotes tuto, however. Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 2

13 Exmple of Recurso Tree Solve T = T/4 + T/2 + 2 : Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 3

14 Exmple of Recurso Tree Solve T = T/4 + T/2 + 2 : T Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 4

15 Exmple of Recurso Tree Solve T = T/4 + T/2 + 2 : 2 T/4 T/2 Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 5

16 Exmple of Recurso Tree Solve T = T/4 + T/2 + 2 : 2 /4 2 /2 2 T/6 T/8 T/8 T/4 Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 6

17 Exmple of Recurso Tree Solve T = T/4 + T/2 + 2 : 2 /4 2 /2 2 /6 2 /8 2 /8 2 /4 2 Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 7

18 Exmple of Recurso Tree Solve T = T/4 + T/2 + 2 : 2 2 /4 2 /2 2 /6 2 /8 2 /8 2 /4 2 Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 8

19 Exmple of Recurso Tree Solve T = T/4 + T/2 + 2 : 2 2 /4 2 /2 2 5/6 2 /6 2 /8 2 /8 2 /4 2 Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 9

20 Exmple of Recurso Tree Solve T = T/4 + T/2 + 2 : 2 2 /4 2 /2 2 /6 2 /8 2 /8 2 /4 2 5/6 2 25/256 2 Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 20

21 Exmple of Recurso Tree Solve T = T/4 + T/2 + 2 : 2 2 /4 2 /2 2 /6 2 /8 2 /8 2 /4 2 5/6 2 25/256 2 Totl = 2 + 5/6 + 5/ / = 2 geometrc seres Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 2

22 The Mster Method The mster method pples to recurreces of the form T = T/ + f, where, >, d f s symptotclly postve. Three commo cses: Compre f wth Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 22

23 Three Commo Cses Compre f wth :. f = O for some costt ε > 0. f grows polyomly slower th y ε fctor. Soluto: T = Θ. 2. f = Θ lg k for some costt k 0. f d grow t smlr rtes. Soluto: T = Θ lg k+. Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 23

24 Three Commo Cses Compre f wth : 3. f = for some costt ε > 0. f grows polyomlly fster th y ε fctor. d f stsfes the regulrty codto tht f / c f for some costt c < Soluto: T = Θ f. Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 24

25 Exmples Ex: T = 4T/2 + =4, =2 = 2 ; f = CASE : f =O 2- ε for ε= T = Θ 2 Ex: T = 4T/2 + 2 =4, =2 = 2 ; f = 2 CASE 2: f = Θ 2 lg 0, tht s, k=0 T = Θ 2 lg Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 25

26 Exmples Ex: T = 4T/2 + 3 =4, =2 = 2 ; f = 3. CASE 3: f = 2+ ε for ε= d 4 c /2 3 c 3 reg. cod. for c=/2. T = Θ 3 Ex: T = 4T/2 + 2 / lg =4, =2 = 2 ; f = 2 / lg Mster method does ot pply. I prtculr, for every costt ε > 0, we hve ε = lg Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 26

27 Geerl Method Akr-Bzz T Let p e the uque soluto to k k T / The, the swers re the sme s for the / mster method, ut wth p sted of Akr d Bzz lso prove eve more geerl result. f p Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 27

28 Ide of Mster Theorem Recurso tree: f f / f / f / h= f / 2 f / 2 f / 2 f f / 2 f / 2 T #leves = h = = T Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 28

29 Ide of Mster Theorem Recurso tree: f f / f / f / h= f / 2 f / 2 f / 2 f f / 2 f / 2 T CASE : The weght creses geometrclly from the root to the leves. The leves hold costt T frcto of the totl weght. Θ Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 29

30 Ide of Mster Theorem Recurso tree: f f / f / f / h= f / 2 f / 2 f / 2 f f / 2 f / 2 T CASE 2 : k = 0 The weght s pproxmtely the sme o ech of the levels. Θ T lg Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 30

31 Ide of Mster Theorem Recurso tree: f f / f / f / h= f / 2 f / 2 f / 2 f f / 2 f / 2 T CASE 3 : The weght decreses geometrclly from the root to the leves. The root holds costt T frcto of the totl weght. Θ f Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 3

32 Proof of Mster Theorem: Cse d Cse 2 Recll from the recurso tree ote h = lg =tree heght 0 T h f / Lef cost No-lef cost = g Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 32

33 Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 33 Proof of Cse for some > 0 f O f O f f 0 0 / / h h O O g 0 / h O

34 Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 34 = A cresg geometrc seres sce > h h h O h h Cse cot

35 g O O O O Cse cot O T g O Q.E.D. Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 35

36 Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 36 Proof of Cse 2 lmted to k= h h h f f f 0 / lg 0 / h g lg T lg lg 0 Q.E.D.

37 Cocluso Next tme: pplyg the mster method. Cevdet Aykt - Blket Uversty Computer Egeerg Deprtmet 37

Sequences and Series

Sequences and Series Secto 9. Sequeces d Seres You c thk of sequece s fucto whose dom s the set of postve tegers. f ( ), f (), f (),... f ( ),... Defto of Sequece A fte sequece s fucto whose dom s the set of postve tegers.

More information

Repeated multiplication is represented using exponential notation, for example:

Repeated multiplication is represented using exponential notation, for example: Appedix A: The Lws of Expoets Expoets re short-hd ottio used to represet my fctors multiplied together All of the rules for mipultig expoets my be deduced from the lws of multiplictio d divisio tht you

More information

We will begin this chapter with a quick refresher of what an exponent is.

We will begin this chapter with a quick refresher of what an exponent is. .1 Exoets We will egi this chter with quick refresher of wht exoet is. Recll: So, exoet is how we rereset reeted ultilictio. We wt to tke closer look t the exoet. We will egi with wht the roerties re for

More information

Integration by Substitution

Integration by Substitution Integrtion by Substitution Dr. Philippe B. Lvl Kennesw Stte University August, 8 Abstrct This hndout contins mteril on very importnt integrtion method clled integrtion by substitution. Substitution is

More information

Polynomial Functions. Polynomial functions in one variable can be written in expanded form as ( )

Polynomial Functions. Polynomial functions in one variable can be written in expanded form as ( ) Polynomil Functions Polynomil functions in one vrible cn be written in expnded form s n n 1 n 2 2 f x = x + x + x + + x + x+ n n 1 n 2 2 1 0 Exmples of polynomils in expnded form re nd 3 8 7 4 = 5 4 +

More information

MATH 150 HOMEWORK 4 SOLUTIONS

MATH 150 HOMEWORK 4 SOLUTIONS MATH 150 HOMEWORK 4 SOLUTIONS Section 1.8 Show tht the product of two of the numbers 65 1000 8 2001 + 3 177, 79 1212 9 2399 + 2 2001, nd 24 4493 5 8192 + 7 1777 is nonnegtive. Is your proof constructive

More information

Lecture 5. Inner Product

Lecture 5. Inner Product Lecture 5 Inner Product Let us strt with the following problem. Given point P R nd line L R, how cn we find the point on the line closest to P? Answer: Drw line segment from P meeting the line in right

More information

Preprocess a planar map S. Given a query point p, report the face of S containing p. Goal: O(n)-size data structure that enables O(log n) query time.

Preprocess a planar map S. Given a query point p, report the face of S containing p. Goal: O(n)-size data structure that enables O(log n) query time. Computatoal Geometry Chapter 6 Pot Locato 1 Problem Defto Preprocess a plaar map S. Gve a query pot p, report the face of S cotag p. S Goal: O()-sze data structure that eables O(log ) query tme. C p E

More information

Math 135 Circles and Completing the Square Examples

Math 135 Circles and Completing the Square Examples Mth 135 Circles nd Completing the Squre Exmples A perfect squre is number such tht = b 2 for some rel number b. Some exmples of perfect squres re 4 = 2 2, 16 = 4 2, 169 = 13 2. We wish to hve method for

More information

THE well established 80/20 rule for client-server versus

THE well established 80/20 rule for client-server versus IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, ACCEPTED FOR PUBLICATION 1 Optml Fuctolty Plcemet for Multply Servce Provder Archtectures Ios Pppgotou, Studet Member, IEEE, Mtths Fler, Member, IEEE,

More information

16. Mean Square Estimation

16. Mean Square Estimation 6 Me Sque stmto Gve some fomto tht s elted to uow qutty of teest the poblem s to obt good estmte fo the uow tems of the obseved dt Suppose epeset sequece of dom vbles bout whom oe set of obsevtos e vlble

More information

Lecture 3 Gaussian Probability Distribution

Lecture 3 Gaussian Probability Distribution Lecture 3 Gussin Probbility Distribution Introduction l Gussin probbility distribution is perhps the most used distribution in ll of science. u lso clled bell shped curve or norml distribution l Unlike

More information

A. Description: A simple queueing system is shown in Fig. 16-1. Customers arrive randomly at an average rate of

A. Description: A simple queueing system is shown in Fig. 16-1. Customers arrive randomly at an average rate of Queueig Theory INTRODUCTION Queueig theory dels with the study of queues (witig lies). Queues boud i rcticl situtios. The erliest use of queueig theory ws i the desig of telehoe system. Alictios of queueig

More information

Algebra Review. How well do you remember your algebra?

Algebra Review. How well do you remember your algebra? Algebr Review How well do you remember your lgebr? 1 The Order of Opertions Wht do we men when we write + 4? If we multiply we get 6 nd dding 4 gives 10. But, if we dd + 4 = 7 first, then multiply by then

More information

5.6 POSITIVE INTEGRAL EXPONENTS

5.6 POSITIVE INTEGRAL EXPONENTS 54 (5 ) Chpter 5 Polynoils nd Eponents 5.6 POSITIVE INTEGRAL EXPONENTS In this section The product rule for positive integrl eponents ws presented in Section 5., nd the quotient rule ws presented in Section

More information

How fast can we sort? Sorting. Decision-tree model. Decision-tree for insertion sort Sort a 1, a 2, a 3. CS 3343 -- Spring 2009

How fast can we sort? Sorting. Decision-tree model. Decision-tree for insertion sort Sort a 1, a 2, a 3. CS 3343 -- Spring 2009 CS 4 -- Spring 2009 Sorting Crol Wenk Slides courtesy of Chrles Leiserson with smll chnges by Crol Wenk CS 4 Anlysis of Algorithms 1 How fst cn we sort? All the sorting lgorithms we hve seen so fr re comprison

More information

Example 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers.

Example 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers. 2 Rtionl Numbers Integers such s 5 were importnt when solving the eqution x+5 = 0. In similr wy, frctions re importnt for solving equtions like 2x = 1. Wht bout equtions like 2x + 1 = 0? Equtions of this

More information

Factoring Polynomials

Factoring Polynomials Fctoring Polynomils Some definitions (not necessrily ll for secondry school mthemtics): A polynomil is the sum of one or more terms, in which ech term consists of product of constnt nd one or more vribles

More information

Curve Fitting and Solution of Equation

Curve Fitting and Solution of Equation UNIT V Curve Fttg ad Soluto of Equato 5. CURVE FITTING I ma braches of appled mathematcs ad egeerg sceces we come across epermets ad problems, whch volve two varables. For eample, t s kow that the speed

More information

MODULE 3. 0, y = 0 for all y

MODULE 3. 0, y = 0 for all y Topics: Inner products MOULE 3 The inner product of two vectors: The inner product of two vectors x, y V, denoted by x, y is (in generl) complex vlued function which hs the following four properties: i)

More information

The Velocity Factor of an Insulated Two-Wire Transmission Line

The Velocity Factor of an Insulated Two-Wire Transmission Line The Velocity Fctor of n Insulted Two-Wire Trnsmission Line Problem Kirk T. McDonld Joseph Henry Lbortories, Princeton University, Princeton, NJ 08544 Mrch 7, 008 Estimte the velocity fctor F = v/c nd the

More information

Rotating DC Motors Part II

Rotating DC Motors Part II Rotting Motors rt II II.1 Motor Equivlent Circuit The next step in our consiertion of motors is to evelop n equivlent circuit which cn be use to better unerstn motor opertion. The rmtures in rel motors

More information

Public Auditing Based on Homomorphic Hash Function in

Public Auditing Based on Homomorphic Hash Function in Publc Audtg Bsed o Homomorhc Hsh Fucto Secure Cloud Storge Shufe NIU, Cfe Wg, Xo DU Publc Audtg Bsed o Homomorhc Hsh Fucto Secure Cloud Storge Shufe NIU, Cfe Wg, 3 Xo DU, College of Comuter Scece d Egeerg,

More information

PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY

PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY MAT 0630 INTERNET RESOURCES, REVIEW OF CONCEPTS AND COMMON MISTAKES PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY Contents 1. ACT Compss Prctice Tests 1 2. Common Mistkes 2 3. Distributive

More information

THE MELLIN-BARNES TYPE CONTOUR INTEGRAL REPRESENTATION OF A NEW MITTAG-LEFFLER TYPE E-FUNCTION

THE MELLIN-BARNES TYPE CONTOUR INTEGRAL REPRESENTATION OF A NEW MITTAG-LEFFLER TYPE E-FUNCTION AMRICAN JOURNA OF MATHMATICA SCINC AND APPICATIONS 2(2) Jly-December 24 ISSN : 232-497X pp. 37-4 TH MIN-BARNS TYP CONTOUR INTGRA RPRSNTATION OF A NW MITTAG-FFR TYP -FUNCTION Sy Btter d Se Mommed Fsl Deprtmet

More information

Treatment Spring Late Summer Fall 0.10 5.56 3.85 0.61 6.97 3.01 1.91 3.01 2.13 2.99 5.33 2.50 1.06 3.53 6.10 Mean = 1.33 Mean = 4.88 Mean = 3.

Treatment Spring Late Summer Fall 0.10 5.56 3.85 0.61 6.97 3.01 1.91 3.01 2.13 2.99 5.33 2.50 1.06 3.53 6.10 Mean = 1.33 Mean = 4.88 Mean = 3. The nlysis of vrince (ANOVA) Although the t-test is one of the most commonly used sttisticl hypothesis tests, it hs limittions. The mjor limittion is tht the t-test cn be used to compre the mens of only

More information

DlNBVRGH + Sickness Absence Monitoring Report. Executive of the Council. Purpose of report

DlNBVRGH + Sickness Absence Monitoring Report. Executive of the Council. Purpose of report DlNBVRGH + + THE CITY OF EDINBURGH COUNCIL Sickness Absence Monitoring Report Executive of the Council 8fh My 4 I.I...3 Purpose of report This report quntifies the mount of working time lost s result of

More information

Summation Notation The sum of the first n terms of a sequence is represented by the summation notation i the index of summation

Summation Notation The sum of the first n terms of a sequence is represented by the summation notation i the index of summation Lesso 0.: Sequeces d Summtio Nottio Def. of Sequece A ifiite sequece is fuctio whose domi is the set of positive rel itegers (turl umers). The fuctio vlues or terms of the sequece re represeted y, 2, 3,...,....

More information

Newton-Raphson Method of Solving a Nonlinear Equation Autar Kaw

Newton-Raphson Method of Solving a Nonlinear Equation Autar Kaw Newton-Rphson Method o Solvng Nonlner Equton Autr Kw Ater redng ths chpter, you should be ble to:. derve the Newton-Rphson method ormul,. develop the lgorthm o the Newton-Rphson method,. use the Newton-Rphson

More information

CHAPTER 11 Numerical Differentiation and Integration

CHAPTER 11 Numerical Differentiation and Integration CHAPTER 11 Numericl Differentition nd Integrtion Differentition nd integrtion re bsic mthemticl opertions with wide rnge of pplictions in mny res of science. It is therefore importnt to hve good methods

More information

MATHEMATICS FOR ENGINEERING BASIC ALGEBRA

MATHEMATICS FOR ENGINEERING BASIC ALGEBRA MATHEMATICS FOR ENGINEERING BASIC ALGEBRA TUTORIAL - INDICES, LOGARITHMS AND FUNCTION This is the oe of series of bsic tutorils i mthemtics imed t begiers or yoe wtig to refresh themselves o fudmetls.

More information

Math 314, Homework Assignment 1. 1. Prove that two nonvertical lines are perpendicular if and only if the product of their slopes is 1.

Math 314, Homework Assignment 1. 1. Prove that two nonvertical lines are perpendicular if and only if the product of their slopes is 1. Mth 4, Homework Assignment. Prove tht two nonverticl lines re perpendiculr if nd only if the product of their slopes is. Proof. Let l nd l e nonverticl lines in R of slopes m nd m, respectively. Suppose

More information

A MODEL FOR AIRLINE PASSENGER AND CARGO FLIGHT SCHEDULING

A MODEL FOR AIRLINE PASSENGER AND CARGO FLIGHT SCHEDULING A MODEL FOR AIRLINE PASSENGER AND CARGO FLIGHT SCHEDULING Shgyo YAN Yu-Hsu CHEN Professor Mster Deprtet of Cvl Egeerg Deprtet of Cvl Egeerg Ntol Cetrl Uversty Ntol Cetrl Uversty No300, Jhogd Rd, Jhogl

More information

Generalized solutions for the joint replenishment problem with correction factor

Generalized solutions for the joint replenishment problem with correction factor Geerzed soutos for the ot repeshet proe wth correcto fctor Astrct Erc Porrs, Roert Deer Ecooetrc Isttute, erge Isttute, Ersus Uversty Rotterd, P.O. Box 73, 3 DR Rotterd, he etherds Ecooetrc Isttute Report

More information

Basic Analysis of Autarky and Free Trade Models

Basic Analysis of Autarky and Free Trade Models Bsic Anlysis of Autrky nd Free Trde Models AUTARKY Autrky condition in prticulr commodity mrket refers to sitution in which country does not engge in ny trde in tht commodity with other countries. Consequently

More information

An Integrated Honeypot Framework for Proactive Detection, Characterization and Redirection of DDoS Attacks at ISP level

An Integrated Honeypot Framework for Proactive Detection, Characterization and Redirection of DDoS Attacks at ISP level Jourl of Iformto Assurce Securty 1 (28) 1-15 A Itegrte Hoeypot Frmework for Proctve Detecto, Chrcterzto Rerecto of DDoS Attcks t ISP level Ajl Sr R. C. Josh 1 1 I Isttute of Techology Roorkee, Roorkee,

More information

Network dimensioning for elastic traffic based on flow-level QoS

Network dimensioning for elastic traffic based on flow-level QoS Network dmesog for elastc traffc based o flow-level QoS 1(10) Network dmesog for elastc traffc based o flow-level QoS Pas Lassla ad Jorma Vrtamo Networkg Laboratory Helsk Uversty of Techology Itroducto

More information

Projection model for Computer Network Security Evaluation with interval-valued intuitionistic fuzzy information. Qingxiang Li

Projection model for Computer Network Security Evaluation with interval-valued intuitionistic fuzzy information. Qingxiang Li Iteratoal Joural of Scece Vol No7 05 ISSN: 83-4890 Proecto model for Computer Network Securty Evaluato wth terval-valued tutostc fuzzy formato Qgxag L School of Software Egeerg Chogqg Uversty of rts ad

More information

LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES

LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES DAVID WEBB CONTENTS Liner trnsformtions 2 The representing mtrix of liner trnsformtion 3 3 An ppliction: reflections in the plne 6 4 The lgebr of

More information

Bayesian Updating with Continuous Priors Class 13, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

Bayesian Updating with Continuous Priors Class 13, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom Byesin Updting with Continuous Priors Clss 3, 8.05, Spring 04 Jeremy Orloff nd Jonthn Bloom Lerning Gols. Understnd prmeterized fmily of distriutions s representing continuous rnge of hypotheses for the

More information

Homework 3 Solutions

Homework 3 Solutions CS 341: Foundtions of Computer Science II Prof. Mrvin Nkym Homework 3 Solutions 1. Give NFAs with the specified numer of sttes recognizing ech of the following lnguges. In ll cses, the lphet is Σ = {,1}.

More information

4.11 Inner Product Spaces

4.11 Inner Product Spaces 314 CHAPTER 4 Vector Spces 9. A mtrix of the form 0 0 b c 0 d 0 0 e 0 f g 0 h 0 cnnot be invertible. 10. A mtrix of the form bc d e f ghi such tht e bd = 0 cnnot be invertible. 4.11 Inner Product Spces

More information

1. Find the zeros Find roots. Set function = 0, factor or use quadratic equation if quadratic, graph to find zeros on calculator

1. Find the zeros Find roots. Set function = 0, factor or use quadratic equation if quadratic, graph to find zeros on calculator AP Clculus Finl Review Sheet When you see the words. This is wht you think of doing. Find the zeros Find roots. Set function =, fctor or use qudrtic eqution if qudrtic, grph to find zeros on clcultor.

More information

Irregular Repeat Accumulate Codes 1

Irregular Repeat Accumulate Codes 1 Irregulr epet Accumulte Codes 1 Hu Jn, Amod Khndekr, nd obert McElece Deprtment of Electrcl Engneerng, Clforn Insttute of Technology Psden, CA 9115 USA E-ml: {hu, mod, rjm}@systems.cltech.edu Abstrct:

More information

An IMM Algorithm for Tracking Maneuvering Vehicles in an Adaptive Cruise Control Environment

An IMM Algorithm for Tracking Maneuvering Vehicles in an Adaptive Cruise Control Environment 31 Itertol Jourl of Cotrol, Yog-Shk Automto, Km d Keum-Shk d Systems, Hog vol. 2, o. 3, pp. 31-318, September 24 A IMM Algorthm for Trckg Meuverg Vehcles Adptve Cruse Cotrol Evromet Yog-Shk Km d Keum-Shk

More information

Warm-up for Differential Calculus

Warm-up for Differential Calculus Summer Assignment Wrm-up for Differentil Clculus Who should complete this pcket? Students who hve completed Functions or Honors Functions nd will be tking Differentil Clculus in the fll of 015. Due Dte:

More information

Improper Integrals. Dr. Philippe B. laval Kennesaw State University. September 19, 2005. f (x) dx over a finite interval [a, b].

Improper Integrals. Dr. Philippe B. laval Kennesaw State University. September 19, 2005. f (x) dx over a finite interval [a, b]. Improper Inegrls Dr. Philippe B. lvl Kennesw Se Universiy Sepember 9, 25 Absrc Noes on improper inegrls. Improper Inegrls. Inroducion In Clculus II, sudens defined he inegrl f (x) over finie inervl [,

More information

Quick Reference Guide: One-time Account Update

Quick Reference Guide: One-time Account Update Quick Reference Guide: One-time Account Updte How to complete The Quick Reference Guide shows wht existing SingPss users need to do when logging in to the enhnced SingPss service for the first time. 1)

More information

Optimal Pricing Scheme for Information Services

Optimal Pricing Scheme for Information Services Optml rcng Scheme for Informton Servces Shn-y Wu Opertons nd Informton Mngement The Whrton School Unversty of ennsylvn E-ml: shnwu@whrton.upenn.edu e-yu (Shron) Chen Grdute School of Industrl Admnstrton

More information

2005-06 Second Term MAT2060B 1. Supplementary Notes 3 Interchange of Differentiation and Integration

2005-06 Second Term MAT2060B 1. Supplementary Notes 3 Interchange of Differentiation and Integration Source: http://www.mth.cuhk.edu.hk/~mt26/mt26b/notes/notes3.pdf 25-6 Second Term MAT26B 1 Supplementry Notes 3 Interchnge of Differentition nd Integrtion The theme of this course is bout vrious limiting

More information

Operations with Polynomials

Operations with Polynomials 38 Chpter P Prerequisites P.4 Opertions with Polynomils Wht you should lern: Write polynomils in stndrd form nd identify the leding coefficients nd degrees of polynomils Add nd subtrct polynomils Multiply

More information

Or more simply put, when adding or subtracting quantities, their uncertainties add.

Or more simply put, when adding or subtracting quantities, their uncertainties add. Propgtion of Uncertint through Mthemticl Opertions Since the untit of interest in n eperiment is rrel otined mesuring tht untit directl, we must understnd how error propgtes when mthemticl opertions re

More information

Example A rectangular box without lid is to be made from a square cardboard of sides 18 cm by cutting equal squares from each corner and then folding

Example A rectangular box without lid is to be made from a square cardboard of sides 18 cm by cutting equal squares from each corner and then folding 1 Exmple A rectngulr box without lid is to be mde from squre crdbord of sides 18 cm by cutting equl squres from ech corner nd then folding up the sides. 1 Exmple A rectngulr box without lid is to be mde

More information

How To Make A Profit From A Website

How To Make A Profit From A Website Mg Koledge-Shrg Stes for Vrl Mretg Mtthe Rchrdso d edro Dogos Deprtet of Coputer Scece d Egeerg Uversty of Wshgto Box 3535 Settle, WA 9895-35 {ttr,pedrod}@cs.shgto.edu ABSTRACT Vrl retg tes dvtge of etors

More information

5.2. LINE INTEGRALS 265. Let us quickly review the kind of integrals we have studied so far before we introduce a new one.

5.2. LINE INTEGRALS 265. Let us quickly review the kind of integrals we have studied so far before we introduce a new one. 5.2. LINE INTEGRALS 265 5.2 Line Integrls 5.2.1 Introduction Let us quickly review the kind of integrls we hve studied so fr before we introduce new one. 1. Definite integrl. Given continuous rel-vlued

More information

Multiplication and Division - Left to Right. Addition and Subtraction - Left to Right.

Multiplication and Division - Left to Right. Addition and Subtraction - Left to Right. Order of Opertions r of Opertions Alger P lese Prenthesis - Do ll grouped opertions first. E cuse Eponents - Second M D er Multipliction nd Division - Left to Right. A unt S hniqu Addition nd Sutrction

More information

6.2 Volumes of Revolution: The Disk Method

6.2 Volumes of Revolution: The Disk Method mth ppliction: volumes of revolution, prt ii Volumes of Revolution: The Disk Method One of the simplest pplictions of integrtion (Theorem ) nd the ccumultion process is to determine so-clled volumes of

More information

COMPARISON OF SOME METHODS TO FIT A MULTIPLICATIVE TARIFF STRUCTURE TO OBSERVED RISK DATA BY B. AJNE. Skandza, Stockholm ABSTRACT

COMPARISON OF SOME METHODS TO FIT A MULTIPLICATIVE TARIFF STRUCTURE TO OBSERVED RISK DATA BY B. AJNE. Skandza, Stockholm ABSTRACT COMPARISON OF SOME METHODS TO FIT A MULTIPLICATIVE TARIFF STRUCTURE TO OBSERVED RISK DATA BY B. AJNE Skndz, Stockholm ABSTRACT Three methods for fitting multiplictive models to observed, cross-clssified

More information

Reasoning to Solve Equations and Inequalities

Reasoning to Solve Equations and Inequalities Lesson4 Resoning to Solve Equtions nd Inequlities In erlier work in this unit, you modeled situtions with severl vriles nd equtions. For exmple, suppose you were given usiness plns for concert showing

More information

Econ 4721 Money and Banking Problem Set 2 Answer Key

Econ 4721 Money and Banking Problem Set 2 Answer Key Econ 472 Money nd Bnking Problem Set 2 Answer Key Problem (35 points) Consider n overlpping genertions model in which consumers live for two periods. The number of people born in ech genertion grows in

More information

RIGHT TRIANGLES AND THE PYTHAGOREAN TRIPLETS

RIGHT TRIANGLES AND THE PYTHAGOREAN TRIPLETS RIGHT TRIANGLES AND THE PYTHAGOREAN TRIPLETS Known for over 500 yers is the fct tht the sum of the squres of the legs of right tringle equls the squre of the hypotenuse. Tht is +b c. A simple proof is

More information

One Minute To Learn Programming: Finite Automata

One Minute To Learn Programming: Finite Automata Gret Theoreticl Ides In Computer Science Steven Rudich CS 15-251 Spring 2005 Lecture 9 Fe 8 2005 Crnegie Mellon University One Minute To Lern Progrmming: Finite Automt Let me tech you progrmming lnguge

More information

Distributions. (corresponding to the cumulative distribution function for the discrete case).

Distributions. (corresponding to the cumulative distribution function for the discrete case). Distributions Recll tht n integrble function f : R [,] such tht R f()d = is clled probbility density function (pdf). The distribution function for the pdf is given by F() = (corresponding to the cumultive

More information

APPENDIX III THE ENVELOPE PROPERTY

APPENDIX III THE ENVELOPE PROPERTY Apped III APPENDIX III THE ENVELOPE PROPERTY Optmzato mposes a very strog structure o the problem cosdered Ths s the reaso why eoclasscal ecoomcs whch assumes optmzg behavour has bee the most successful

More information

19. The Fermat-Euler Prime Number Theorem

19. The Fermat-Euler Prime Number Theorem 19. The Fermt-Euler Prime Number Theorem Every prime number of the form 4n 1 cn be written s sum of two squres in only one wy (side from the order of the summnds). This fmous theorem ws discovered bout

More information

Chapter 04.05 System of Equations

Chapter 04.05 System of Equations hpter 04.05 System of Equtios After redig th chpter, you should be ble to:. setup simulteous lier equtios i mtrix form d vice-vers,. uderstd the cocept of the iverse of mtrix, 3. kow the differece betwee

More information

Labor Productivity and Comparative Advantage: The Ricardian Model of International Trade

Labor Productivity and Comparative Advantage: The Ricardian Model of International Trade Lbor Productivity nd omrtive Advntge: The Ricrdin Model of Interntionl Trde Model of trde with simle (unrelistic) ssumtions. Among them: erfect cometition; one reresenttive consumer; no trnsction costs,

More information

Redundant Virtual Machine Placement for Fault-tolerant Consolidated Server Clusters

Redundant Virtual Machine Placement for Fault-tolerant Consolidated Server Clusters Redudt Vrtul Mche Plceet for Fult-tolert Cosoldted Server Clusters Fuo Mchd, Mshro Kwto d Yoshhru Meo Servce Pltfors Reserch Lbortores, NEC Cororto 753, Shoube, Nkhr-ku, Kwsk, Kgw 2-8666, J {h-chd@b, -kwto@,

More information

Analyzing and Evaluating Query Reformulation Strategies in Web Search Logs

Analyzing and Evaluating Query Reformulation Strategies in Web Search Logs Alyg d Evlutg Query Reformulto Strteges We Serch Logs Jeff Hug Uversty of Wshgto Iformto School ckm09@jeffhug.com Efthms N. Efthmds Uversty of Wshgto Iformto School efthms@u.wshgto.edu ABSTRACT Users frequetly

More information

Firm Objectives. The Theory of the Firm II. Cost Minimization Mathematical Approach. First order conditions. Cost Minimization Graphical Approach

Firm Objectives. The Theory of the Firm II. Cost Minimization Mathematical Approach. First order conditions. Cost Minimization Graphical Approach Pro. Jy Bhttchry Spring 200 The Theory o the Firm II st lecture we covered: production unctions Tody: Cost minimiztion Firm s supply under cost minimiztion Short vs. long run cost curves Firm Ojectives

More information

Application: Volume. 6.1 Overture. Cylinders

Application: Volume. 6.1 Overture. Cylinders Applictio: Volume 61 Overture I this chpter we preset other pplictio of the defiite itegrl, this time to fid volumes of certi solids As importt s this prticulr pplictio is, more importt is to recogize

More information

1.2 The Integers and Rational Numbers

1.2 The Integers and Rational Numbers .2. THE INTEGERS AND RATIONAL NUMBERS.2 The Integers n Rtionl Numers The elements of the set of integers: consist of three types of numers: Z {..., 5, 4, 3, 2,, 0,, 2, 3, 4, 5,...} I. The (positive) nturl

More information

Software Size Estimation in Incremental Software Development Based On Improved Pairwise Comparison Matrices

Software Size Estimation in Incremental Software Development Based On Improved Pairwise Comparison Matrices Computer Scece Systems Bology Reserch Artcle Artcle Ocheg d Mwg, 204, 7:3 http://d.do.org/0.472/csb.0004 Ope Ope Access Softwre Sze Estmto Icremetl Softwre Developmet Bsed O Improved Prwse Comprso Mtrces

More information

Section 5-4 Trigonometric Functions

Section 5-4 Trigonometric Functions 5- Trigonometric Functions Section 5- Trigonometric Functions Definition of the Trigonometric Functions Clcultor Evlution of Trigonometric Functions Definition of the Trigonometric Functions Alternte Form

More information

CUBIC-FOOT VOLUME OF A LOG

CUBIC-FOOT VOLUME OF A LOG CUBIC-FOOT VOLUME OF A LOG Wys to clculte cuic foot volume ) xylometer: tu of wter sumerge tree or log in wter nd find volume of wter displced. ) grphic: exmple: log length = 4 feet, ech section feet in

More information

Stock Index Modeling using EDA based Local Linear Wavelet Neural Network

Stock Index Modeling using EDA based Local Linear Wavelet Neural Network Stoc Idex odelg usg EDA bsed Locl Ler Wvelet Neurl Networ Yuehu Che School of Iformto Scece d Egeerg J Uversty Jwe rod 06, J 250022, P.R.Ch E-ml: yhche@uj.edu.c Xohu Dog School of Iformto Scece d Egeerg

More information

STATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS. x, where. = y - ˆ " 1

STATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS. x, where. = y - ˆ  1 STATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS Recall Assumpto E(Y x) η 0 + η x (lear codtoal mea fucto) Data (x, y ), (x 2, y 2 ),, (x, y ) Least squares estmator ˆ E (Y x) ˆ " 0 + ˆ " x, where ˆ

More information

Use Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions.

Use Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions. Lerning Objectives Loci nd Conics Lesson 3: The Ellipse Level: Preclculus Time required: 120 minutes In this lesson, students will generlize their knowledge of the circle to the ellipse. The prmetric nd

More information

Unit 6: Exponents and Radicals

Unit 6: Exponents and Radicals Eponents nd Rdicls -: The Rel Numer Sstem Unit : Eponents nd Rdicls Pure Mth 0 Notes Nturl Numers (N): - counting numers. {,,,,, } Whole Numers (W): - counting numers with 0. {0,,,,,, } Integers (I): -

More information

IDENTIFICATION OF THE DYNAMICS OF THE GOOGLE S RANKING ALGORITHM. A. Khaki Sedigh, Mehdi Roudaki

IDENTIFICATION OF THE DYNAMICS OF THE GOOGLE S RANKING ALGORITHM. A. Khaki Sedigh, Mehdi Roudaki IDENIFICAION OF HE DYNAMICS OF HE GOOGLE S RANKING ALGORIHM A. Khak Sedgh, Mehd Roudak Cotrol Dvso, Departmet of Electrcal Egeerg, K.N.oos Uversty of echology P. O. Box: 16315-1355, ehra, Ira sedgh@eetd.ktu.ac.r,

More information

Why is the NSW prison population falling?

Why is the NSW prison population falling? NSW Bureu of Crime Sttistics nd Reserch Bureu Brief Issue pper no. 80 September 2012 Why is the NSW prison popultion flling? Jcqueline Fitzgerld & Simon Corben 1 Aim: After stedily incresing for more thn

More information

Bypassing Space Explosion in Regular Expression Matching for Network Intrusion Detection and Prevention Systems

Bypassing Space Explosion in Regular Expression Matching for Network Intrusion Detection and Prevention Systems Bypssing Spce Explosion in Regulr Expression Mtching for Network Intrusion Detection n Prevention Systems Jignesh Ptel, Alex Liu n Eric Torng Dept. of Computer Science n Engineering Michign Stte University

More information

Models for Selecting an ERP System with Intuitionistic Trapezoidal Fuzzy Information

Models for Selecting an ERP System with Intuitionistic Trapezoidal Fuzzy Information JOURNAL OF SOFWARE, VOL 5, NO 3, MARCH 00 75 Models for Selectg a ERP System wth Itutostc rapezodal Fuzzy Iformato Guwu We, Ru L Departmet of Ecoomcs ad Maagemet, Chogqg Uversty of Arts ad Sceces, Yogchua,

More information

Approximation Algorithms for Scheduling with Rejection on Two Unrelated Parallel Machines

Approximation Algorithms for Scheduling with Rejection on Two Unrelated Parallel Machines (ICS) Iteratoal oural of dvaced Comuter Scece ad lcatos Vol 6 No 05 romato lgorthms for Schedulg wth eecto o wo Urelated Parallel aches Feg Xahao Zhag Zega Ca College of Scece y Uversty y Shadog Cha 76005

More information

The Analysis of Development of Insurance Contract Premiums of General Liability Insurance in the Business Insurance Risk

The Analysis of Development of Insurance Contract Premiums of General Liability Insurance in the Business Insurance Risk The Aalyss of Developmet of Isurace Cotract Premums of Geeral Lablty Isurace the Busess Isurace Rsk the Frame of the Czech Isurace Market 1998 011 Scetfc Coferece Jue, 10. - 14. 013 Pavla Kubová Departmet

More information

50 MATHCOUNTS LECTURES (10) RATIOS, RATES, AND PROPORTIONS

50 MATHCOUNTS LECTURES (10) RATIOS, RATES, AND PROPORTIONS 0 MATHCOUNTS LECTURES (0) RATIOS, RATES, AND PROPORTIONS BASIC KNOWLEDGE () RATIOS: Rtios re use to ompre two or more numers For n two numers n ( 0), the rtio is written s : = / Emple : If 4 stuents in

More information

Fundamentals of Mass Transfer

Fundamentals of Mass Transfer Chapter Fudametals of Mass Trasfer Whe a sgle phase system cotas two or more speces whose cocetratos are ot uform, mass s trasferred to mmze the cocetrato dffereces wth the system. I a mult-phase system

More information

Average Price Ratios

Average Price Ratios Average Prce Ratos Morgstar Methodology Paper August 3, 2005 2005 Morgstar, Ic. All rghts reserved. The formato ths documet s the property of Morgstar, Ic. Reproducto or trascrpto by ay meas, whole or

More information

Regular Sets and Expressions

Regular Sets and Expressions Regulr Sets nd Expressions Finite utomt re importnt in science, mthemtics, nd engineering. Engineers like them ecuse they re super models for circuits (And, since the dvent of VLSI systems sometimes finite

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology

More information

Basic Research in Computer Science BRICS RS-02-13 Brodal et al.: Solving the String Statistics Problem in Time O(n log n)

Basic Research in Computer Science BRICS RS-02-13 Brodal et al.: Solving the String Statistics Problem in Time O(n log n) BRICS Bsic Reserch in Computer Science BRICS RS-02-13 Brodl et l.: Solving the String Sttistics Prolem in Time O(n log n) Solving the String Sttistics Prolem in Time O(n log n) Gerth Stølting Brodl Rune

More information

1. In the Bohr model, compare the magnitudes of the electron s kinetic and potential energies in orbit. What does this imply?

1. In the Bohr model, compare the magnitudes of the electron s kinetic and potential energies in orbit. What does this imply? Assignment 3: Bohr s model nd lser fundmentls 1. In the Bohr model, compre the mgnitudes of the electron s kinetic nd potentil energies in orit. Wht does this imply? When n electron moves in n orit, the

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology

More information

Basic Ultrasound Views

Basic Ultrasound Views Bsic Ultrsound Views 2 Kenneth D. Horton K.D. Horton Echo/Vsculr Lortory, Intermountin Medicl Center, Murry, UT, USA e-mil: kd.horton@comcst.net T.P. Arhm (ed.), Cse Bsed Echocrdiogrphy, DOI: 10.1007/978-1-84996-151-6_2,

More information

Physics 43 Homework Set 9 Chapter 40 Key

Physics 43 Homework Set 9 Chapter 40 Key Physics 43 Homework Set 9 Chpter 4 Key. The wve function for n electron tht is confined to x nm is. Find the normliztion constnt. b. Wht is the probbility of finding the electron in. nm-wide region t x

More information

Graphs on Logarithmic and Semilogarithmic Paper

Graphs on Logarithmic and Semilogarithmic Paper 0CH_PHClter_TMSETE_ 3//00 :3 PM Pge Grphs on Logrithmic nd Semilogrithmic Pper OBJECTIVES When ou hve completed this chpter, ou should be ble to: Mke grphs on logrithmic nd semilogrithmic pper. Grph empiricl

More information

WHAT HAPPENS WHEN YOU MIX COMPLEX NUMBERS WITH PRIME NUMBERS?

WHAT HAPPENS WHEN YOU MIX COMPLEX NUMBERS WITH PRIME NUMBERS? WHAT HAPPES WHE YOU MIX COMPLEX UMBERS WITH PRIME UMBERS? There s n ol syng, you n t pples n ornges. Mthemtns hte n t; they love to throw pples n ornges nto foo proessor n see wht hppens. Sometmes they

More information

MA 15800 Lesson 16 Notes Summer 2016 Properties of Logarithms. Remember: A logarithm is an exponent! It behaves like an exponent!

MA 15800 Lesson 16 Notes Summer 2016 Properties of Logarithms. Remember: A logarithm is an exponent! It behaves like an exponent! MA 5800 Lesson 6 otes Summer 06 Rememer: A logrithm is n eponent! It ehves like n eponent! In the lst lesson, we discussed four properties of logrithms. ) log 0 ) log ) log log 4) This lesson covers more

More information

Words Symbols Diagram. abcde. a + b + c + d + e

Words Symbols Diagram. abcde. a + b + c + d + e Logi Gtes nd Properties We will e using logil opertions to uild mhines tht n do rithmeti lultions. It s useful to think of these opertions s si omponents tht n e hooked together into omplex networks. To

More information

Working Paper Series PHD Ph.D. student working papers. Marketing Strategies for Products with Cross-Market Network Externalities

Working Paper Series PHD Ph.D. student working papers. Marketing Strategies for Products with Cross-Market Network Externalities Workg Pper Seres PHD Ph.D. studet workg ppers Mrketg Strteges for Products wth Cross-Mrket Network Exterltes Steve Struss, Yle School of Mgeet Workg Pper # Ths pper c e dowloded wthout chrge fro the Socl

More information