CPSC 211 Data Structures & Implementations (c) Texas A&M University [ 259] B-Trees

Size: px
Start display at page:

Download "CPSC 211 Data Structures & Implementations (c) Texas A&M University [ 259] B-Trees"

Transcription

1 CPSC 211 Daa Srucurs & Implmnaions (c) Txas A&M Univrsiy [ 259] B-Trs Th AVL r and rd-black r allowd som variaion in h lnghs of h diffrn roo-o-laf pahs. An alrnaiv ida is o mak sur ha all roo-o-laf pahs hav xacly h sam lngh and allow variaion in h numbr of childrn. Th dfiniion of a B-r uss a paramr m: æ vry laf has h sam dph æ h roo has a mos m childrn æ vry non-roo nod has from m=2 o m childrn Kys ar placd ino nods lik his: æ Each non-laf nod has on fwr kys han i has childrn. Each ky is bwn wo child poinrs. æ Each laf nod has bwn m=2,1 and m,1 kys in i (unlss i is also h roo, in which cas i has bwn 1 and m, 1 kys in i). æ Th kys wihin a nod ar lisd in incrasing ordr.

2 CPSC 211 Daa Srucurs & Implmnaions (c) Txas A&M Univrsiy [ 260] B-Trs (con d) And w rquir h xndd sarch r propry: æ For ach nod x, h i-h ky in x is largr han all h kys in x s i-h subr and is smallr han all h kys in x s èi +1è-s subr B-rs ar xnsivly usd in h ral world, for insanc, daabas applicaions. In pracic, m is vry larg (such as 512 or 1024). Thorm: Th dph of a B-r r is Oèlog nè. Insr and dl algorihms ar qui involvd.

3 CPSC 211 Daa Srucurs & Implmnaions (c) Txas A&M Univrsiy [ 261] Tris In h prvious sarch rs, ach ky is indpndn of h ohr kys in h r, xcp for hir rlaiv posiions. For som kinds of kys, on ky migh b a prfix of anohr r. For xampl, if h kys ar srings, hn h ky a is a prfix of h ky alas. Th nx kind of r aks advanag of prfix rlaionships bwn kys o sor hm mor fficinly. A ri is a (no ncssarily binary) r in which æ ach nod corrsponds o a prfix of a ky, and æ prfix for ach nod xnds prfix of is parn. Th ri soring a, al, an, bd, b, b : a b l n d

4 CPSC 211 Daa Srucurs & Implmnaions (c) Txas A&M Univrsiy [ 262] Insring ino a Tri To insr ino a ri: insr(x,s): // x is nod, s is sring o insr if lngh(s) = 0 hn mark x as holding a compl ky ls c := firs characr in s if no ougoing dg from x is labld wih c hn cra a nw child nod of x labl h dg o h nw child nod wih c pu h dg in h corrc sord ordr among all of x s ougoing dgs ndif x := child of x rachd by dg labld c s := rsul of rmoving firs characr from s insr(x,s) ndif Sar h rcursion wih h roo. To insr an and bp : a b l n d

5 CPSC 211 Daa Srucurs & Implmnaions (c) Txas A&M Univrsiy [ 263] Sarching in a Tri To sarch in a ri: sarch(x,s): // x is nod, s is sring o sarch for if lngh(s) = 0 hn if x holds a compl ky hn rurn x ls rurn null // s is no in h ri ls c := firs characr in s if no ougoing dg from x is labld wih c hn rurn null // s is no in h ri ls x := child of x rachd by dg labld c s := rsul of rmoving firs characr from s sarch(x,s) ndif ndif Sar h rcursion wih h roo. To sarch for ar and b : a b l n d

6 CPSC 211 Daa Srucurs & Implmnaions (c) Txas A&M Univrsiy [ 264] Hash Tabl Implmnaion of Dicionary ADT Anohr implmnaion of h Dicionary ADT is a hash abl. Hash abls suppor h opraions æ insr an lmn æ dl an arbirary lmn æ sarch for a paricular lmn wih consan avrag im prformanc. This is a significan advanag ovr vn balancd sarch rs, which hav avrag ims of Oèlog nè. Th disadvanag of hash abls is ha h opraions min, max, prd, succ ak Oènè im; and prining all lmns in sord ordr aks Oèn log nè im.

7 CPSC 211 Daa Srucurs & Implmnaions (c) Txas A&M Univrsiy [ 265] Main Ida of Hash Tabl Main ida: xploi random accss faur of arrays: h i-h nry of array A can b accssd in consan im, by calculaing h addrss of A[i], which is offs from h saring addrss of A. Simpl xampl: Suppos all kys ar in h rang 0 o 99. Thn sor lmns in an array A wih 100 nris. Iniializ all nris o som mpy indicaor. æ To insr x wih ky k: A[k] := x. æ To sarch for ky k: chck if A[k] is mpy. æ To dl lmn wih ky k: A[k] := mpy. All ims ar Oè1è x0 x2... x99 ky is 0 ky is 2 Bu his ida dos no scal wll. ky is 99

8 CPSC 211 Daa Srucurs & Implmnaions (c) Txas A&M Univrsiy [ 266] Hash Funcions Suppos æ lmns ar sudn rcords æ school has 40,000 sudns, æ kys ar social scuriy numbrs ( ). Sinc hr ar 1 billion possibl SSN s, w nd an array of lngh 1 billion. And mos of i will b wasd, sinc only 40,000/1,000,000,000 = 1/25,000 fracion is nonmpy. Insad, w nd a way o condns h kys ino a smallr rang. L M b h siz of h array w ar willing o provid. Us a hash funcion, h, o convr ach ky o an array indx. Thn h maps ky valus o ingrs in h rang 0oM, 1.

9 CPSC 211 Daa Srucurs & Implmnaions (c) Txas A&M Univrsiy [ 267] Simpl Hash Funcion Exampl Suppos kys ar ingrs. L h hash funcion b hèkè = k mod M. Noic ha his always givs you somhing in h rang 0 o M, 1 (an array indx). æ To insr x wih ky k: Aëhèkèë := x æ To sarch for lmn wih ky k: chck if Aëhèkèë is mpy æ To dl lmn wih ky k: saëhèkèë o mpy. All ims ar Oè1è, assuming h hash funcion can b compud in consan im x... ky is k and h(k) = 2 Th ky o making his work is o choos hash funcion h and abl siz M proprly (hy inrac).

10 CPSC 211 Daa Srucurs & Implmnaions (c) Txas A&M Univrsiy [ 268] Collisions In raliy, any hash funcion will hav collisions: whn wo diffrn kys hash o h sam valu: hèk 1 è=hèk 2 è, alhough k 1 6= k 2. This is inviabl, sinc h hash funcion is squashing down a larg domain ino a small rang. For xampl, if hèkè = k mod M, hn k 1 = 0 and k 2 = M collid sinc hy boh hash o 0 (0 modmis 0, and M mod M is also 0). Wha should you do whn you hav a collision? Two common soluions ar 1. chaining, and 2. opn addrssing

11 CPSC 211 Daa Srucurs & Implmnaions (c) Txas A&M Univrsiy [ 269] Chaining Kp all daa ims ha hash o h sam array locaion in a linkd lis: all hav kys ha hash o 1 M-1 æ o insr lmn x wih ky k: of linkd lis a Aëhèkèë pu x a bginning æ o sarch for lmn wih ky k: scan h linkd lis a Aëhèkèë for an lmn wih ky k æ o dl lmn wih ky k: do sarch, if sarch is succssful hn rmov lmn from h linkd lis Wors cas ims, assuming compuing h is consan: æ insr: Oè1è. æ sarch and dl: Oènè. Wors cas is if all n lmns hash o sam locaion.

Final Exam : Solutions

Final Exam : Solutions Comp : Algorihm and Daa Srucur Final Exam : Soluion. Rcuriv Algorihm. (a) To bgin ind h mdian o {x, x,... x n }. Sinc vry numbr xcp on in h inrval [0, n] appar xacly onc in h li, w hav ha h mdian mu b

More information

Lecture 1: Numerical Integration The Trapezoidal and Simpson s Rule

Lecture 1: Numerical Integration The Trapezoidal and Simpson s Rule Lcur : Numrical ngraion Th Trapzoidal and Simpson s Rul A problm Th probabiliy of a normally disribud (man µ and sandard dviaion σ ) vn occurring bwn h valus a and b is B A P( a x b) d () π whr a µ b -

More information

Ma/CS 6a Class 15: Flows and Bipartite Graphs

Ma/CS 6a Class 15: Flows and Bipartite Graphs //206 Ma/CS 6a Cla : Flow and Bipari Graph By Adam Shffr Rmindr: Flow Nwork A flow nwork i a digraph G = V, E, oghr wih a ourc vrx V, a ink vrx V, and a capaciy funcion c: E N. Capaciy Sourc 7 a b c d

More information

On the Derivatives of Bessel and Modified Bessel Functions with Respect to the Order and the Argument

On the Derivatives of Bessel and Modified Bessel Functions with Respect to the Order and the Argument Inrnaional Rsarch Journal of Applid Basic Scincs 03 Aailabl onlin a wwwirjabscom ISSN 5-838X / Vol 4 (): 47-433 Scinc Eplorr Publicaions On h Driais of Bssl Modifid Bssl Funcions wih Rspc o h Ordr h Argumn

More information

4.1 The Uniform Distribution Def n: A c.r.v. X has a continuous uniform distribution on [a, b] when its pdf is = 1 a x b

4.1 The Uniform Distribution Def n: A c.r.v. X has a continuous uniform distribution on [a, b] when its pdf is = 1 a x b 4. Th Uniform Disribuion Df n: A c.r.v. has a coninuous uniform disribuion on [a, b] whn is pdf is f x a x b b a Also, b + a b a µ E and V Ex4. Suppos, h lvl of unblivabiliy a any poin in a Transformrs

More information

CSE 245: Computer Aided Circuit Simulation and Verification

CSE 245: Computer Aided Circuit Simulation and Verification CSE 45: Compur Aidd Circui Simulaion and Vrificaion Fall 4, Sp 8 Lcur : Dynamic Linar Sysm Oulin Tim Domain Analysis Sa Equaions RLC Nwork Analysis by Taylor Expansion Impuls Rspons in im domain Frquncy

More information

Let s look again at the first order linear differential equation we are attempting to solve, in its standard form:

Let s look again at the first order linear differential equation we are attempting to solve, in its standard form: Th Ingraing Facor Mhod In h prvious xampls of simpl firs ordr ODEs, w found h soluions by algbraically spara h dpndn variabl- and h indpndn variabl- rms, and wri h wo sids of a givn quaion as drivaivs,

More information

Homework #2: CMPT-379 Distributed on Oct 2; due on Oct 16 Anoop Sarkar

Homework #2: CMPT-379 Distributed on Oct 2; due on Oct 16 Anoop Sarkar Homwork #2: CMPT-379 Disribud on Oc 2 du on Oc 16 Anoop Sarkar anoop@cs.su.ca Rading or his homwork includs Chp 4 o h Dragon book. I ndd, rr o: hp://ldp.org/howto/lx-yacc-howto.hml Only submi answrs or

More information

priority queue ADT heaps 1

priority queue ADT heaps 1 COMP 250 Lctur 23 priority quu ADT haps 1 Nov. 1/2, 2017 1 Priority Quu Li a quu, but now w hav a mor gnral dinition o which lmnt to rmov nxt, namly th on with highst priority..g. hospital mrgncy room

More information

UNIT #5 EXPONENTIAL AND LOGARITHMIC FUNCTIONS

UNIT #5 EXPONENTIAL AND LOGARITHMIC FUNCTIONS Answr Ky Nam: Da: UNIT # EXPONENTIAL AND LOGARITHMIC FUNCTIONS Par I Qusions. Th prssion is quivaln o () () 6 6 6. Th ponnial funcion y 6 could rwrin as y () y y 6 () y y (). Th prssion a is quivaln o

More information

The transition:transversion rate ratio vs. the T-ratio.

The transition:transversion rate ratio vs. the T-ratio. PhyloMah Lcur 8 by Dan Vandrpool March, 00 opics of Discussion ransiion:ransvrsion ra raio Kappa vs. ransiion:ransvrsion raio raio alculaing h xpcd numbr of subsiuions using marix algbra Why h nral im

More information

Microscopic Flow Characteristics Time Headway - Distribution

Microscopic Flow Characteristics Time Headway - Distribution CE57: Traffic Flow Thory Spring 20 Wk 2 Modling Hadway Disribuion Microscopic Flow Characrisics Tim Hadway - Disribuion Tim Hadway Dfiniion Tim Hadway vrsus Gap Ahmd Abdl-Rahim Civil Enginring Dparmn,

More information

DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING SIGNALS AND SYSTEMS. Assoc. Prof. Dr. Burak Kelleci. Spring 2018

DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING SIGNALS AND SYSTEMS. Assoc. Prof. Dr. Burak Kelleci. Spring 2018 DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING SIGNALS AND SYSTEMS Aoc. Prof. Dr. Burak Kllci Spring 08 OUTLINE Th Laplac Tranform Rgion of convrgnc for Laplac ranform Invr Laplac ranform Gomric valuaion

More information

Lecture 4: Laplace Transforms

Lecture 4: Laplace Transforms Lur 4: Lapla Transforms Lapla and rlad ransformaions an b usd o solv diffrnial quaion and o rdu priodi nois in signals and imags. Basially, hy onvr h drivaiv opraions ino mulipliaion, diffrnial quaions

More information

Integrity Control in Nested Certificates

Integrity Control in Nested Certificates Ingriy onrol in Nsd s $OEHUW/HYLDQG08IXNdD OD\DQ %R D]LoL8QLYHUVLW\'HSDUWPHQWRI&RPSXWHU(QJLQHHULQJ Bbk, Isanbul 80815, Turky lvi@boun.du.r caglayan@boun.du.r Absrac Nsd crificas [3,4] ar proposd as crificas

More information

Voltage v(z) ~ E(z)D. We can actually get to this wave behavior by using circuit theory, w/o going into details of the EM fields!

Voltage v(z) ~ E(z)D. We can actually get to this wave behavior by using circuit theory, w/o going into details of the EM fields! Considr a pair of wirs idal wirs ngh >, say, infinily long olag along a cabl can vary! D olag v( E(D W can acually g o his wav bhavior by using circui hory, w/o going ino dails of h EM filds! Thr

More information

Continous system: differential equations

Continous system: differential equations /6/008 Coious sysm: diffrial quaios Drmiisic modls drivaivs isad of (+)-( r( compar ( + ) R( + r ( (0) ( R ( 0 ) ( Dcid wha hav a ffc o h sysm Drmi whhr h paramrs ar posiiv or gaiv, i.. giv growh or rducio

More information

Searching Linked Lists. Perfect Skip List. Building a Skip List. Skip List Analysis (1) Assume the list is sorted, but is stored in a linked list.

Searching Linked Lists. Perfect Skip List. Building a Skip List. Skip List Analysis (1) Assume the list is sorted, but is stored in a linked list. 3 3 4 8 6 3 3 4 8 6 3 3 4 8 6 () (d) 3 Sarching Linkd Lists Sarching Linkd Lists Sarching Linkd Lists ssum th list is sortd, but is stord in a linkd list. an w us binary sarch? omparisons? Work? What if

More information

MEM 355 Performance Enhancement of Dynamical Systems A First Control Problem - Cruise Control

MEM 355 Performance Enhancement of Dynamical Systems A First Control Problem - Cruise Control MEM 355 Prformanc Enhancmn of Dynamical Sysms A Firs Conrol Problm - Cruis Conrol Harry G. Kwany Darmn of Mchanical Enginring & Mchanics Drxl Univrsiy Cruis Conrol ( ) mv = F mg sinθ cv v +.2v= u 9.8θ

More information

The Variance-Covariance Matrix

The Variance-Covariance Matrix Th Varanc-Covaranc Marx Our bggs a so-ar has bn ng a lnar uncon o a s o daa by mnmzng h las squars drncs rom h o h daa wh mnsarch. Whn analyzng non-lnar daa you hav o us a program l Malab as many yps o

More information

cycle that does not cross any edges (including its own), then it has at least

cycle that does not cross any edges (including its own), then it has at least W prov th following thorm: Thorm If a K n is drawn in th plan in such a way that it has a hamiltonian cycl that dos not cross any dgs (including its own, thn it has at last n ( 4 48 π + O(n crossings Th

More information

Poisson process Markov process

Poisson process Markov process E2200 Quuing hory and lraffic 2nd lcur oion proc Markov proc Vikoria Fodor KTH Laboraory for Communicaion nwork, School of Elcrical Enginring 1 Cour oulin Sochaic proc bhind quuing hory L2-L3 oion proc

More information

Applied Statistics and Probability for Engineers, 6 th edition October 17, 2016

Applied Statistics and Probability for Engineers, 6 th edition October 17, 2016 Applid Saisics and robabiliy for Enginrs, 6 h diion Ocobr 7, 6 CHATER Scion - -. a d. 679.. b. d. 88 c d d d. 987 d. 98 f d.. Thn, = ln. =. g d.. Thn, = ln.9 =.. -7. a., by symmry. b.. d...6. 7.. c...

More information

Spring 2006 Process Dynamics, Operations, and Control Lesson 2: Mathematics Review

Spring 2006 Process Dynamics, Operations, and Control Lesson 2: Mathematics Review Spring 6 Procss Dynamics, Opraions, and Conrol.45 Lsson : Mahmaics Rviw. conx and dircion Imagin a sysm ha varis in im; w migh plo is oupu vs. im. A plo migh imply an quaion, and h quaion is usually an

More information

SOLUTIONS. 1. Consider two continuous random variables X and Y with joint p.d.f. f ( x, y ) = = = 15. Stepanov Dalpiaz

SOLUTIONS. 1. Consider two continuous random variables X and Y with joint p.d.f. f ( x, y ) = = = 15. Stepanov Dalpiaz STAT UIUC Pracic Problms #7 SOLUTIONS Spanov Dalpiaz Th following ar a numbr of pracic problms ha ma b hlpful for compling h homwor, and will lil b vr usful for suding for ams.. Considr wo coninuous random

More information

Elementary Differential Equations and Boundary Value Problems

Elementary Differential Equations and Boundary Value Problems Elmnar Diffrnial Equaions and Boundar Valu Problms Boc. & DiPrima 9 h Ediion Chapr : Firs Ordr Diffrnial Equaions 00600 คณ ตศาสตร ว ศวกรรม สาขาว ชาว ศวกรรมคอมพ วเตอร ป การศ กษา /55 ผศ.ดร.อร ญญา ผศ.ดร.สมศ

More information

10. If p and q are the lengths of the perpendiculars from the origin on the tangent and the normal to the curve

10. If p and q are the lengths of the perpendiculars from the origin on the tangent and the normal to the curve 0. If p and q ar h lnghs of h prpndiculars from h origin on h angn and h normal o h curv + Mahmaics y = a, hn 4p + q = a a (C) a (D) 5a 6. Wha is h diffrnial quaion of h family of circls having hir cnrs

More information

Discussion 06 Solutions

Discussion 06 Solutions STAT Discussion Soluions Spring 8. Th wigh of fish in La Paradis follows a normal disribuion wih man of 8. lbs and sandard dviaion of. lbs. a) Wha proporion of fish ar bwn 9 lbs and lbs? æ 9-8. - 8. P

More information

4. Which of the following organs develops first?

4. Which of the following organs develops first? Biology 4. Which of h following organs dvlops firs? (A) Livr (C) Kidny (B) Har (D) Noochord 12. During mbryonic priod, animals rpa mbryonic sags of hir ancsors. This law is calld (A) Flokin s law (B) Biognic

More information

Boyce/DiPrima 9 th ed, Ch 2.1: Linear Equations; Method of Integrating Factors

Boyce/DiPrima 9 th ed, Ch 2.1: Linear Equations; Method of Integrating Factors Boc/DiPrima 9 h d, Ch.: Linar Equaions; Mhod of Ingraing Facors Elmnar Diffrnial Equaions and Boundar Valu Problms, 9 h diion, b William E. Boc and Richard C. DiPrima, 009 b John Wil & Sons, Inc. A linar

More information

GUIDE FOR SUPERVISORS 1. This event runs most efficiently with two to four extra volunteers to help proctor students and grade the student

GUIDE FOR SUPERVISORS 1. This event runs most efficiently with two to four extra volunteers to help proctor students and grade the student GUIDE FOR SUPERVISORS 1. This vn uns mos fficinly wih wo o fou xa voluns o hlp poco sudns and gad h sudn scoshs. 2. EVENT PARAMETERS: Th vn supviso will povid scoshs. You will nd o bing a im, pns and pncils

More information

Transfer function and the Laplace transformation

Transfer function and the Laplace transformation Lab No PH-35 Porland Sa Univriy A. La Roa Tranfr funcion and h Laplac ranformaion. INTRODUTION. THE LAPLAE TRANSFORMATION L 3. TRANSFER FUNTIONS 4. ELETRIAL SYSTEMS Analyi of h hr baic paiv lmn R, and

More information

5. An object moving along an x-coordinate axis with its scale measured in meters has a velocity of 6t

5. An object moving along an x-coordinate axis with its scale measured in meters has a velocity of 6t AP CALCULUS FINAL UNIT WORKSHEETS ACCELERATION, VELOCTIY AND POSITION In problms -, drmin h posiion funcion, (), from h givn informaion.. v (), () = 5. v ()5, () = b g. a (), v() =, () = -. a (), v() =

More information

1. Inverse Matrix 4[(3 7) (02)] 1[(0 7) (3 2)] Recall that the inverse of A is equal to:

1. Inverse Matrix 4[(3 7) (02)] 1[(0 7) (3 2)] Recall that the inverse of A is equal to: Rfrncs Brnank, B. and I. Mihov (1998). Masuring monary policy, Quarrly Journal of Economics CXIII, 315-34. Blanchard, O. R. Proi (00). An mpirical characrizaion of h dynamic ffcs of changs in govrnmn spnding

More information

Chapter 12 Introduction To The Laplace Transform

Chapter 12 Introduction To The Laplace Transform Chapr Inroducion To Th aplac Tranorm Diniion o h aplac Tranorm - Th Sp & Impul uncion aplac Tranorm o pciic uncion 5 Opraional Tranorm Applying h aplac Tranorm 7 Invr Tranorm o Raional uncion 8 Pol and

More information

Midterm exam 2, April 7, 2009 (solutions)

Midterm exam 2, April 7, 2009 (solutions) Univrsiy of Pnnsylvania Dparmn of Mahmaics Mah 26 Honors Calculus II Spring Smsr 29 Prof Grassi, TA Ashr Aul Midrm xam 2, April 7, 29 (soluions) 1 Wri a basis for h spac of pairs (u, v) of smooh funcions

More information

Midterm Examination (100 pts)

Midterm Examination (100 pts) Econ 509 Spring 2012 S.L. Parn Midrm Examinaion (100 ps) Par I. 30 poins 1. Dfin h Law of Diminishing Rurns (5 ps.) Incrasing on inpu, call i inpu x, holding all ohr inpus fixd, on vnuall runs ino h siuaion

More information

EE 434 Lecture 22. Bipolar Device Models

EE 434 Lecture 22. Bipolar Device Models EE 434 Lcur 22 Bipolar Dvic Modls Quiz 14 Th collcor currn of a BJT was masurd o b 20mA and h bas currn masurd o b 0.1mA. Wha is h fficincy of injcion of lcrons coming from h mir o h collcor? 1 And h numbr

More information

An Indian Journal FULL PAPER. Trade Science Inc. A stage-structured model of a single-species with density-dependent and birth pulses ABSTRACT

An Indian Journal FULL PAPER. Trade Science Inc. A stage-structured model of a single-species with density-dependent and birth pulses ABSTRACT [Typ x] [Typ x] [Typ x] ISSN : 974-7435 Volum 1 Issu 24 BioTchnology 214 An Indian Journal FULL PAPE BTAIJ, 1(24), 214 [15197-1521] A sag-srucurd modl of a singl-spcis wih dnsiy-dpndn and birh pulss LI

More information

Institute of Actuaries of India

Institute of Actuaries of India Insiu of Acuaris of India ubjc CT3 Probabiliy and Mahmaical aisics Novmbr Examinaions INDICATIVE OLUTION Pag of IAI CT3 Novmbr ol. a sampl man = 35 sampl sandard dviaion = 36.6 b for = uppr bound = 35+*36.6

More information

Mundell-Fleming I: Setup

Mundell-Fleming I: Setup Mundll-Flming I: Sup In ISLM, w had: E ( ) T I( i π G T C Y ) To his, w now add n xpors, which is a funcion of h xchang ra: ε E P* P ( T ) I( i π ) G T NX ( ) C Y Whr NX is assumd (Marshall Lrnr condiion)

More information

LaPlace Transform in Circuit Analysis

LaPlace Transform in Circuit Analysis LaPlac Tranform in Circui Analyi Obciv: Calcula h Laplac ranform of common funcion uing h dfiniion and h Laplac ranform abl Laplac-ranform a circui, including componn wih non-zro iniial condiion. Analyz

More information

Routing in Delay Tolerant Networks

Routing in Delay Tolerant Networks Rouing in Dlay Tolran Nworks Primary Rfrnc: S. Jain K. Fall and R. Para Rouing in a Dlay Tolran Nwork SIGCOMM 04 Aug. 30-Sp. 3 2004 Porland Orgon USA Sudn lcur by: Soshan Bali (748214) mail : sbali@ic.ku.du

More information

= x. I (x,y ) Example: Translation. Operations depend on pixel s Coordinates. Context free. Independent of pixel values. I(x,y) Forward mapping:

= x. I (x,y ) Example: Translation. Operations depend on pixel s Coordinates. Context free. Independent of pixel values. I(x,y) Forward mapping: Gomric Transormaion Oraions dnd on il s Coordinas. Con r. Indndn o il valus. (, ) ' (, ) ' I (, ) I ' ( (, ), ( ) ), (,) (, ) I(,) I (, ) Eaml: Translaion (, ) (, ) (, ) I(, ) I ' Forward Maing Forward

More information

Economics 302 (Sec. 001) Intermediate Macroeconomic Theory and Policy (Spring 2011) 3/28/2012. UW Madison

Economics 302 (Sec. 001) Intermediate Macroeconomic Theory and Policy (Spring 2011) 3/28/2012. UW Madison Economics 302 (Sc. 001) Inrmdia Macroconomic Thory and Policy (Spring 2011) 3/28/2012 Insrucor: Prof. Mnzi Chinn Insrucor: Prof. Mnzi Chinn UW Madison 16 1 Consumpion Th Vry Forsighd dconsumr A vry forsighd

More information

CHAPTER CHAPTER14. Expectations: The Basic Tools. Prepared by: Fernando Quijano and Yvonn Quijano

CHAPTER CHAPTER14. Expectations: The Basic Tools. Prepared by: Fernando Quijano and Yvonn Quijano Expcaions: Th Basic Prpard by: Frnando Quijano and Yvonn Quijano CHAPTER CHAPTER14 2006 Prnic Hall Businss Publishing Macroconomics, 4/ Olivir Blanchard 14-1 Today s Lcur Chapr 14:Expcaions: Th Basic Th

More information

Wave Equation (2 Week)

Wave Equation (2 Week) Rfrnc Wav quaion ( Wk 6.5 Tim-armonic filds 7. Ovrviw 7. Plan Wavs in Losslss Mdia 7.3 Plan Wavs in Loss Mdia 7.5 Flow of lcromagnic Powr and h Poning Vcor 7.6 Normal Incidnc of Plan Wavs a Plan Boundaris

More information

Boyce/DiPrima 9 th ed, Ch 7.8: Repeated Eigenvalues

Boyce/DiPrima 9 th ed, Ch 7.8: Repeated Eigenvalues Boy/DiPrima 9 h d Ch 7.8: Rpad Eignvalus Elmnary Diffrnial Equaions and Boundary Valu Problms 9 h diion by William E. Boy and Rihard C. DiPrima 9 by John Wily & Sons In. W onsidr again a homognous sysm

More information

14.02 Principles of Macroeconomics Problem Set 5 Fall 2005

14.02 Principles of Macroeconomics Problem Set 5 Fall 2005 40 Principls of Macroconomics Problm S 5 Fall 005 Posd: Wdnsday, Novmbr 6, 005 Du: Wdnsday, Novmbr 3, 005 Plas wri your nam AND your TA s nam on your problm s Thanks! Exrcis I Tru/Fals? Explain Dpnding

More information

EXERCISE - 01 CHECK YOUR GRASP

EXERCISE - 01 CHECK YOUR GRASP DIFFERENTIAL EQUATION EXERCISE - CHECK YOUR GRASP 7. m hn D() m m, D () m m. hn givn D () m m D D D + m m m m m m + m m m m + ( m ) (m ) (m ) (m + ) m,, Hnc numbr of valus of mn will b. n ( ) + c sinc

More information

symmetric/hermitian matrices, and similarity transformations

symmetric/hermitian matrices, and similarity transformations Linar lgbra for Wirlss Communicaions Lcur: 6 Diffrnial quaions, Grschgorin's s circl horm, symmric/hrmiian marics, and similariy ransformaions Ov Edfors Dparmn of Elcrical and Informaion Tchnology Lund

More information

Chemistry 988 Part 1

Chemistry 988 Part 1 Chmisry 988 Par 1 Radiaion Dcion & Masurmn Dp. of Chmisry --- Michigan Sa Univ. aional Suprconducing Cycloron Lab DJMorrissy Spring/2oo9 Cours informaion can b found on h wbsi: hp://www.chmisry.msu.du/courss/cm988uclar/indx.hml

More information

7.4 QUANTUM MECHANICAL TREATMENT OF FLUCTUATIONS *

7.4 QUANTUM MECHANICAL TREATMENT OF FLUCTUATIONS * Andri Tokmakoff, MIT Dparmn of Chmisry, 5/19/5 7-11 7.4 QUANTUM MECANICAL TREATMENT OF FLUCTUATIONS * Inroducion and Prviw Now h origin of frquncy flucuaions is inracions of our molcul (or mor approprialy

More information

C From Faraday's Law, the induced voltage is, C The effect of electromagnetic induction in the coil itself is called selfinduction.

C From Faraday's Law, the induced voltage is, C The effect of electromagnetic induction in the coil itself is called selfinduction. Inducors and Inducanc C For inducors, v() is proporional o h ra of chang of i(). Inducanc (con d) C Th proporionaliy consan is h inducanc, L, wih unis of Hnris. 1 Hnry = 1 Wb / A or 1 V sc / A. C L dpnds

More information

General Article Application of differential equation in L-R and C-R circuit analysis by classical method. Abstract

General Article Application of differential equation in L-R and C-R circuit analysis by classical method. Abstract Applicaion of Diffrnial... Gnral Aricl Applicaion of diffrnial uaion in - and C- circui analysis by classical mhod. ajndra Prasad gmi curr, Dparmn of Mahmaics, P.N. Campus, Pokhara Email: rajndraprasadrgmi@yahoo.com

More information

Circuits and Systems I

Circuits and Systems I Circuis and Sysms I LECTURE #3 Th Spcrum, Priodic Signals, and h Tim-Varying Spcrum lions@pfl Prof. Dr. Volan Cvhr LIONS/Laboraory for Informaion and Infrnc Sysms Licns Info for SPFirs Slids This wor rlasd

More information

Study on the Lightweight checkpoint based rollback recovery mechanism

Study on the Lightweight checkpoint based rollback recovery mechanism 9 Inrnaional Confrnc on Compur Enginring and Applicaions II vol. IAI rss, Singapor Sudy on h ighwigh chcpoin basd rollbac rcovry mchanism Zhang i,3, ang Rui Dai Hao 3, Ma Mingai 3 and i Xianghong 4 Insiu

More information

AR(1) Process. The first-order autoregressive process, AR(1) is. where e t is WN(0, σ 2 )

AR(1) Process. The first-order autoregressive process, AR(1) is. where e t is WN(0, σ 2 ) AR() Procss Th firs-ordr auorgrssiv procss, AR() is whr is WN(0, σ ) Condiional Man and Varianc of AR() Condiional man: Condiional varianc: ) ( ) ( Ω Ω E E ) var( ) ) ( var( ) var( σ Ω Ω Ω Ω E Auocovarianc

More information

Chapter 3: Fourier Representation of Signals and LTI Systems. Chih-Wei Liu

Chapter 3: Fourier Representation of Signals and LTI Systems. Chih-Wei Liu Chapr 3: Fourir Rprsnaion of Signals and LTI Sysms Chih-Wi Liu Oulin Inroducion Complx Sinusoids and Frquncy Rspons Fourir Rprsnaions for Four Classs of Signals Discr-im Priodic Signals Fourir Sris Coninuous-im

More information

The Procedure Abstraction Part II: Symbol Tables and Activation Records

The Procedure Abstraction Part II: Symbol Tables and Activation Records Th Produr Absrion Pr II: Symbol Tbls nd Aivion Rords Th Produr s Nm Sp Why inrodu lxil soping? Provids ompil-im mhnism for binding vribls Ls h progrmmr inrodu lol nms How n h ompilr kp rk of ll hos nms?

More information

14.02 Principles of Macroeconomics Fall 2005 Quiz 3 Solutions

14.02 Principles of Macroeconomics Fall 2005 Quiz 3 Solutions 4.0 rincipl of Macroconomic Fall 005 Quiz 3 Soluion Shor Quion (30/00 poin la a whhr h following amn ar TRUE or FALSE wih a hor xplanaion (3 or 4 lin. Each quion coun 5/00 poin.. An incra in ax oday alway

More information

2.1. Differential Equations and Solutions #3, 4, 17, 20, 24, 35

2.1. Differential Equations and Solutions #3, 4, 17, 20, 24, 35 MATH 5 PS # Summr 00.. Diffrnial Equaions and Soluions PS.# Show ha ()C #, 4, 7, 0, 4, 5 ( / ) is a gnral soluion of h diffrnial quaion. Us a compur or calculaor o skch h soluions for h givn valus of h

More information

Jonathan Turner Exam 2-10/28/03

Jonathan Turner Exam 2-10/28/03 CS Algorihm n Progrm Prolm Exm Soluion S Soluion Jonhn Turnr Exm //. ( poin) In h Fioni hp ruur, u wn vrx u n i prn v u ing u v i v h lry lo hil in i l m hil o om ohr vrx. Suppo w hng hi, o h ing u i prorm

More information

Phys463.nb Conductivity. Another equivalent definition of the Fermi velocity is

Phys463.nb Conductivity. Another equivalent definition of the Fermi velocity is 39 Anohr quival dfiniion of h Fri vlociy is pf vf (6.4) If h rgy is a quadraic funcion of k H k L, hs wo dfiniions ar idical. If is NOT a quadraic funcion of k (which could happ as will b discussd in h

More information

Advanced Queueing Theory. M/G/1 Queueing Systems

Advanced Queueing Theory. M/G/1 Queueing Systems Advand Quung Thory Ths slds ar rad by Dr. Yh Huang of Gorg Mason Unvrsy. Sudns rgsrd n Dr. Huang's ourss a GMU an ma a sngl mahn-radabl opy and prn a sngl opy of ah sld for hr own rfrn, so long as ah sld

More information

Spring Ammar Abu-Hudrouss Islamic University Gaza

Spring Ammar Abu-Hudrouss Islamic University Gaza Chaper 7 Reed-Solomon Code Spring 9 Ammar Abu-Hudrouss Islamic Universiy Gaza ١ Inroducion A Reed Solomon code is a special case of a BCH code in which he lengh of he code is one less han he size of he

More information

4.3 Design of Sections for Flexure (Part II)

4.3 Design of Sections for Flexure (Part II) Prsrssd Concr Srucurs Dr. Amlan K Sngupa and Prof. Dvdas Mnon 4. Dsign of Scions for Flxur (Par II) This scion covrs h following opics Final Dsign for Typ Mmrs Th sps for Typ 1 mmrs ar xplaind in Scion

More information

1 Finite Automata and Regular Expressions

1 Finite Automata and Regular Expressions 1 Fini Auom nd Rgulr Exprion Moivion: Givn prn (rgulr xprion) for ring rching, w migh wn o convr i ino drminiic fini uomon or nondrminiic fini uomon o mk ring rching mor fficin; drminiic uomon only h o

More information

Consider a system of 2 simultaneous first order linear equations

Consider a system of 2 simultaneous first order linear equations Soluon of sysms of frs ordr lnar quaons onsdr a sysm of smulanous frs ordr lnar quaons a b c d I has h alrna mar-vcor rprsnaon a b c d Or, n shorhand A, f A s alrady known from con W know ha h abov sysm

More information

Chapter 5 The Laplace Transform. x(t) input y(t) output Dynamic System

Chapter 5 The Laplace Transform. x(t) input y(t) output Dynamic System EE 422G No: Chapr 5 Inrucor: Chung Chapr 5 Th Laplac Tranform 5- Inroducion () Sym analyi inpu oupu Dynamic Sym Linar Dynamic ym: A procor which proc h inpu ignal o produc h oupu dy ( n) ( n dy ( n) +

More information

Longest Common Prefixes

Longest Common Prefixes Longes Common Prefixes The sandard ordering for srings is he lexicographical order. I is induced by an order over he alphabe. We will use he same symbols (,

More information

Decline Curves. Exponential decline (constant fractional decline) Harmonic decline, and Hyperbolic decline.

Decline Curves. Exponential decline (constant fractional decline) Harmonic decline, and Hyperbolic decline. Dlin Curvs Dlin Curvs ha lo flow ra vs. im ar h mos ommon ools for forasing roduion and monioring wll rforman in h fild. Ths urvs uikly show by grahi mans whih wlls or filds ar roduing as xd or undr roduing.

More information

On General Solutions of First-Order Nonlinear Matrix and Scalar Ordinary Differential Equations

On General Solutions of First-Order Nonlinear Matrix and Scalar Ordinary Differential Equations saartvlos mcnirbata rovnuli akadmiis moamb 3 #2 29 BULLTN OF TH ORN NTONL DMY OF SNS vol 3 no 2 29 Mahmaics On nral Soluions of Firs-Ordr Nonlinar Mari and Scalar Ordinary Diffrnial uaions uram L Kharaishvili

More information

H is equal to the surface current J S

H is equal to the surface current J S Chapr 6 Rflcion and Transmission of Wavs 6.1 Boundary Condiions A h boundary of wo diffrn mdium, lcromagnic fild hav o saisfy physical condiion, which is drmind by Maxwll s quaion. This is h boundary condiion

More information

Lecture 2: Current in RC circuit D.K.Pandey

Lecture 2: Current in RC circuit D.K.Pandey Lcur 2: urrn in circui harging of apacior hrough Rsisr L us considr a capacior of capacianc is conncd o a D sourc of.m.f. E hrough a rsisr of rsisanc R and a ky K in sris. Whn h ky K is swichd on, h charging

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

Review Lecture 5. The source-free R-C/R-L circuit Step response of an RC/RL circuit. The time constant = RC The final capacitor voltage v( )

Review Lecture 5. The source-free R-C/R-L circuit Step response of an RC/RL circuit. The time constant = RC The final capacitor voltage v( ) Rviw Lcur 5 Firs-ordr circui Th sourc-fr R-C/R-L circui Sp rspons of an RC/RL circui v( ) v( ) [ v( 0) v( )] 0 Th i consan = RC Th final capacior volag v() Th iniial capacior volag v( 0 ) Volag/currn-division

More information

Math 3301 Homework Set 6 Solutions 10 Points. = +. The guess for the particular P ( ) ( ) ( ) ( ) ( ) ( ) ( ) cos 2 t : 4D= 2

Math 3301 Homework Set 6 Solutions 10 Points. = +. The guess for the particular P ( ) ( ) ( ) ( ) ( ) ( ) ( ) cos 2 t : 4D= 2 Mah 0 Homwork S 6 Soluions 0 oins. ( ps) I ll lav i o you o vrify ha y os sin = +. Th guss for h pariular soluion and is drivaivs is blow. Noi ha w ndd o add s ono h las wo rms sin hos ar xaly h omplimnary

More information

3(8 ) (8 x x ) 3x x (8 )

3(8 ) (8 x x ) 3x x (8 ) Scion - CHATER -. a d.. b. d.86 c d 8 d d.9997 f g 6. d. d. Thn, = ln. =. =.. d Thn, = ln.9 =.7 8 -. a d.6 6 6 6 6 8 8 8 b 9 d 6 6 6 8 c d.8 6 6 6 6 8 8 7 7 d 6 d.6 6 6 6 6 6 6 8 u u u u du.9 6 6 6 6 6

More information

Mixing time with Coupling

Mixing time with Coupling Mixig im wih Couplig Jihui Li Mig Zhg Saisics Dparm May 7 Goal Iroducio o boudig h mixig im for MCMC wih couplig ad pah couplig Prsig a simpl xampl o illusra h basic ida Noaio M is a Markov chai o fii

More information

First Lecture of Machine Learning. Hung-yi Lee

First Lecture of Machine Learning. Hung-yi Lee Firs Lcur of Machin Larning Hung-yi L Larning o say ys/no Binary Classificaion Larning o say ys/no Sam filring Is an -mail sam or no? Rcommndaion sysms rcommnd h roduc o h cusomr or no? Malwar dcion Is

More information

Random Access Techniques: ALOHA (cont.)

Random Access Techniques: ALOHA (cont.) Random Accss Tchniqus: ALOHA (cont.) 1 Exampl [ Aloha avoiding collision ] A pur ALOHA ntwork transmits a 200-bit fram on a shard channl Of 200 kbps at tim. What is th rquirmnt to mak this fram collision

More information

u x v x dx u x v x v x u x dx d u x v x u x v x dx u x v x dx Integration by Parts Formula

u x v x dx u x v x v x u x dx d u x v x u x v x dx u x v x dx Integration by Parts Formula 7. Intgration by Parts Each drivativ formula givs ris to a corrsponding intgral formula, as w v sn many tims. Th drivativ product rul yilds a vry usful intgration tchniqu calld intgration by parts. Starting

More information

1 Recursive Descent (LL(1) grammars)

1 Recursive Descent (LL(1) grammars) UNIVERSITY OF CALIFORNIA Dparmn of Elcrical Enginring and Compur Scincs Compur Scinc Division CS 164 Fall 2001 R. J. Faman CS 164: Programming Languags and Compilrs: Parsing Prviously, I 1 discussd wha

More information

FIRST-ORDER SYSTEMS OF ORDINARY DIFFERENTIAL EQUATIONS I: Introduction and Linear Systems

FIRST-ORDER SYSTEMS OF ORDINARY DIFFERENTIAL EQUATIONS I: Introduction and Linear Systems FIRST-ORDER SYSTEMS OF ORDINARY DIFFERENTIAL EQUATIONS I: Inroducion and Linar Sysms David Lvrmor Dparmn of Mahmaics Univrsiy of Maryland 9 Dcmbr 0 Bcaus h prsnaion of his marial in lcur will diffr from

More information

Chapter 2 The Derivative Business Calculus 99

Chapter 2 The Derivative Business Calculus 99 Chapr Th Drivaiv Businss Calculus 99 Scion 5: Drivaivs of Formulas In his scion, w ll g h rivaiv ruls ha will l us fin formulas for rivaivs whn our funcion coms o us as a formula. This is a vry algbraic

More information

B) 25y e. 5. Find the second partial f. 6. Find the second partials (including the mixed partials) of

B) 25y e. 5. Find the second partial f. 6. Find the second partials (including the mixed partials) of Sampl Final 00 1. Suppos z = (, y), ( a, b ) = 0, y ( a, b ) = 0, ( a, b ) = 1, ( a, b ) = 1, and y ( a, b ) =. Thn (a, b) is h s is inconclusiv a saddl poin a rlaiv minimum a rlaiv maimum. * (Classiy

More information

On the Speed of Heat Wave. Mihály Makai

On the Speed of Heat Wave. Mihály Makai On h Spd of Ha Wa Mihály Maai maai@ra.bm.hu Conns Formulaion of h problm: infini spd? Local hrmal qulibrium (LTE hypohsis Balanc quaion Phnomnological balanc Spd of ha wa Applicaion in plasma ranspor 1.

More information

ANSWERS TO EVEN NUMBERED EXERCISES IN CHAPTER 11

ANSWERS TO EVEN NUMBERED EXERCISES IN CHAPTER 11 8 Jun ANSWERS TO EVEN NUMBERED EXERCISES IN CHAPTER SECTION : INCENTIVE COMPATABILITY Exrcis - Educaional Signaling A yp consulan has a marginal produc of m( ) = whr Θ = {,, 3} Typs ar uniformly disribud

More information

Propositional Logic. Combinatorial Problem Solving (CPS) Albert Oliveras Enric Rodríguez-Carbonell. May 17, 2018

Propositional Logic. Combinatorial Problem Solving (CPS) Albert Oliveras Enric Rodríguez-Carbonell. May 17, 2018 Propositional Logic Combinatorial Problm Solving (CPS) Albrt Olivras Enric Rodríguz-Carbonll May 17, 2018 Ovrviw of th sssion Dfinition of Propositional Logic Gnral Concpts in Logic Rduction to SAT CNFs

More information

Combinatorial Networks Week 1, March 11-12

Combinatorial Networks Week 1, March 11-12 1 Nots on March 11 Combinatorial Ntwors W 1, March 11-1 11 Th Pigonhol Principl Th Pigonhol Principl If n objcts ar placd in hols, whr n >, thr xists a box with mor than on objcts 11 Thorm Givn a simpl

More information

Section 4.4 Logarithmic Properties

Section 4.4 Logarithmic Properties Secion. Logarihmic Properies 59 Secion. Logarihmic Properies In he previous secion, we derived wo imporan properies of arihms, which allowed us o solve some asic eponenial and arihmic equaions. Properies

More information

Jonathan Turner Exam 2-12/4/03

Jonathan Turner Exam 2-12/4/03 CS 41 Algorim an Program Prolm Exam Soluion S Soluion Jonaan Turnr Exam -1/4/0 10/8/0 1. (10 poin) T igur low ow an implmnaion o ynami r aa ruur wi vral virual r. Sow orrponing o aual r (owing vrx o).

More information

Charging of capacitor through inductor and resistor

Charging of capacitor through inductor and resistor cur 4&: R circui harging of capacior hrough inducor and rsisor us considr a capacior of capacianc is conncd o a D sourc of.m.f. E hrough a rsisr of rsisanc R, an inducor of inducanc and a y K in sris.

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 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

Part B: Transform Methods. Professor E. Ambikairajah UNSW, Australia

Part B: Transform Methods. Professor E. Ambikairajah UNSW, Australia Par B: rasform Mhods Profssor E. Ambikairaah UNSW, Ausralia Chapr : Fourir Rprsaio of Sigal. Fourir Sris. Fourir rasform.3 Ivrs Fourir rasform.4 Propris.4. Frqucy Shif.4. im Shif.4.3 Scalig.4.4 Diffriaio

More information

That is, we start with a general matrix: And end with a simpler matrix:

That is, we start with a general matrix: And end with a simpler matrix: DIAGON ALIZATION OF THE STR ESS TEN SOR INTRO DUCTIO N By th us of Cauchy s thorm w ar abl to rduc th numbr of strss componnts in th strss tnsor to only nin valus. An additional simplification of th strss

More information

whereby we can express the phase by any one of the formulas cos ( 3 whereby we can express the phase by any one of the formulas

whereby we can express the phase by any one of the formulas cos ( 3 whereby we can express the phase by any one of the formulas Third In-Class Exam Soluions Mah 6, Profssor David Lvrmor Tusday, 5 April 07 [0] Th vrical displacmn of an unforcd mass on a spring is givn by h 5 3 cos 3 sin a [] Is his sysm undampd, undr dampd, criically

More information