Evaluating the Average-case Performance Penalty of Bandwidth-like Interfaces

Size: px
Start display at page:

Download "Evaluating the Average-case Performance Penalty of Bandwidth-like Interfaces"

Transcription

1 Evaluaing he Average-case Performance Penaly of Bandwidh-like Inerfaces Björn Andersson Carnegie Mellon Universiy ABSTRACT Many soluions for composabiliy and composiionaliy rely on specifying he inerface for a componen using bandwidh. Some previous works specify period (P and budge (Q as an inerface for a componen. Q/P provides us wih a bandwidh (he share of a processor ha his componen may reques; P specifies he ime-granulariy of he allocaion of his processing capaciy. Oher works add anoher parameer deadline which can help o provide igher bounds on how his processing capaciy is disribued. Ye oher works use he parameers α and where α is he bandwidh and specifies how smoohly his bandwidh is disribued. I is known [4] ha such bandwidh-like inerfaces carry a cos: here are askses ha could be guaraneed o be schedulable if asks were scheduled direcly on he processor, bu wih bandwidh-like inerfaces, i is impossible o guaranee he askse o be schedulable. And i is also known ha his penaly can be infinie, i.e., he use of bandwidh-like inerfaces may require he use of a processor ha has a speed ha is k imes faser, and one can show his for any k. This brings he quesion: Wha is he average-case performance penaly of bandwidh-like inerfaces? This paper addresses his quesion. We answer he quesion by randomly generaing askses and hen for each of hese askses, compue a lower bound on how much faser a processor needs o be when a bandwidh-like scheme is used. We do no consider any specific bandwidh-like scheme; insead, we derive an expression ha saes a lower bound on how much faser a processor needs o be when a bandwidh-like scheme is used. For he disribuions considered in his paper, we find ha (i he experimenal resuls depend on he experimenal seup, (ii his lower bound on he penaly was never larger han 4.0, (iii for one experimenal seup, for each askse, i was greaer han 2.4, (iv he hisogram of his penaly appears o be unimodal, and (v for implici-deadline sporadic asks, his lower bound on he penaly was exacly 1. Caegories and Subjec Descripors D.4.7 [Operaing Sysems]: Organizaion and Design The auhors reain copyrigh. Real-ime sysems and embedded sysems; G.4 [Mahemaical Sofware]: Algorihm design and analysis General Terms Algorihms, Performance, Theory Keywords Real-ime, Composabiliy, Composiionaliy 1. INTRODUCTION Consider a askse τ scheduled on a single processor wih Earlies-Deadline-Firs (EDF. Assume ha asks are arbirarydeadline sporadic asks, i.e., a ask τ i is characerized by, D i, and, wih he inerpreaion ha τ i generaes a sequence of jobs wih a leas ime unis beween wo consecuive arrivals of jobs of τ i and each job of τ i has execuion ime a mos and each job has a deadline D i ime unis relaive o is arrival. I is known [5] ha if for all posiive i holds ha τ i τ max( D i + 1, 0 (1 hen he askse is schedulable. (A askse is schedulable, if for each jobse ha i can generae, for each schedule ha EDF can generae for his jobse, i holds ha all jobs mee deadlines; noe ha because we assume EDF wih arbirary ie-breaking, here may be more han one valid schedule for a jobse scheduled by EDF. The resul above (in Eq. 1 is well-known and allows sofware praciioners o efficienly verify, before run-ime, ha all iming requiremens will be me a run-ime. This resul works assuming ha he enire askse is known o a single person (or schedulabiliy analysis ool and ha he sysem does no undergo design changes and ha asks do no use more resources han saed by heir parameers. The real-ime sysems research communiy undersood hese limiaions of using Eq. 1 as a schedulabiliy es and using EDF a run-ime. The research communiy undersood ha i was necessary o monior he execuion of a ask o see if i execued more han i was expeced o, and also o monior a ask o see if i generaed jobs more frequenly han i was expeced o. In addiion, he research communiy undersood ha in sysem inegraion, i is ofen advanageous o describe a se of asks wih relaed funcionaliy wih a simpler descripion. Therefore, he research communiy creaed a large se of soluions o achieve his. Typically, hese soluions work as follows. A componen (someimes called a

2 server ask and someimes called a subsysem is characerized by a bandwidh parameer and some oher parameers. One or more asks are assigned o a componen. And each ask is assigned o exacly one componen. Then, a each insan a run-ime, a roo scheduler (someimes called global scheduler selecs a componen and a local scheduler in his componen selecs a ask in his componen. This seleced ask execues on he processor. The bandwidh of a componen is characerized as a share of he processor (for example, Componen 1 should use a mos 20% of he processor. One could use a run-ime mechanism ha guaranees ha his bandwidh is allocaed o each componen in each ime inerval (even infiniely small ime inervals. Bu his would require infiniely many conex swiches which would make such a soluion impracical. Therefore, he soluions presened in he research lieraure use anoher parameer as well: server-period. Some soluions ensure ha in a ime inerval of duraion a leas as large as he server period, a componen is allocaed processing ime being a leas as large as is bandwidh (i.e., bandwidh muliplied by server period. Many schemes in he lieraure suffer from a socalled blackou period; for such a scheme, he guaraneed allocaion is slighly less. Some schemes have a parameer, server deadline, which can be used o conrol he duraion of his blackou period. Common o hese schemes, however, is ha before run-ime, a schedulabiliy es is performed on he roo scheduler; i akes he bandwidh and poenially oher parameers of each componen and deermines if he roo scheduler will be able o allocae enough bandwidh o each componen. These bandwidh-like schemes have several advanages. Firs, hey achieve isolaion. This is imporan because i is ofen very difficul o find he wors-case execuion ime of a ask. Wih hese schemes, one can be sure ha if he execuion ime of a job would exceed is esimaed wors-case execuion ime, hen i does no jeopardize iming guaranees of jobs in oher componens. Second, hey allow hard and sof real-ime asks o be execued on a single processor. Third, hey provides a simple inerface for sysem inegraors. In paricular, he concep of bandwidh is easy o undersand for laypersons. (For example: Componen 1 is assigned 10% of he processor; Componen 2 is assigned 70% of he processor; Componen 3 is assigned 15% of he processor. Fourh, hey allow differen schedulers o be used in differen componens (e.g., he local scheduler in Componen 1 may be EDF and he local scheduler in Componen 2 may be RM and he local scheduler in Componen 3 may be FIFO. Fifh, some real-ime operaing sysems suppor heir run-ime mechanisms. Sixh, he run-ime policing has low ime and space complexiy. Given all hese advanages, i may seem ha bandwidh-like schemes offer a good foundaion for real-ime sysems. Unforunaely, bandwidh-like schemes can wase an infinie amoun of resources. I can be seen as follows: Consider a askse τ wih n asks, τ 1, τ 2,..., τ n and hese asks have he parameers =,D i = i, = 1. If hese asks are scheduled direcly on he processor (i.e., wihou componens, i can be seen ha he askse is EDF-schedulable according o Eq. 1. Le us now discuss heir behavior in a sysem wih componens and wih a bandwidh-like scheme. Suppose ha here are n componens and one ask in each componen; specifically, ask τ i is assigned o componen i. In order for he roo scheduler o be schedulable, i is required ha he sum of bandwidh of he componens is a mos 1. The bandwidh required by a componen depends on he acual scheme used (he blackou period maers and he predicabiliy of supply of he roo scheduler maers; bu for all bandwidh-like schemes, i holds ha he required bandwidh of a componen is a leas as large as he sum of he densiy of he asks in he componen. This yields ha componen i requires a leas he bandwidh /D i. Hence, componen i requires a leas he bandwidh 1/i. Consequenly, in order for he roo scheduler o be schedulable, i mus hold ha i {1..n} 1/i 1. I is easy o see ha (for n 2 his condiion is false and hence he sysem is no schedulable wih a bandwidh-like inerface. Le he processor be k imes faser. Then, in order for he roo scheduler o be schedulable, i mus hold ha i {1..n} 1/i k. Leing n approach infiniy yields ha i {1..n} 1/i approaches ln n and hence i approaches infiniy. Thus, even using a processor ha is k imes faser canno guaranee ha he sysem is schedulable wih a bandwidh-like inerface. We can do his reasoning for any k and hence we obain ha bandwidh-like inerfaces can generae an infinie wase of resources. This observaion (ha bandwidh-like inerfaces can wase an infinie amoun of resources is known in he lieraure [3, 4]. Wha is no known, however, is how well bandwidhlike schemes perform in he average-case as compared o a scheme ha performs fla scheduling. Exploring his quesion is he goal of his paper. 2. FORMULATING THE PROBLEM From Eq. 1 i can be seen ha for a askse scheduled wih EDF, a processor speed max >0( τ i τ max( D i + 1, 0 (2 is sufficien o mee deadlines. From he discussion in he previous secion, i can be seen ha if each ask is in is own componen, hen wih a bandwidhlike scheme, a processor speed τ i τ is necessary o mee deadlines. For a askse τ, le spdf(τ be defined as: min(d i, (3 τ i τ min(d i, max >0( τ i τ max( D i +1,0 Here spdf(τ should be read as speed-up facor. Inuiively, spdf(τ indicaes a lower bound on how much faser he processor needs o be in order for a bandwidh-like scheme o make he askse τ schedulable. We have already seen ha here is a askse such ha spdf is infinie. This paper explores he quesion: Wha is spdf(τ for ypical askses? The nex four secions consider differen assumpions and derive expressions for spdf(τ. For he firs hree nex secions, we generae asks randomly and obain hisograms of spdf(τ. For he fourh nex secion, we give a simple analyic expression of spdf(τ and hence do (4

3 no run experimens. Afer hese four secions, we commen on he experimenal resuls. 3. EVALUATION FOR THE SPECIAL CASE OF TASKSETS WITH INFINITE MINI- MUM INTER-ARRIVAL TIMES In his secion, we consider he special case where for each ask τ i in τ, i holds ha =. For his case, spdf(τ can be compued as: max >0( τ i τ θ( D i where θ is he sep funcion (i reurns 1 if is inpu is nonnegaive and i reurns 0 if is inpu is negaive. Look a he denominaor. Noe ha his sep funcion only changes for hose ha are equal o a D parameer. I can be seen ha we only need o check hose ha are equal o a D parameer. Using his observaion yields: max τj τ ( τ i τ θ(d j D i D j Look a he denominaor. Observe ha we only need o include he erms where D j D i 0; he oher ones are zero. Wih his observaion, addiional rewriing yields: max τj τ ( τ i τ s.. D i D j D j We will explore spdf(τ for randomly-generaed askses. We do i wih wo ypes of askse generaion: similar asks and very differen asks. Wih he askse generaion similar asks, we generae asks as follows: D i = random(1, 10, = random(1, 10, where random(a, b generaes a random number, a real number, in he range [a,b] and i does so wih a uniform disribuion. If > D i hen we swap he values so ha D i. Afer ha, we normalize he densiy of he askse so ha i is 0.999; i.e., we muliple he C-parameers of all asks so ha he densiy becomes I can be seen ha his does no change spdf(τ; we do i simply so ha we ge askse parameers ha are easier o inerpre. Then we sor he asks in ascending order of he D parameer. Wih he askse generaion very differen asks, we generae asks as follows: = 10 random(0,4 random(1, 10, D i = 10 random(0,4 random(1, 10, where random(a, b generaes a random number, a real number, in he range [a,b] and i does so wih a uniform disribuion. If > D i hen we swap he values so ha D i. Afer ha, we normalize he densiy of he askse so ha i is 0.999; i.e., we muliple he C-parameers of all asks so ha he densiy becomes Then we sor he asks in ascending order of he D parameer. The resuls for boh similar asks and very differen asks are shown in Figure 1. Each subplo shows a hisogram of 3000 randomly generaed askses. (5 (6 (7 4. EVALUATION FOR THE GENERAL CASE, ARBITRARY-DEADLINE SPORADIC TASKS In his secion, we consider he general case, i.e., i is no required ha T parameers are infinie. I is also assumed ha he askse has arbirary deadlines; i.e., D i is allowed o be less han, or equal o, or greaer han. Recall from Eq. 4 ha τ i τ min(d i, max >0( τ i τ max( D i +1,0 Noe ha he denominaor has an expression which considers all posiive. One can see, however, ha if only hose for which here exiss a ask τ j and a non-negaive ineger k such ha = k T j + D j are considered, hen he calculaion yields he same resul. One can also see ha if only values of ha are a mos 10 max τi τ ( + D i are considered, hen he calculaed value is an approximaion of spdf(τ ha has an error of a mos 10%. We will use his o obain an approximaion of spdf(τ. We will explore spdf(τ for randomly-generaed askses. We do i wih wo ypes of askse generaion: similar asks and very differen asks. Wih he askse generaion similar asks, we generae asks as follows: D i = random(1, 10, = random(1, 10, = random(1, 10, where random(a, b generaes a random number, a real number, in he range [a,b] and i does so wih a uniform disribuion. If > D i hen we swap he values so ha D i. Afer ha, we normalize he uilizaion of he askse so ha i is 0.999; i.e., we muliple he C-parameers of all asks so ha he uilizaion becomes Then we sor he asks in ascending order of he D parameer. Wih he askse generaion very differen asks, we generae asks as follows: = 10 random(0,4 random(1, 10, D i = 10 random(0,4 random(1, 10, and = 10 random(0,4 random(1, 10, where random(a, b generaes a random number, a real number, in he range [a,b] and i does so wih a uniform disribuion. If > D i hen we swap he values so ha D i. Afer ha, we normalize uilizaion as menioned above. Then we sor he asks in ascending order of he D parameer. The resuls for boh similar asks and very differen asks are shown in Figure 2. Each subplo shows a hisogram of 3000 randomly generaed askses. 5. EVALUATION FOR THE GENERAL CASE, CONSTRAINED-DEADLINE SPORADIC TASKS In his secion, we consider he general case, i.e., i is no required ha T parameers are infinie. I is also assumed ha he askse has consrained deadlines; i.e., D i is allowed o be less han or equal o. The resuls for boh similar asks and very differen asks are shown in Figure 3. Each subplo shows a hisogram of 3000 randomly generaed askses. (8

4 (a Tasks similar and τ =2. (b Tasks similar and τ =10. (c Tasks similar and τ =100. (d Tasks similar and τ =1000. (e Tasks no similar and τ =2. (f Tasks no similar and τ =10. (g Tasks no similar and τ =100. (h Tasks no similar and τ =1000. Figure 1: Hisogram for spdf for differen ways of generaing askses randomly for he case ha T =.

5 (a Tasks similar and τ =2. (b Tasks similar and τ =10. (c Tasks similar and τ =100. (d Tasks similar and τ =1000. (e Tasks no similar and τ =2. (f Tasks no similar and τ =10. (g Tasks no similar and τ =100. (h Tasks no similar and τ =1000. Figure 2: Hisogram for spdf for differen ways of generaing askses randomly for he case ha s finie. Arbirary-deadline sporadic asks.

6 (a Tasks similar and τ =2. (b Tasks similar and τ =10. (c Tasks similar and τ =100. (d Tasks similar and τ =1000. (e Tasks no similar and τ =2. (f Tasks no similar and τ =10. (g Tasks no similar and τ =100. (h Tasks no similar and τ =1000. Figure 3: Hisogram for spdf for differen ways of generaing askses randomly for he case ha s finie. Consraineddeadline sporadic asks.

7 6. EVALUATION FOR THE GENERAL CASE, IMPLICIT-DEADLINE SPORADIC TASKS In his secion, we consider he special case where for each ask τ i in τ, i holds ha =. Recall from Eq. 4 ha τ i τ min(d i, max >0( τ i τ max( D i +1,0 Using = on his expression yields ha: Rewriing yields: τ i τ max >0( τ i τ max( +1,0 τ i τ max >0( τ i τ T i (9 (10 (11 I can be seen ha he denominaor is maximized for. This yields: Simplifying yields: τ i τ τ i τ (12 1 (13 For his reason, here is no need o run experimens for implici-deadline sporadic asks. 7. COMMENTING ON THE EXPERIMEN- TAL RESULTS Recall ha spdf is a lower bound on how much faser a processor needs o be in order for a bandwidh-like scheme o mee deadlines. And recall ha Figure 1, Figure 2, and Figure 3 provide hisograms for spdf. From hese figures, i can be seen ha (i he experimenal resuls depend on he experimenal seup, (ii his lower bound on he penaly was never larger han 4.0, (iii for one experimenal seup, for each askse, i was greaer han 2.4, (iv he hisogram of his penaly appears o be unimodal, and (v for implicideadline sporadic asks, his lower bound on he penaly was exacly 1. Le us now discuss wo subfigures in Figure 1 in order o undersand he resuls. Consider Figure 1a. I shows an experimenal seup wih jus wo asks so i is easy o see deails. Consider he askse wih he larges observed spdf. By inspecing his askse, we see ha is spdf is We will now discuss how his resul was obained. The askse conains 2 asks and i urns ou he denominaor (of Eq. 7 is maximized for j = 1. For he askse, i holds ha D 1 = The askse is as follows: C 1 = 0.58, D 1 = 1.08, C 2 = 4.58, D 2 = Consider Eq. 7 again. Recall ha here is a denominaor wih a max-expression. I urns ou ha for his askse, his expression is maximized for j = 1. We also know ha D 1 = Applying his knowledge on Eq. 7 yields: ( (14 τ i τ s.. D i / We can compue he sum in he denominaor; i is he sum of C for asks wih D Using values yields ha i is 0.58 and hence he denominaor is 0.58/ This yields ha he denominaor is and we have already seen ha he numeraor is Hence, This yields: spdf = (15 Consider Figure 1h. I shows he experimenal seup where he larges observed spdf occurred. By inspecing his askse, we see ha is spdf is We will now discuss how his resul was obained. The askse conains 1000 asks and i urns ou he denominaor (of Eq. 7 is maximized for j = 148. For he askse, i holds ha D 148 = In order o give an idea of wha he askse looks like while no consuming oo much space, we lis below only he firs ask and also lis asks wih D and wih C > The lising is as follows: C 1 = 0.24, D 1 = 2.06,..., C 13 = 0.43, D 13 = 4.12,..., C 30 = 0.59, D 30 = 6.28,..., C 58 = 0.24, D 58 = 8.70,... C 88 = 0.25, D 88 = 12.25,... C 102 = 0.45, D 102 = 14.28,... C 106 = 0.23, D 106 = 15.03,... C 119 = 0.27, D 119 = 16.71,... C 134 = 0.22, D 134 = 19.56,... C 145 = 0.58, D 145 = 21.05,... C 147 = 0.20, D 147 = Consider Eq. 7 again. Recall ha here is a denominaor wih a max-expression. I urns ou ha for his askse, his expression is maximized for j = 148. We also know ha D 148 = Applying his knowledge on Eq. 7 yields: ( (16 τ i τ s.. D i /21.94 We can compue he sum in he denominaor; i is he sum of C for asks wih D Using values yields ha i is and hence he denominaor is 5.621/ This yields ha he denominaor is and we have already seen ha he numeraor is Hence, This yields: spdf = (17 8. RELATED WORK The lieraure on hierarchical scheduling, composabiliy, and composiionaliy is vas; here we only survey some of he previous work. When rae-monoonic scheduling was developed as a comprehensive framework, i was recognized ha many sysems have sofware whose resource consumpion is hard o characerize; e.g., i is hard o find is wors-case execuion ime or minimum iner-arrival ime. For his reason, reservaion-based frameworks were developed (see for example [13]. The run-ime behavior of such a framework is as follows: A ask may be associaed wih a server ask and his server ask is scheduled as a normal ask (for example wih an execuion ime, ofen called budge, and a period

8 and if a ask is associaed wih a server ask hen i is only allowed o execue when he server ask execues. In his way, if a ask τ i is in a server ask and if τ i experiences an execuion overrun or arrives more ofen han expeced hen is impac on oher asks is bounded and i is bounded by he parameers of he server ask. Laer works creaed such reservaion for EDF; one example of ha is he consanbandwidh server (CBS [1]. Researchers realized ha reservaion-based frameworks can be used o form hierarchical scheduling; some work ha did so wih EDF include [14, 9]. Wih he focus on hierarchical scheduling, Feng and Mok developed [11] a resource model which saes ha a roo scheduler supplies, in a ime inerval of duraion, a leas ( k α k unis of execuion o componen k. Shin and Lee developed [15] anoher model where a componen k is characerized by is period and execuion ime and wih his, presened a so-called supply-bound funcion; his work could be used for componens ha use fixedprioriy as a local scheduler or componens ha use EDF as a local scheduler. Laer works have focused on resource sharing, specifically he quesion, if a ask τ lock execues wihin a criical secion and is curren budge has reached zero, wha should he scheduler do? There may be oher asks ha will reques his criical secion and hese requess can be graned only if he ask ha currenly holds ha criical secion (τ lock has released i. In order for he ask (τ lock o release he criical secion, i mus be able o execue and in order for his ask (τ lock o execue, i mus have a curren budge greaer han zero. Differen soluions for his have been developed; see for example [8, 7, 6]. Clearly, server parameers mus be seleced in order o ensure schedulabiliy; his has been he focus of [2]. Recall ha early in his paper, we poined ou ha bandwidhlike schemes can suffer from poor performance and we have suggesed ha using he demand-bound funcion is an inerface ha does no suffer from his drawback. A similar poin has been made in [12, 10]; hey also discuss approximae policing of such an inerface. 9. CONCLUSIONS Bandwidh-like schemes can cause a performance penaliy. I was known ha for cerain askses, his performance penaly is infinie bu i was no known how large his penaly is for average askses. Therefore, his paper generaed askses randomly and compued spdf which is a lower bound on how much faser a processor needs o be in order o mee deadlines if a bandwidh-like scheme is used. Through he experimenaion in his paper, i can be seen ha (i he experimenal resuls depend on he experimenal seup, (ii his lower bound on he penaly was never larger han 4.0, (iii for one experimenal seup, for each askse, i was greaer han 2.4, (iv he hisogram of his penaly appears o be unimodal, and (v for implici-deadline sporadic asks, his lower bound on he penaly was exacly 1. Acknowledgmen Copyrigh 2016 ACM This maerial is based upon work funded and suppored by he Deparmen of Defense under Conrac No. FA C-0003 wih Carnegie Mellon Universiy for he operaion of he Sofware Engineering Insiue, a federally funded research and developmen cener. [Disribuion Saemen A] This maerial has been approved for public release and unlimied disribuion. Please see Copyrigh noice for non-us Governmen use and disribuion. DM REFERENCES [1] L. Abeni and G. Buazzo. Inegraing mulimedia applicaions in hard real-ime sysems. In RTSS, [2] L. Almeida and P. Pedreiras. Scheduling wihin emporal pariions: response-ime analysis and server design. In EMSOFT, [3] B. Andersson. A pseudo-medium-wide 8-compeiive inerface for wo-level composiional real-ime scheduling of consrained-deadline sporadic asks on a uniprocessor. In CRTS, [4] B. Andersson. A preliminary idea for an 8-compeiive, log2 DMAX + log2 log2 (1/U asympoic-space, inerface generaion algorihm for wo-level hierarchical scheduling of consrained-deadline sporadic asks on a uniprocessor. In CRTS, [5] S. K. Baruah, L. E. Rosier, and R. R. Howell. Algorihms and complexiy concerning he preempive scheduling of periodic, real-ime asks on one processor. In Real-Time Sysems, pages , [6] M. Behnam, T. Nole, M. Asberg, and R. J. Bril. Overrun and skipping in hierarchically scheduled real-ime sysems. In RTCSA, [7] M. Behnam, I. Shin, T. Nole, and M. Nolin. SIRAP: a synchronizaion proocol for hierarchical resource sharing in real-ime open sysems. In EMSOFT, [8] R. I. Davis and A. Burns. Resource sharing in hierarchical fixed prioriy pre-empive sysems. In RTSS, [9] Z. Deng and J. W.-S. Liu. Scheduling real-ime applicaions in an open environmen. In RTSS, [10] F. Dewan and N. Fisher. Efficien admission conrol for enforcing arbirary real-ime demand-curve inerfaces. In RTSS, [11] X. Feng and A. K. Mok. A model of hierarchical real-ime virual resources. In RTSS, [12] P. Kumar, J.-J. Chen, and L. Thiele. Demand bound server: Generalized resource reservaion for hard real-ime sysems. In EMSOFT, [13] J. P. Lehoczky, L. Sha, and J. K. Srosnider. Enhanced aperiodic responsiveness in hard real-ime environmens. In RTSS, [14] G. Lipari and S. K. Baruah. A hierarchical exension o he consan bandwidh server framework. In RTAS, [15] I. Shin and I. Lee. Periodic resource model for composiional real-ime guaranees. In RTSS, 2003.

Written Exercise Sheet 5

Written Exercise Sheet 5 jian-jia.chen [ ] u-dormund.de lea.schoenberger [ ] u-dormund.de Exercise for he lecure Embedded Sysems Winersemeser 17/18 Wrien Exercise Shee 5 Hins: These assignmens will be discussed a E23 OH14, from

More information

Vehicle Arrival Models : Headway

Vehicle Arrival Models : Headway Chaper 12 Vehicle Arrival Models : Headway 12.1 Inroducion Modelling arrival of vehicle a secion of road is an imporan sep in raffic flow modelling. I has imporan applicaion in raffic flow simulaion where

More information

Handling on-line changes. Handling on-line changes. Handling overload conditions. Handling on-line changes

Handling on-line changes. Handling on-line changes. Handling overload conditions. Handling on-line changes ED41/DIT171 - Parallel and Disribued Real-Time ysems, Chalmers/GU, 011/01 Lecure #10 Updaed pril 15, 01 Handling on-line changes Handling on-line changes Targe environmen mode changes aic (periodic) asks

More information

23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes

23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes Represening Periodic Funcions by Fourier Series 3. Inroducion In his Secion we show how a periodic funcion can be expressed as a series of sines and cosines. We begin by obaining some sandard inegrals

More information

3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon

3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon 3..3 INRODUCION O DYNAMIC OPIMIZAION: DISCREE IME PROBLEMS A. he Hamilonian and Firs-Order Condiions in a Finie ime Horizon Define a new funcion, he Hamilonian funcion, H. H he change in he oal value of

More information

A methodology for designing hierarchical scheduling systems

A methodology for designing hierarchical scheduling systems A mehodology for designing hierarchical scheduling sysems Giuseppe Lipari and Enrico Bini Absrac When execuing differen real-ime applicaions on a single processor sysem, one problem is how o compose hese

More information

ACE 562 Fall Lecture 5: The Simple Linear Regression Model: Sampling Properties of the Least Squares Estimators. by Professor Scott H.

ACE 562 Fall Lecture 5: The Simple Linear Regression Model: Sampling Properties of the Least Squares Estimators. by Professor Scott H. ACE 56 Fall 005 Lecure 5: he Simple Linear Regression Model: Sampling Properies of he Leas Squares Esimaors by Professor Sco H. Irwin Required Reading: Griffihs, Hill and Judge. "Inference in he Simple

More information

Chapter 2. First Order Scalar Equations

Chapter 2. First Order Scalar Equations Chaper. Firs Order Scalar Equaions We sar our sudy of differenial equaions in he same way he pioneers in his field did. We show paricular echniques o solve paricular ypes of firs order differenial equaions.

More information

Simulation-Solving Dynamic Models ABE 5646 Week 2, Spring 2010

Simulation-Solving Dynamic Models ABE 5646 Week 2, Spring 2010 Simulaion-Solving Dynamic Models ABE 5646 Week 2, Spring 2010 Week Descripion Reading Maerial 2 Compuer Simulaion of Dynamic Models Finie Difference, coninuous saes, discree ime Simple Mehods Euler Trapezoid

More information

2.7. Some common engineering functions. Introduction. Prerequisites. Learning Outcomes

2.7. Some common engineering functions. Introduction. Prerequisites. Learning Outcomes Some common engineering funcions 2.7 Inroducion This secion provides a caalogue of some common funcions ofen used in Science and Engineering. These include polynomials, raional funcions, he modulus funcion

More information

Matlab and Python programming: how to get started

Matlab and Python programming: how to get started Malab and Pyhon programming: how o ge sared Equipping readers he skills o wrie programs o explore complex sysems and discover ineresing paerns from big daa is one of he main goals of his book. In his chaper,

More information

20. Applications of the Genetic-Drift Model

20. Applications of the Genetic-Drift Model 0. Applicaions of he Geneic-Drif Model 1) Deermining he probabiliy of forming any paricular combinaion of genoypes in he nex generaion: Example: If he parenal allele frequencies are p 0 = 0.35 and q 0

More information

EXERCISES FOR SECTION 1.5

EXERCISES FOR SECTION 1.5 1.5 Exisence and Uniqueness of Soluions 43 20. 1 v c 21. 1 v c 1 2 4 6 8 10 1 2 2 4 6 8 10 Graph of approximae soluion obained using Euler s mehod wih = 0.1. Graph of approximae soluion obained using Euler

More information

A First Course on Kinetics and Reaction Engineering. Class 19 on Unit 18

A First Course on Kinetics and Reaction Engineering. Class 19 on Unit 18 A Firs ourse on Kineics and Reacion Engineering lass 19 on Uni 18 Par I - hemical Reacions Par II - hemical Reacion Kineics Where We re Going Par III - hemical Reacion Engineering A. Ideal Reacors B. Perfecly

More information

On Measuring Pro-Poor Growth. 1. On Various Ways of Measuring Pro-Poor Growth: A Short Review of the Literature

On Measuring Pro-Poor Growth. 1. On Various Ways of Measuring Pro-Poor Growth: A Short Review of the Literature On Measuring Pro-Poor Growh 1. On Various Ways of Measuring Pro-Poor Growh: A Shor eview of he Lieraure During he pas en years or so here have been various suggesions concerning he way one should check

More information

5. Stochastic processes (1)

5. Stochastic processes (1) Lec05.pp S-38.45 - Inroducion o Teleraffic Theory Spring 2005 Conens Basic conceps Poisson process 2 Sochasic processes () Consider some quaniy in a eleraffic (or any) sysem I ypically evolves in ime randomly

More information

Introduction to Probability and Statistics Slides 4 Chapter 4

Introduction to Probability and Statistics Slides 4 Chapter 4 Inroducion o Probabiliy and Saisics Slides 4 Chaper 4 Ammar M. Sarhan, asarhan@mahsa.dal.ca Deparmen of Mahemaics and Saisics, Dalhousie Universiy Fall Semeser 8 Dr. Ammar Sarhan Chaper 4 Coninuous Random

More information

Problem Set 5. Graduate Macro II, Spring 2017 The University of Notre Dame Professor Sims

Problem Set 5. Graduate Macro II, Spring 2017 The University of Notre Dame Professor Sims Problem Se 5 Graduae Macro II, Spring 2017 The Universiy of Nore Dame Professor Sims Insrucions: You may consul wih oher members of he class, bu please make sure o urn in your own work. Where applicable,

More information

Chapter 3 Boundary Value Problem

Chapter 3 Boundary Value Problem Chaper 3 Boundary Value Problem A boundary value problem (BVP) is a problem, ypically an ODE or a PDE, which has values assigned on he physical boundary of he domain in which he problem is specified. Le

More information

This document was generated at 1:04 PM, 09/10/13 Copyright 2013 Richard T. Woodward. 4. End points and transversality conditions AGEC

This document was generated at 1:04 PM, 09/10/13 Copyright 2013 Richard T. Woodward. 4. End points and transversality conditions AGEC his documen was generaed a 1:4 PM, 9/1/13 Copyrigh 213 Richard. Woodward 4. End poins and ransversaliy condiions AGEC 637-213 F z d Recall from Lecure 3 ha a ypical opimal conrol problem is o maimize (,,

More information

ACE 562 Fall Lecture 8: The Simple Linear Regression Model: R 2, Reporting the Results and Prediction. by Professor Scott H.

ACE 562 Fall Lecture 8: The Simple Linear Regression Model: R 2, Reporting the Results and Prediction. by Professor Scott H. ACE 56 Fall 5 Lecure 8: The Simple Linear Regression Model: R, Reporing he Resuls and Predicion by Professor Sco H. Irwin Required Readings: Griffihs, Hill and Judge. "Explaining Variaion in he Dependen

More information

Math 333 Problem Set #2 Solution 14 February 2003

Math 333 Problem Set #2 Solution 14 February 2003 Mah 333 Problem Se #2 Soluion 14 February 2003 A1. Solve he iniial value problem dy dx = x2 + e 3x ; 2y 4 y(0) = 1. Soluion: This is separable; we wrie 2y 4 dy = x 2 + e x dx and inegrae o ge The iniial

More information

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle Chaper 2 Newonian Mechanics Single Paricle In his Chaper we will review wha Newon s laws of mechanics ell us abou he moion of a single paricle. Newon s laws are only valid in suiable reference frames,

More information

Final Spring 2007

Final Spring 2007 .615 Final Spring 7 Overview The purpose of he final exam is o calculae he MHD β limi in a high-bea oroidal okamak agains he dangerous n = 1 exernal ballooning-kink mode. Effecively, his corresponds o

More information

Comments on Window-Constrained Scheduling

Comments on Window-Constrained Scheduling Commens on Window-Consrained Scheduling Richard Wes Member, IEEE and Yuing Zhang Absrac This shor repor clarifies he behavior of DWCS wih respec o Theorem 3 in our previously published paper [1], and describes

More information

Lecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still.

Lecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still. Lecure - Kinemaics in One Dimension Displacemen, Velociy and Acceleraion Everyhing in he world is moving. Nohing says sill. Moion occurs a all scales of he universe, saring from he moion of elecrons in

More information

Basic definitions and relations

Basic definitions and relations Basic definiions and relaions Lecurer: Dmiri A. Molchanov E-mail: molchan@cs.u.fi hp://www.cs.u.fi/kurssi/tlt-2716/ Kendall s noaion for queuing sysems: Arrival processes; Service ime disribuions; Examples.

More information

E β t log (C t ) + M t M t 1. = Y t + B t 1 P t. B t 0 (3) v t = P tc t M t Question 1. Find the FOC s for an optimum in the agent s problem.

E β t log (C t ) + M t M t 1. = Y t + B t 1 P t. B t 0 (3) v t = P tc t M t Question 1. Find the FOC s for an optimum in the agent s problem. Noes, M. Krause.. Problem Se 9: Exercise on FTPL Same model as in paper and lecure, only ha one-period govenmen bonds are replaced by consols, which are bonds ha pay one dollar forever. I has curren marke

More information

Chapter 15: Phenomena. Chapter 15 Chemical Kinetics. Reaction Rates. Reaction Rates R P. Reaction Rates. Rate Laws

Chapter 15: Phenomena. Chapter 15 Chemical Kinetics. Reaction Rates. Reaction Rates R P. Reaction Rates. Rate Laws Chaper 5: Phenomena Phenomena: The reacion (aq) + B(aq) C(aq) was sudied a wo differen emperaures (98 K and 35 K). For each emperaure he reacion was sared by puing differen concenraions of he 3 species

More information

Learning a Class from Examples. Training set X. Class C 1. Class C of a family car. Output: Input representation: x 1 : price, x 2 : engine power

Learning a Class from Examples. Training set X. Class C 1. Class C of a family car. Output: Input representation: x 1 : price, x 2 : engine power Alpaydin Chaper, Michell Chaper 7 Alpaydin slides are in urquoise. Ehem Alpaydin, copyrigh: The MIT Press, 010. alpaydin@boun.edu.r hp://www.cmpe.boun.edu.r/ ehem/imle All oher slides are based on Michell.

More information

Learning a Class from Examples. Training set X. Class C 1. Class C of a family car. Output: Input representation: x 1 : price, x 2 : engine power

Learning a Class from Examples. Training set X. Class C 1. Class C of a family car. Output: Input representation: x 1 : price, x 2 : engine power Alpaydin Chaper, Michell Chaper 7 Alpaydin slides are in urquoise. Ehem Alpaydin, copyrigh: The MIT Press, 010. alpaydin@boun.edu.r hp://www.cmpe.boun.edu.r/ ehem/imle All oher slides are based on Michell.

More information

Designing Information Devices and Systems I Spring 2019 Lecture Notes Note 17

Designing Information Devices and Systems I Spring 2019 Lecture Notes Note 17 EES 16A Designing Informaion Devices and Sysems I Spring 019 Lecure Noes Noe 17 17.1 apaciive ouchscreen In he las noe, we saw ha a capacior consiss of wo pieces on conducive maerial separaed by a nonconducive

More information

Guest Lectures for Dr. MacFarlane s EE3350 Part Deux

Guest Lectures for Dr. MacFarlane s EE3350 Part Deux Gues Lecures for Dr. MacFarlane s EE3350 Par Deux Michael Plane Mon., 08-30-2010 Wrie name in corner. Poin ou his is a review, so I will go faser. Remind hem o go lisen o online lecure abou geing an A

More information

Explaining Total Factor Productivity. Ulrich Kohli University of Geneva December 2015

Explaining Total Factor Productivity. Ulrich Kohli University of Geneva December 2015 Explaining Toal Facor Produciviy Ulrich Kohli Universiy of Geneva December 2015 Needed: A Theory of Toal Facor Produciviy Edward C. Presco (1998) 2 1. Inroducion Toal Facor Produciviy (TFP) has become

More information

5.1 - Logarithms and Their Properties

5.1 - Logarithms and Their Properties Chaper 5 Logarihmic Funcions 5.1 - Logarihms and Their Properies Suppose ha a populaion grows according o he formula P 10, where P is he colony size a ime, in hours. When will he populaion be 2500? We

More information

d 1 = c 1 b 2 - b 1 c 2 d 2 = c 1 b 3 - b 1 c 3

d 1 = c 1 b 2 - b 1 c 2 d 2 = c 1 b 3 - b 1 c 3 and d = c b - b c c d = c b - b c c This process is coninued unil he nh row has been compleed. The complee array of coefficiens is riangular. Noe ha in developing he array an enire row may be divided or

More information

Chapter 2. Models, Censoring, and Likelihood for Failure-Time Data

Chapter 2. Models, Censoring, and Likelihood for Failure-Time Data Chaper 2 Models, Censoring, and Likelihood for Failure-Time Daa William Q. Meeker and Luis A. Escobar Iowa Sae Universiy and Louisiana Sae Universiy Copyrigh 1998-2008 W. Q. Meeker and L. A. Escobar. Based

More information

INTRODUCTION TO MACHINE LEARNING 3RD EDITION

INTRODUCTION TO MACHINE LEARNING 3RD EDITION ETHEM ALPAYDIN The MIT Press, 2014 Lecure Slides for INTRODUCTION TO MACHINE LEARNING 3RD EDITION alpaydin@boun.edu.r hp://www.cmpe.boun.edu.r/~ehem/i2ml3e CHAPTER 2: SUPERVISED LEARNING Learning a Class

More information

18 Biological models with discrete time

18 Biological models with discrete time 8 Biological models wih discree ime The mos imporan applicaions, however, may be pedagogical. The elegan body of mahemaical heory peraining o linear sysems (Fourier analysis, orhogonal funcions, and so

More information

Navneet Saini, Mayank Goyal, Vishal Bansal (2013); Term Project AML310; Indian Institute of Technology Delhi

Navneet Saini, Mayank Goyal, Vishal Bansal (2013); Term Project AML310; Indian Institute of Technology Delhi Creep in Viscoelasic Subsances Numerical mehods o calculae he coefficiens of he Prony equaion using creep es daa and Herediary Inegrals Mehod Navnee Saini, Mayank Goyal, Vishal Bansal (23); Term Projec

More information

Module 2 F c i k c s la l w a s o s f dif di fusi s o i n

Module 2 F c i k c s la l w a s o s f dif di fusi s o i n Module Fick s laws of diffusion Fick s laws of diffusion and hin film soluion Adolf Fick (1855) proposed: d J α d d d J (mole/m s) flu (m /s) diffusion coefficien and (mole/m 3 ) concenraion of ions, aoms

More information

Robust estimation based on the first- and third-moment restrictions of the power transformation model

Robust estimation based on the first- and third-moment restrictions of the power transformation model h Inernaional Congress on Modelling and Simulaion, Adelaide, Ausralia, 6 December 3 www.mssanz.org.au/modsim3 Robus esimaion based on he firs- and hird-momen resricions of he power ransformaion Nawaa,

More information

Christos Papadimitriou & Luca Trevisan November 22, 2016

Christos Papadimitriou & Luca Trevisan November 22, 2016 U.C. Bereley CS170: Algorihms Handou LN-11-22 Chrisos Papadimiriou & Luca Trevisan November 22, 2016 Sreaming algorihms In his lecure and he nex one we sudy memory-efficien algorihms ha process a sream

More information

Diebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles

Diebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles Diebold, Chaper 7 Francis X. Diebold, Elemens of Forecasing, 4h Ediion (Mason, Ohio: Cengage Learning, 006). Chaper 7. Characerizing Cycles Afer compleing his reading you should be able o: Define covariance

More information

Appendix to Creating Work Breaks From Available Idleness

Appendix to Creating Work Breaks From Available Idleness Appendix o Creaing Work Breaks From Available Idleness Xu Sun and Ward Whi Deparmen of Indusrial Engineering and Operaions Research, Columbia Universiy, New York, NY, 127; {xs2235,ww24}@columbia.edu Sepember

More information

Online Appendix to Solution Methods for Models with Rare Disasters

Online Appendix to Solution Methods for Models with Rare Disasters Online Appendix o Soluion Mehods for Models wih Rare Disasers Jesús Fernández-Villaverde and Oren Levinal In his Online Appendix, we presen he Euler condiions of he model, we develop he pricing Calvo block,

More information

Math 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities:

Math 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities: Mah 4 Eam Review Problems Problem. Calculae he 3rd Taylor polynomial for arcsin a =. Soluion. Le f() = arcsin. For his problem, we use he formula f() + f () + f ()! + f () 3! for he 3rd Taylor polynomial

More information

Chapter 7: Solving Trig Equations

Chapter 7: Solving Trig Equations Haberman MTH Secion I: The Trigonomeric Funcions Chaper 7: Solving Trig Equaions Le s sar by solving a couple of equaions ha involve he sine funcion EXAMPLE a: Solve he equaion sin( ) The inverse funcions

More information

Single and Double Pendulum Models

Single and Double Pendulum Models Single and Double Pendulum Models Mah 596 Projec Summary Spring 2016 Jarod Har 1 Overview Differen ypes of pendulums are used o model many phenomena in various disciplines. In paricular, single and double

More information

Economics 8105 Macroeconomic Theory Recitation 6

Economics 8105 Macroeconomic Theory Recitation 6 Economics 8105 Macroeconomic Theory Reciaion 6 Conor Ryan Ocober 11h, 2016 Ouline: Opimal Taxaion wih Governmen Invesmen 1 Governmen Expendiure in Producion In hese noes we will examine a model in which

More information

ACE 564 Spring Lecture 7. Extensions of The Multiple Regression Model: Dummy Independent Variables. by Professor Scott H.

ACE 564 Spring Lecture 7. Extensions of The Multiple Regression Model: Dummy Independent Variables. by Professor Scott H. ACE 564 Spring 2006 Lecure 7 Exensions of The Muliple Regression Model: Dumm Independen Variables b Professor Sco H. Irwin Readings: Griffihs, Hill and Judge. "Dumm Variables and Varing Coefficien Models

More information

CHAPTER 2 Signals And Spectra

CHAPTER 2 Signals And Spectra CHAPER Signals And Specra Properies of Signals and Noise In communicaion sysems he received waveform is usually caegorized ino he desired par conaining he informaion, and he undesired par. he desired par

More information

Challenge Problems. DIS 203 and 210. March 6, (e 2) k. k(k + 2). k=1. f(x) = k(k + 2) = 1 x k

Challenge Problems. DIS 203 and 210. March 6, (e 2) k. k(k + 2). k=1. f(x) = k(k + 2) = 1 x k Challenge Problems DIS 03 and 0 March 6, 05 Choose one of he following problems, and work on i in your group. Your goal is o convince me ha your answer is correc. Even if your answer isn compleely correc,

More information

Linear Response Theory: The connection between QFT and experiments

Linear Response Theory: The connection between QFT and experiments Phys540.nb 39 3 Linear Response Theory: The connecion beween QFT and experimens 3.1. Basic conceps and ideas Q: How do we measure he conduciviy of a meal? A: we firs inroduce a weak elecric field E, and

More information

Random Walk with Anti-Correlated Steps

Random Walk with Anti-Correlated Steps Random Walk wih Ani-Correlaed Seps John Noga Dirk Wagner 2 Absrac We conjecure he expeced value of random walks wih ani-correlaed seps o be exacly. We suppor his conjecure wih 2 plausibiliy argumens and

More information

4.1 - Logarithms and Their Properties

4.1 - Logarithms and Their Properties Chaper 4 Logarihmic Funcions 4.1 - Logarihms and Their Properies Wha is a Logarihm? We define he common logarihm funcion, simply he log funcion, wrien log 10 x log x, as follows: If x is a posiive number,

More information

Macroeconomic Theory Ph.D. Qualifying Examination Fall 2005 ANSWER EACH PART IN A SEPARATE BLUE BOOK. PART ONE: ANSWER IN BOOK 1 WEIGHT 1/3

Macroeconomic Theory Ph.D. Qualifying Examination Fall 2005 ANSWER EACH PART IN A SEPARATE BLUE BOOK. PART ONE: ANSWER IN BOOK 1 WEIGHT 1/3 Macroeconomic Theory Ph.D. Qualifying Examinaion Fall 2005 Comprehensive Examinaion UCLA Dep. of Economics You have 4 hours o complee he exam. There are hree pars o he exam. Answer all pars. Each par has

More information

3.1 More on model selection

3.1 More on model selection 3. More on Model selecion 3. Comparing models AIC, BIC, Adjused R squared. 3. Over Fiing problem. 3.3 Sample spliing. 3. More on model selecion crieria Ofen afer model fiing you are lef wih a handful of

More information

Appendix 14.1 The optimal control problem and its solution using

Appendix 14.1 The optimal control problem and its solution using 1 Appendix 14.1 he opimal conrol problem and is soluion using he maximum principle NOE: Many occurrences of f, x, u, and in his file (in equaions or as whole words in ex) are purposefully in bold in order

More information

Lecture 20: Riccati Equations and Least Squares Feedback Control

Lecture 20: Riccati Equations and Least Squares Feedback Control 34-5 LINEAR SYSTEMS Lecure : Riccai Equaions and Leas Squares Feedback Conrol 5.6.4 Sae Feedback via Riccai Equaions A recursive approach in generaing he marix-valued funcion W ( ) equaion for i for he

More information

Unit Root Time Series. Univariate random walk

Unit Root Time Series. Univariate random walk Uni Roo ime Series Univariae random walk Consider he regression y y where ~ iid N 0, he leas squares esimae of is: ˆ yy y y yy Now wha if = If y y hen le y 0 =0 so ha y j j If ~ iid N 0, hen y ~ N 0, he

More information

Echocardiography Project and Finite Fourier Series

Echocardiography Project and Finite Fourier Series Echocardiography Projec and Finie Fourier Series 1 U M An echocardiagram is a plo of how a porion of he hear moves as he funcion of ime over he one or more hearbea cycles If he hearbea repeas iself every

More information

8. Basic RL and RC Circuits

8. Basic RL and RC Circuits 8. Basic L and C Circuis This chaper deals wih he soluions of he responses of L and C circuis The analysis of C and L circuis leads o a linear differenial equaion This chaper covers he following opics

More information

Let us start with a two dimensional case. We consider a vector ( x,

Let us start with a two dimensional case. We consider a vector ( x, Roaion marices We consider now roaion marices in wo and hree dimensions. We sar wih wo dimensions since wo dimensions are easier han hree o undersand, and one dimension is a lile oo simple. However, our

More information

T L. t=1. Proof of Lemma 1. Using the marginal cost accounting in Equation(4) and standard arguments. t )+Π RB. t )+K 1(Q RB

T L. t=1. Proof of Lemma 1. Using the marginal cost accounting in Equation(4) and standard arguments. t )+Π RB. t )+K 1(Q RB Elecronic Companion EC.1. Proofs of Technical Lemmas and Theorems LEMMA 1. Le C(RB) be he oal cos incurred by he RB policy. Then we have, T L E[C(RB)] 3 E[Z RB ]. (EC.1) Proof of Lemma 1. Using he marginal

More information

SMT 2014 Calculus Test Solutions February 15, 2014 = 3 5 = 15.

SMT 2014 Calculus Test Solutions February 15, 2014 = 3 5 = 15. SMT Calculus Tes Soluions February 5,. Le f() = and le g() =. Compue f ()g (). Answer: 5 Soluion: We noe ha f () = and g () = 6. Then f ()g () =. Plugging in = we ge f ()g () = 6 = 3 5 = 5.. There is a

More information

EE 435. Lecture 31. Absolute and Relative Accuracy DAC Design. The String DAC

EE 435. Lecture 31. Absolute and Relative Accuracy DAC Design. The String DAC EE 435 Lecure 3 Absolue and Relaive Accuracy DAC Design The Sring DAC . Review from las lecure. DFT Simulaion from Malab Quanizaion Noise DACs and ADCs generally quanize boh ampliude and ime If convering

More information

Maintenance Models. Prof. Robert C. Leachman IEOR 130, Methods of Manufacturing Improvement Spring, 2011

Maintenance Models. Prof. Robert C. Leachman IEOR 130, Methods of Manufacturing Improvement Spring, 2011 Mainenance Models Prof Rober C Leachman IEOR 3, Mehods of Manufacuring Improvemen Spring, Inroducion The mainenance of complex equipmen ofen accouns for a large porion of he coss associaed wih ha equipmen

More information

AP Chemistry--Chapter 12: Chemical Kinetics

AP Chemistry--Chapter 12: Chemical Kinetics AP Chemisry--Chaper 12: Chemical Kineics I. Reacion Raes A. The area of chemisry ha deals wih reacion raes, or how fas a reacion occurs, is called chemical kineics. B. The rae of reacion depends on he

More information

Chapter 8 The Complete Response of RL and RC Circuits

Chapter 8 The Complete Response of RL and RC Circuits Chaper 8 The Complee Response of RL and RC Circuis Seoul Naional Universiy Deparmen of Elecrical and Compuer Engineering Wha is Firs Order Circuis? Circuis ha conain only one inducor or only one capacior

More information

Approximation Algorithms for Unique Games via Orthogonal Separators

Approximation Algorithms for Unique Games via Orthogonal Separators Approximaion Algorihms for Unique Games via Orhogonal Separaors Lecure noes by Konsanin Makarychev. Lecure noes are based on he papers [CMM06a, CMM06b, LM4]. Unique Games In hese lecure noes, we define

More information

dt = C exp (3 ln t 4 ). t 4 W = C exp ( ln(4 t) 3) = C(4 t) 3.

dt = C exp (3 ln t 4 ). t 4 W = C exp ( ln(4 t) 3) = C(4 t) 3. Mah Rahman Exam Review Soluions () Consider he IVP: ( 4)y 3y + 4y = ; y(3) = 0, y (3) =. (a) Please deermine he longes inerval for which he IVP is guaraneed o have a unique soluion. Soluion: The disconinuiies

More information

Nature Neuroscience: doi: /nn Supplementary Figure 1. Spike-count autocorrelations in time.

Nature Neuroscience: doi: /nn Supplementary Figure 1. Spike-count autocorrelations in time. Supplemenary Figure 1 Spike-coun auocorrelaions in ime. Normalized auocorrelaion marices are shown for each area in a daase. The marix shows he mean correlaion of he spike coun in each ime bin wih he spike

More information

23.5. Half-Range Series. Introduction. Prerequisites. Learning Outcomes

23.5. Half-Range Series. Introduction. Prerequisites. Learning Outcomes Half-Range Series 2.5 Inroducion In his Secion we address he following problem: Can we find a Fourier series expansion of a funcion defined over a finie inerval? Of course we recognise ha such a funcion

More information

Inventory Control of Perishable Items in a Two-Echelon Supply Chain

Inventory Control of Perishable Items in a Two-Echelon Supply Chain Journal of Indusrial Engineering, Universiy of ehran, Special Issue,, PP. 69-77 69 Invenory Conrol of Perishable Iems in a wo-echelon Supply Chain Fariborz Jolai *, Elmira Gheisariha and Farnaz Nojavan

More information

This document was generated at 7:34 PM, 07/27/09 Copyright 2009 Richard T. Woodward

This document was generated at 7:34 PM, 07/27/09 Copyright 2009 Richard T. Woodward his documen was generaed a 7:34 PM, 07/27/09 Copyrigh 2009 Richard. Woodward 15. Bang-bang and mos rapid approach problems AGEC 637 - Summer 2009 here are some problems for which he opimal pah does no

More information

Intermediate Macro In-Class Problems

Intermediate Macro In-Class Problems Inermediae Macro In-Class Problems Exploring Romer Model June 14, 016 Today we will explore he mechanisms of he simply Romer model by exploring how economies described by his model would reac o exogenous

More information

Air Traffic Forecast Empirical Research Based on the MCMC Method

Air Traffic Forecast Empirical Research Based on the MCMC Method Compuer and Informaion Science; Vol. 5, No. 5; 0 ISSN 93-8989 E-ISSN 93-8997 Published by Canadian Cener of Science and Educaion Air Traffic Forecas Empirical Research Based on he MCMC Mehod Jian-bo Wang,

More information

dy dx = xey (a) y(0) = 2 (b) y(1) = 2.5 SOLUTION: See next page

dy dx = xey (a) y(0) = 2 (b) y(1) = 2.5 SOLUTION: See next page Assignmen 1 MATH 2270 SOLUTION Please wrie ou complee soluions for each of he following 6 problems (one more will sill be added). You may, of course, consul wih your classmaes, he exbook or oher resources,

More information

1 Review of Zero-Sum Games

1 Review of Zero-Sum Games COS 5: heoreical Machine Learning Lecurer: Rob Schapire Lecure #23 Scribe: Eugene Brevdo April 30, 2008 Review of Zero-Sum Games Las ime we inroduced a mahemaical model for wo player zero-sum games. Any

More information

Sterilization D Values

Sterilization D Values Seriliaion D Values Seriliaion by seam consis of he simple observaion ha baceria die over ime during exposure o hea. They do no all live for a finie period of hea exposure and hen suddenly die a once,

More information

Failure of the work-hamiltonian connection for free energy calculations. Abstract

Failure of the work-hamiltonian connection for free energy calculations. Abstract Failure of he work-hamilonian connecion for free energy calculaions Jose M. G. Vilar 1 and J. Miguel Rubi 1 Compuaional Biology Program, Memorial Sloan-Keering Cancer Cener, 175 York Avenue, New York,

More information

Inventory Analysis and Management. Multi-Period Stochastic Models: Optimality of (s, S) Policy for K-Convex Objective Functions

Inventory Analysis and Management. Multi-Period Stochastic Models: Optimality of (s, S) Policy for K-Convex Objective Functions Muli-Period Sochasic Models: Opimali of (s, S) Polic for -Convex Objecive Funcions Consider a seing similar o he N-sage newsvendor problem excep ha now here is a fixed re-ordering cos (> 0) for each (re-)order.

More information

STATE-SPACE MODELLING. A mass balance across the tank gives:

STATE-SPACE MODELLING. A mass balance across the tank gives: B. Lennox and N.F. Thornhill, 9, Sae Space Modelling, IChemE Process Managemen and Conrol Subjec Group Newsleer STE-SPACE MODELLING Inroducion: Over he pas decade or so here has been an ever increasing

More information

Solutions to Odd Number Exercises in Chapter 6

Solutions to Odd Number Exercises in Chapter 6 1 Soluions o Odd Number Exercises in 6.1 R y eˆ 1.7151 y 6.3 From eˆ ( T K) ˆ R 1 1 SST SST SST (1 R ) 55.36(1.7911) we have, ˆ 6.414 T K ( ) 6.5 y ye ye y e 1 1 Consider he erms e and xe b b x e y e b

More information

15. Vector Valued Functions

15. Vector Valued Functions 1. Vecor Valued Funcions Up o his poin, we have presened vecors wih consan componens, for example, 1, and,,4. However, we can allow he componens of a vecor o be funcions of a common variable. For example,

More information

Solutions for Assignment 2

Solutions for Assignment 2 Faculy of rs and Science Universiy of Torono CSC 358 - Inroducion o Compuer Neworks, Winer 218 Soluions for ssignmen 2 Quesion 1 (2 Poins): Go-ack n RQ In his quesion, we review how Go-ack n RQ can be

More information

Comparing Means: t-tests for One Sample & Two Related Samples

Comparing Means: t-tests for One Sample & Two Related Samples Comparing Means: -Tess for One Sample & Two Relaed Samples Using he z-tes: Assumpions -Tess for One Sample & Two Relaed Samples The z-es (of a sample mean agains a populaion mean) is based on he assumpion

More information

CENTRALIZED VERSUS DECENTRALIZED PRODUCTION PLANNING IN SUPPLY CHAINS

CENTRALIZED VERSUS DECENTRALIZED PRODUCTION PLANNING IN SUPPLY CHAINS CENRALIZED VERSUS DECENRALIZED PRODUCION PLANNING IN SUPPLY CHAINS Georges SAHARIDIS* a, Yves DALLERY* a, Fikri KARAESMEN* b * a Ecole Cenrale Paris Deparmen of Indusial Engineering (LGI), +3343388, saharidis,dallery@lgi.ecp.fr

More information

Cooperative Ph.D. Program in School of Economic Sciences and Finance QUALIFYING EXAMINATION IN MACROECONOMICS. August 8, :45 a.m. to 1:00 p.m.

Cooperative Ph.D. Program in School of Economic Sciences and Finance QUALIFYING EXAMINATION IN MACROECONOMICS. August 8, :45 a.m. to 1:00 p.m. Cooperaive Ph.D. Program in School of Economic Sciences and Finance QUALIFYING EXAMINATION IN MACROECONOMICS Augus 8, 213 8:45 a.m. o 1: p.m. THERE ARE FIVE QUESTIONS ANSWER ANY FOUR OUT OF FIVE PROBLEMS.

More information

non -negative cone Population dynamics motivates the study of linear models whose coefficient matrices are non-negative or positive.

non -negative cone Population dynamics motivates the study of linear models whose coefficient matrices are non-negative or positive. LECTURE 3 Linear/Nonnegaive Marix Models x ( = Px ( A= m m marix, x= m vecor Linear sysems of difference equaions arise in several difference conexs: Linear approximaions (linearizaion Perurbaion analysis

More information

Numerical Dispersion

Numerical Dispersion eview of Linear Numerical Sabiliy Numerical Dispersion n he previous lecure, we considered he linear numerical sabiliy of boh advecion and diffusion erms when approimaed wih several spaial and emporal

More information

SOLUTIONS TO ECE 3084

SOLUTIONS TO ECE 3084 SOLUTIONS TO ECE 384 PROBLEM 2.. For each sysem below, specify wheher or no i is: (i) memoryless; (ii) causal; (iii) inverible; (iv) linear; (v) ime invarian; Explain your reasoning. If he propery is no

More information

Mathcad Lecture #8 In-class Worksheet Curve Fitting and Interpolation

Mathcad Lecture #8 In-class Worksheet Curve Fitting and Interpolation Mahcad Lecure #8 In-class Workshee Curve Fiing and Inerpolaion A he end of his lecure, you will be able o: explain he difference beween curve fiing and inerpolaion decide wheher curve fiing or inerpolaion

More information

Ordinary dierential equations

Ordinary dierential equations Chaper 5 Ordinary dierenial equaions Conens 5.1 Iniial value problem........................... 31 5. Forward Euler's mehod......................... 3 5.3 Runge-Kua mehods.......................... 36

More information

Morning Time: 1 hour 30 minutes Additional materials (enclosed):

Morning Time: 1 hour 30 minutes Additional materials (enclosed): ADVANCED GCE 78/0 MATHEMATICS (MEI) Differenial Equaions THURSDAY JANUARY 008 Morning Time: hour 30 minues Addiional maerials (enclosed): None Addiional maerials (required): Answer Bookle (8 pages) Graph

More information

KINEMATICS IN ONE DIMENSION

KINEMATICS IN ONE DIMENSION KINEMATICS IN ONE DIMENSION PREVIEW Kinemaics is he sudy of how hings move how far (disance and displacemen), how fas (speed and velociy), and how fas ha how fas changes (acceleraion). We say ha an objec

More information

Scheduling of Crude Oil Movements at Refinery Front-end

Scheduling of Crude Oil Movements at Refinery Front-end Scheduling of Crude Oil Movemens a Refinery Fron-end Ramkumar Karuppiah and Ignacio Grossmann Carnegie Mellon Universiy ExxonMobil Case Sudy: Dr. Kevin Furman Enerprise-wide Opimizaion Projec March 15,

More information

ACE 562 Fall Lecture 4: Simple Linear Regression Model: Specification and Estimation. by Professor Scott H. Irwin

ACE 562 Fall Lecture 4: Simple Linear Regression Model: Specification and Estimation. by Professor Scott H. Irwin ACE 56 Fall 005 Lecure 4: Simple Linear Regression Model: Specificaion and Esimaion by Professor Sco H. Irwin Required Reading: Griffihs, Hill and Judge. "Simple Regression: Economic and Saisical Model

More information

) were both constant and we brought them from under the integral.

) were both constant and we brought them from under the integral. YIELD-PER-RECRUIT (coninued The yield-per-recrui model applies o a cohor, bu we saw in he Age Disribuions lecure ha he properies of a cohor do no apply in general o a collecion of cohors, which is wha

More information