Jonathan Turner Exam 2-12/4/03

Size: px
Start display at page:

Download "Jonathan Turner Exam 2-12/4/03"

Transcription

1 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). 0, 0,1 0,100 a 0,98 0,1 j 0,99 g 0, 0, 0, 0, 0, 100 a g 4 j Auming r ar u o implmn amiil pa algorim, wa i riual apaiy o g rom j o? I nx p in amiil pa algorim a an g rom a o j an i i g a a riual apaiy o, wa i riual apaiy o nx augmning pa? 1-1 -

2 . (10 poin) T igur low ow an inrmia a in xuion o ig lal prlow-pu algorim. Sow a o algorim ar a o nx wo p in wi a vrx om alan. You n no r-raw nir riual grap, u o ow all g, vri an aoia valu a ar moii y a p.,0 1, ian lal, x riual apaiy 1 0 1,0 1 8,0,,0 1 1,1 1 8,0 0,0,0 1 1, 1 8,

3 . (0 poin) Suppo w moiy l-ajuing inary ar r o a i prorm play p a mak largr ajumn o r. In pariular, uppo w allow play p own low. y u x E A v v D B x u C C y A B D E Sow a i rank(u)=k=rank(y), w n wr ri o mainain ri invarian ar p an w n or p. Rall a ri invarian ay a a vrx z mu av rank(z)= log (#o nan o z) ri a all im. Sin rank(u)=k, r ar k vri in original ur wi roo u. I rank(y)=k alo, rmainr o r a wr an k vri (in orwi y woul av mor an k +1 nan an n woul av rank grar an k). So ar opraion, vri x an y mu av rank mallr an k. So, w n wo wr ri o mainain ri invarian. Sow a i rank(u)<rank(y), w n wr an 4(rank (u) rank(u)) aiional ri o mainain ri invarian, wr rank (u) i rank o u, ar p i prorm. T numr o aiional ri n o mainain invarian i ( rank ( u) u)) + ( rank ( v) v)) + ( rank ( x) x)) + ( rank ( y) u)) = ( rank ( v) + rank ( x) + rank ( y)) ( rank( u) + rank( v) + rank( x)) ( rank ( u) u)) wr la p i juii y a a u a mall rank or p an larg rank ar p. Sin rank(u)<rank(y) an rank (u)=rank(y), i i <4(rank (u) rank(u)) ri. - -

4 4. (0 poin) Conir a inary ar r in wi a vrx a an aoia ky an a o. T vri ar orr y ky in uual way (o ky o vri in l ur o a givn vrx x ar rily l an ky o x, an o or). T o ar rprn uing irnial rprnaion w u or rprning pa. Compl ruriv union ar, own low, o a i rurn a la-o vrx rom among o vri wi ky mallr an a givn oun. T ruur o r no i own low alo. la wowaytr { in n; // r in on im {1,...,n} ru no { in k, D, Dm; // ky an irnial o il in l, r; // ini o l an rig ilrn } *v;... } #in l(x) (v[x].l) // you may aum imilar laraion // or rig, ky, Do, Dmin in ar(in, in oun) { // Rurn inx o a la o no rom among o no // in ur wi roo a av ky l an oun. // I r i mor an on u no, pik on wi // mall ky. Rurn Null, i r i no la o no // wi ky l an oun. i ( == Null) rurn Null; l i (l()!= Null && Dmin(l()) == 0) rurn ar(l(),oun); l i (ky() < oun && Do() == 0) rurn ; l i (rig()!= Null && Dmin(rig()) == 0) rurn ar(rig(),oun); l rurn Null; } - 4 -

5 . (1 poin) How many augmning pa o min-o, augmning pa algorim in in nwork own low ( pair on a g ar apaiy an o). Explain. a a a 1 1 9,4 9, x 1 x x 9,1 9, 9, 1,0 9, 9, 9,1 y 1 y y 9, 9,4 1 1 T algorim in 4 iin augmning pa in i grap. Iniially, i in 9 pa o orm,a 1,x i,y j, 1, wi apaiy 1 an o 0. A i poin g rom o a 1 i aura, a i g rom 1 o. Nx, i in 9 pa o orm, 1,y i,x j, 1, wi o.tn, i in 9 pa o orm,,a 1,x i,y j, 1,, wi o 4. An o or. I oninu in i aion, alway ju aing on uni o low or a augmning pa, in all pa pa roug nral ipari ugrap. Explain ow i xampl an gnraliz o ow a min-o, augmning pa algorim an ak im Ω(n ). To gnraliz xampl, mak a,,, an ain all k vri long, wi g o o 0,,4,... rom o a o a vri an rom a o vri o. Mak g o rom o a o vri an rom a o vri o, qual o 1,,,... Mak apaii o all g inin o an k. Expan nral ipari ugrap o a i a k vri an g rom x vri o y vri wi apaiy 1 an o 0. Aign inini apaiy an 0 o o all or g. In i grap, min-o augmning pa algorim wi in k augmning pa. Sin i u Dijkra algorim o in a augmning pa an in grap a mor an k g, i will ak Ω(k ) im o in a augmning pa. Ti giv a oal o Ω(k ) im o in minimum-o maximum low, wi i Ω(n ), in n=k+. - -

6 . (1 poin) Sa oniion a mu aii y a prlow in orr or i o aiy laling oniion wi rp o om laling union λ. T igur low ow an inan o min-o max low prolm wi a prlow an a laling. Do i prlow aiy laling oniion, wi rp o lal own? Wy or wy no? 8,,0 8 lal apaiy, o, low 8,,0,,1,1,,,0,1,,4,,1,0 9 4,,0,,,1, ,, i 1 T laling oniion a a vry g (u,v) wi poiiv riual apaiy mu aiy λ(u)+o(u,v) λ(v). T prlow o no aiy laling oniion or g (,), in 11+(-)<9. Givn prlow own low, ir in a laling a aii laling oniion or ow a r i no o lal a aii laling oniion. 8,,8 apaiy, o, low 8,,0,,0,1,,,0,4,,,,1,,1,0 4,,0,1,0 4,, i Ti prlow o no aiy laling oniion or any o lal, in,, orm a ngaiv o yl wi o +( 1)+( )=. - -

Design and Analysis of Algorithms (Autumn 2017)

Design and Analysis of Algorithms (Autumn 2017) Din an Analyi o Alorim (Auumn 2017) Exri 3 Soluion 1. Sor pa Ain om poiiv an naiv o o ar o rap own low, o a Bllman-For in a or pa. Simula ir alorim a ru prolm o a layr DAG ( li), or on a an riv rom rurrn.

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

CS 541 Algorithms and Programs. Exam 2 Solutions. Jonathan Turner 11/8/01

CS 541 Algorithms and Programs. Exam 2 Solutions. Jonathan Turner 11/8/01 CS 1 Algorim nd Progrm Exm Soluion Jonn Turnr 11/8/01 B n nd oni, u ompl. 1. (10 poin). Conidr vrion of or p prolm wi mulipliiv o. In i form of prolm, lng of p i produ of dg lng, rr n um. Explin ow or

More information

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

Combinatorial Optimization

Combinatorial Optimization Cominoril Opimizion Prolm : oluion. Suppo impl unir rp mor n on minimum pnnin r. Cn Prim lorim (or Krukl lorim) u o in ll o m? Explin wy or wy no, n iv n xmpl. Soluion. Y, Prim lorim (or Krukl lorim) n

More information

2. The Laplace Transform

2. The Laplace Transform Th aac Tranorm Inroucion Th aac ranorm i a unamna an vry uu oo or uying many nginring robm To in h aac ranorm w conir a comx variab σ, whr σ i h ra ar an i h imaginary ar or ix vau o σ an w viw a a oin

More information

CS 103 BFS Alorithm. Mark Redekopp

CS 103 BFS Alorithm. Mark Redekopp CS 3 BFS Aloritm Mrk Rkopp Brt-First Sr (BFS) HIGHLIGHTED ALGORITHM 3 Pt Plnnin W'v sn BFS in t ontxt o inin t sortst pt trou mz? S?? 4 Pt Plnnin W xplor t 4 niors s on irtion 3 3 3 S 3 3 3 3 3 F I you

More information

Instructors Solution for Assignment 3 Chapter 3: Time Domain Analysis of LTIC Systems

Instructors Solution for Assignment 3 Chapter 3: Time Domain Analysis of LTIC Systems Inrucor Soluion for Aignmn Chapr : Tim Domain Anali of LTIC Sm Problm i a 8 x x wih x u,, an Zro-inpu rpon of h m: Th characriic quaion of h LTIC m i i 8, which ha roo a ± j Th zro-inpu rpon i givn b zi

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

A L A BA M A L A W R E V IE W

A L A BA M A L A W R E V IE W A L A BA M A L A W R E V IE W Volume 52 Fall 2000 Number 1 B E F O R E D I S A B I L I T Y C I V I L R I G HT S : C I V I L W A R P E N S I O N S A N D TH E P O L I T I C S O F D I S A B I L I T Y I N

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

Outlines: Graphs Part-4. Applications of Depth-First Search. Directed Acyclic Graph (DAG) Generic scheduling problem.

Outlines: Graphs Part-4. Applications of Depth-First Search. Directed Acyclic Graph (DAG) Generic scheduling problem. Outlins: Graps Part-4 Applications o DFS Elmntary Grap Aloritms Topoloical Sort o Dirctd Acyclic Grap Stronly Connctd Componnts PART-4 1 2 Applications o Dpt-First Sarc Topoloical Sort: Usin dpt-irst sarc

More information

RUTH. land_of_israel: the *country *which God gave to his people in the *Old_Testament. [*map # 2]

RUTH. land_of_israel: the *country *which God gave to his people in the *Old_Testament. [*map # 2] RUTH 1 Elimlk g ln M 1-2 I in im n ln Irl i n *king. Tr r lr rul ln. Ty r ug. Tr n r l in Ju u r g min. Elimlk mn y in n Blm in Ju. H i nm Nmi. S n Elimlk 2 *n. Tir nm r Mln n Kilin. Ty r ll rm Er mily.

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

COSC 3361 Numerical Analysis I Ordinary Differential Equations (I) - Introduction

COSC 3361 Numerical Analysis I Ordinary Differential Equations (I) - Introduction COSC 336 Numerial Analsis I Ordinar Dierenial Equaions I - Inroduion Edgar Gabriel Fall 5 COSC 336 Numerial Analsis I Edgar Gabriel Terminolog Dierenial equaions: equaions onaining e derivaive o a union

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

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

CPSC 211 Data Structures & Implementations (c) Texas A&M University [ 259] B-Trees 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

More information

( ) ( ) + = ( ) + ( )

( ) ( ) + = ( ) + ( ) Mah 0 Homwork S 6 Soluions 0 oins. ( ps I ll lav i o you vrify ha h omplimnary soluion is : y ( os( sin ( Th guss for h pariular soluion and is drivaivs ar, +. ( os( sin ( ( os( ( sin ( Y ( D 6B os( +

More information

Problem Set If all directed edges in a network have distinct capacities, then there is a unique maximum flow.

Problem Set If all directed edges in a network have distinct capacities, then there is a unique maximum flow. CSE 202: Deign and Analyi of Algorihm Winer 2013 Problem Se 3 Inrucor: Kamalika Chaudhuri Due on: Tue. Feb 26, 2013 Inrucion For your proof, you may ue any lower bound, algorihm or daa rucure from he ex

More information

F (u) du. or f(t) = t

F (u) du. or f(t) = t 8.3 Topic 9: Impulses and dela funcions. Auor: Jeremy Orloff Reading: EP 4.6 SN CG.3-4 pp.2-5. Warmup discussion abou inpu Consider e rae equaion d + k = f(). To be specific, assume is in unis of d kilograms.

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

Final Exam Solutions

Final Exam Solutions CS 2 Advancd Data Structurs and Algorithms Final Exam Solutions Jonathan Turnr /8/20. (0 points) Suppos that r is a root of som tr in a Fionacci hap. Assum that just for a dltmin opration, r has no childrn

More information

Analysis of Members with Axial Loads and Moments. (Length effects Disregarded, Short Column )

Analysis of Members with Axial Loads and Moments. (Length effects Disregarded, Short Column ) Analyi o emer wih Axial Loa an omen (Lengh ee Diregare, Shor Column ) A. Reaing Aignmen Chaper 9 o ex Chaper 10 o ACI B. reenaion o he INTERACTION DIAGRA or FAILURE ENVELO We have een ha a given eion an

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

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

ENGR 7181 LECTURE NOTES WEEK 5 Dr. Amir G. Aghdam Concordia University

ENGR 7181 LECTURE NOTES WEEK 5 Dr. Amir G. Aghdam Concordia University ENGR 78 LETURE NOTES WEEK 5 r. mir G. dam onordia Univrity ilinar Tranformation - W will now introdu anotr mtod of tranformation from -plan to t - plan and vi vra. - Ti tranformation i bad on t trapoidal

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

where: u: input y: output x: state vector A, B, C, D are const matrices

where: u: input y: output x: state vector A, B, C, D are const matrices Sa pac modl: linar: y or in om : Sa q : f, u Oupu q : y h, u u Du F Gu y H Ju whr: u: inpu y: oupu : a vcor,,, D ar con maric Eampl " $ & ' " $ & 'u y " & * * * * [ ],, D H D I " $ " & $ ' " & $ ' " &

More information

Additional Exercises for Chapter What is the slope-intercept form of the equation of the line given by 3x + 5y + 2 = 0?

Additional Exercises for Chapter What is the slope-intercept form of the equation of the line given by 3x + 5y + 2 = 0? ddiional Eercises for Caper 5 bou Lines, Slopes, and Tangen Lines 39. Find an equaion for e line roug e wo poins (, 7) and (5, ). 4. Wa is e slope-inercep form of e equaion of e line given by 3 + 5y +

More information

CS4445/9544 Analysis of Algorithms II Solution for Assignment 1

CS4445/9544 Analysis of Algorithms II Solution for Assignment 1 Conider he following flow nework CS444/944 Analyi of Algorihm II Soluion for Aignmen (0 mark) In he following nework a minimum cu ha capaciy 0 Eiher prove ha hi aemen i rue, or how ha i i fale Uing he

More information

S U E K E AY S S H A R O N T IM B E R W IN D M A R T Z -PA U L L IN. Carlisle Franklin Springboro. Clearcreek TWP. Middletown. Turtlecreek TWP.

S U E K E AY S S H A R O N T IM B E R W IN D M A R T Z -PA U L L IN. Carlisle Franklin Springboro. Clearcreek TWP. Middletown. Turtlecreek TWP. F R A N K L IN M A D IS O N S U E R O B E R T LE IC H T Y A LY C E C H A M B E R L A IN T W IN C R E E K M A R T Z -PA U L L IN C O R A O W E N M E A D O W L A R K W R E N N LA N T IS R E D R O B IN F

More information

The Residual Graph. 11 Augmenting Path Algorithms. Augmenting Path Algorithm. Augmenting Path Algorithm

The Residual Graph. 11 Augmenting Path Algorithms. Augmenting Path Algorithm. Augmenting Path Algorithm Augmening Pah Algorihm Greedy-algorihm: ar wih f (e) = everywhere find an - pah wih f (e) < c(e) on every edge augmen flow along he pah repea a long a poible The Reidual Graph From he graph G = (V, E,

More information

Graphs III - Network Flow

Graphs III - Network Flow Graph III - Nework Flow Flow nework eup graph G=(V,E) edge capaciy w(u,v) 0 - if edge doe no exi, hen w(u,v)=0 pecial verice: ource verex ; ink verex - no edge ino and no edge ou of Aume every verex v

More information

A1 1 LED - LED 2x2 120 V WHITE BAKED RECESSED 2-3/8" H.E. WILLIAMS PT-22-L38/835-RA-F358L-DIM-BD-UNV 37

A1 1 LED - LED 2x2 120 V WHITE BAKED RECESSED 2-3/8 H.E. WILLIAMS PT-22-L38/835-RA-F358L-DIM-BD-UNV 37 O NU +'-" ac I U I K K OUNIN I NIN UN O OUN U IUI INU O INI OO O INI I NIN UNI INUIN IY I UO. N WI Y K ONUI IUI ONO N UN NO () () O O W U I I IIUION N IIN I ONO U N N O IN IO NY. I UIN NY OW O I W OO OION-OO

More information

Shortest Path With Negative Weights

Shortest Path With Negative Weights Shor Pah Wih Ngaiv Wigh 1 9 18-1 19 11 1-8 1 Conn Conn. Dird hor pah wih ngaiv wigh. Ngaiv yl dion. appliaion: urrny xhang arbirag Tramp amr problm. appliaion: opimal piplining of VLSI hip Shor Pah wih

More information

Comparison between the Discrete and Continuous Time Models

Comparison between the Discrete and Continuous Time Models Comparison beween e Discree and Coninuous Time Models D. Sulsky June 21, 2012 1 Discree o Coninuous Recall e discree ime model Î = AIS Ŝ = S Î. Tese equaions ell us ow e populaion canges from one day o

More information

02. MOTION. Questions and Answers

02. MOTION. Questions and Answers CLASS-09 02. MOTION Quesions and Answers PHYSICAL SCIENCE 1. Se moves a a consan speed in a consan direcion.. Reprase e same senence in fewer words using conceps relaed o moion. Se moves wi uniform velociy.

More information

Lecture 26 Section 8.4. Mon, Oct 13, 2008

Lecture 26 Section 8.4. Mon, Oct 13, 2008 Lecture 26 Section 8.4 Hampden-Sydney College Mon, Oct 13, 2008 Outline 1 2 3 4 Exercise 8.12, page 528. Suppose that 60% of all students at a large university access course information using the Internet.

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

Discussion Session 2 Constant Acceleration/Relative Motion Week 03

Discussion Session 2 Constant Acceleration/Relative Motion Week 03 PHYS 100 Dicuion Seion Conan Acceleraion/Relaive Moion Week 03 The Plan Today you will work wih your group explore he idea of reference frame (i.e. relaive moion) and moion wih conan acceleraion. You ll

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

Minimum Spanning Trees

Minimum Spanning Trees Yufi Tao ITEE Univrsity of Qunslan In tis lctur, w will stuy anotr classic prolm: finin a minimum spannin tr of an unirct wit rap. Intrstinly, vn tou t prolm appars ratr iffrnt from SSSP (sinl sourc sortst

More information

Solutions to Homework 5

Solutions to Homework 5 Solutions to Homwork 5 Pro. Silvia Frnánz Disrt Mathmatis Math 53A, Fall 2008. [3.4 #] (a) Thr ar x olor hois or vrtx an x or ah o th othr thr vrtis. So th hromati polynomial is P (G, x) =x (x ) 3. ()

More information

Exponential Functions

Exponential Functions Eponntial Functions Dinition: An Eponntial Function is an unction tat as t orm a, wr a > 0. T numbr a is calld t bas. Eampl: Lt i.. at intgrs. It is clar wat t unction mans or som valus o. 0 0,,, 8,,.,.

More information

Exam 1 Solution. CS 542 Advanced Data Structures and Algorithms 2/14/2013

Exam 1 Solution. CS 542 Advanced Data Structures and Algorithms 2/14/2013 CS Avn Dt Struturs n Algorithms Exm Solution Jon Turnr //. ( points) Suppos you r givn grph G=(V,E) with g wights w() n minimum spnning tr T o G. Now, suppos nw g {u,v} is to G. Dsri (in wors) mtho or

More information

2. Random Search with Complete BST

2. Random Search with Complete BST Tecnical Repor: TR-BUAA-ACT-06-0 Complexiy Analysis of Random Searc wi AVL Tree Gongwei Fu, Hailong Sun Scool of Compuer Science, Beiang Universiy {FuGW, SunHL@ac.buaa.edu.cn April 7, 006 TR-BUAA-ACT-06-0.

More information

The Residual Graph. 12 Augmenting Path Algorithms. Augmenting Path Algorithm. Augmenting Path Algorithm

The Residual Graph. 12 Augmenting Path Algorithms. Augmenting Path Algorithm. Augmenting Path Algorithm Augmening Pah Algorihm Greedy-algorihm: ar wih f (e) = everywhere find an - pah wih f (e) < c(e) on every edge augmen flow along he pah repea a long a poible The Reidual Graph From he graph G = (V, E,

More information

CHEMISTRY 047 STUDY PACKAGE

CHEMISTRY 047 STUDY PACKAGE CHEMISTRY 047 STUDY PACKAGE Tis maerial is inended as a review of skills you once learned. PREPARING TO WRITE THE ASSESSMENT VIU/CAP/D:\Users\carpenem\AppDaa\Local\Microsof\Windows\Temporary Inerne Files\Conen.Oulook\JTXREBLD\Cemisry

More information

, the. L and the L. x x. max. i n. It is easy to show that these two norms satisfy the following relation: x x n x = (17.3) max

, the. L and the L. x x. max. i n. It is easy to show that these two norms satisfy the following relation: x x n x = (17.3) max ecure 8 7. Sabiliy Analyi For an n dimenional vecor R n, he and he vecor norm are defined a: = T = i n i (7.) I i eay o how ha hee wo norm aify he following relaion: n (7.) If a vecor i ime-dependen, hen

More information

Single Correct Type. cos z + k, then the value of k equals. dx = 2 dz. (a) 1 (b) 0 (c)1 (d) 2 (code-v2t3paq10) l (c) ( l ) x.

Single Correct Type. cos z + k, then the value of k equals. dx = 2 dz. (a) 1 (b) 0 (c)1 (d) 2 (code-v2t3paq10) l (c) ( l ) x. IIT JEE/AIEEE MATHS y SUHAAG SIR Bhopl, Ph. (755)3 www.kolsss.om Qusion. & Soluion. In. Cl. Pg: of 6 TOPIC = INTEGRAL CALCULUS Singl Corr Typ 3 3 3 Qu.. L f () = sin + sin + + sin + hn h primiiv of f()

More information

Lecture 21 : Graphene Bandstructure

Lecture 21 : Graphene Bandstructure Fundmnls of Nnolcronics Prof. Suprio D C 45 Purdu Univrsi Lcur : Grpn Bndsrucur Rf. Cpr 6. Nwor for Compuionl Nnocnolog Rviw of Rciprocl Lic :5 In ls clss w lrnd ow o consruc rciprocl lic. For D w v: Rl-Spc:

More information

XV Exponential and Logarithmic Functions

XV Exponential and Logarithmic Functions MATHEMATICS 0-0-RE Dirnial Calculus Marin Huard Winr 08 XV Eponnial and Logarihmic Funcions. Skch h graph o h givn uncions and sa h domain and rang. d) ) ) log. Whn Sarah was born, hr parns placd $000

More information

An undirected graph G = (V, E) V a set of vertices E a set of unordered edges (v,w) where v, w in V

An undirected graph G = (V, E) V a set of vertices E a set of unordered edges (v,w) where v, w in V Unirt Grphs An unirt grph G = (V, E) V st o vrtis E st o unorr gs (v,w) whr v, w in V USE: to mol symmtri rltionships twn ntitis vrtis v n w r jnt i thr is n g (v,w) [or (w,v)] th g (v,w) is inint upon

More information

Network Flows: Introduction & Maximum Flow

Network Flows: Introduction & Maximum Flow CSC 373 - lgorihm Deign, nalyi, and Complexiy Summer 2016 Lalla Mouaadid Nework Flow: Inroducion & Maximum Flow We now urn our aenion o anoher powerful algorihmic echnique: Local Search. In a local earch

More information

Control Systems -- Final Exam (Spring 2006)

Control Systems -- Final Exam (Spring 2006) 6.5 Conrol Syem -- Final Eam (Spring 6 There are 5 prolem (inluding onu prolem oal poin. (p Given wo marie: (6 Compue A A e e. (6 For he differenial equaion [ ] ; y u A wih ( u( wha i y( for >? (8 For

More information

Physics 240: Worksheet 16 Name

Physics 240: Worksheet 16 Name Phyic 4: Workhee 16 Nae Non-unifor circular oion Each of hee proble involve non-unifor circular oion wih a conan α. (1) Obain each of he equaion of oion for non-unifor circular oion under a conan acceleraion,

More information

COHORT MBA. Exponential function. MATH review (part2) by Lucian Mitroiu. The LOG and EXP functions. Properties: e e. lim.

COHORT MBA. Exponential function. MATH review (part2) by Lucian Mitroiu. The LOG and EXP functions. Properties: e e. lim. MTH rviw part b Lucian Mitroiu Th LOG and EXP functions Th ponntial function p : R, dfind as Proprtis: lim > lim p Eponntial function Y 8 6 - -8-6 - - X Th natural logarithm function ln in US- log: function

More information

Mathematics Paper- II

Mathematics Paper- II R Prerna Tower, Road No -, Conracors Area, Bisupur, Jamsedpur - 8, Tel - (65789, www.prernaclasses.com Maemaics Paper- II Jee Advance PART III - MATHEMATICS SECTION - : (One or more opions correc Type

More information

learning objectives learn what graphs are in mathematical terms learn how to represent graphs in computers learn about typical graph algorithms

learning objectives learn what graphs are in mathematical terms learn how to represent graphs in computers learn about typical graph algorithms rp loritms lrnin ojtivs loritms your sotwr systm sotwr rwr lrn wt rps r in mtmtil trms lrn ow to rprsnt rps in omputrs lrn out typil rp loritms wy rps? intuitivly, rp is orm y vrtis n s twn vrtis rps r

More information

FOR MORE PAPERS LOGON TO

FOR MORE PAPERS LOGON TO IT430 - E-Commerce Quesion No: 1 ( Marks: 1 )- Please choose one MAC sand for M d a A ss Conro a M d a A ss Consor M r of As an Co n on of s Quesion No: 2 ( Marks: 1 )- Please choose one C oos orr HTML

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

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

û s L u t 0 s a ; i.e., û s 0

û s L u t 0 s a ; i.e., û s 0 Te Hille-Yosida Teorem We ave seen a wen e absrac IVP is uniquely solvable en e soluion operaor defines a semigroup of bounded operaors. We ave no ye discussed e condiions under wic e IVP is uniquely solvable.

More information

V.sin. AIM: Investigate the projectile motion of a rigid body. INTRODUCTION:

V.sin. AIM: Investigate the projectile motion of a rigid body. INTRODUCTION: EXPERIMENT 5: PROJECTILE MOTION: AIM: Invesigae e projecile moion of a rigid body. INTRODUCTION: Projecile moion is defined as e moion of a mass from op o e ground in verical line, or combined parabolic

More information

Syntactic Complexity of Suffix-Free Languages. Marek Szykuła

Syntactic Complexity of Suffix-Free Languages. Marek Szykuła Inroducion Upper Bound on Synacic Complexiy of Suffix-Free Language Univeriy of Wrocław, Poland Join work wih Januz Brzozowki Univeriy of Waerloo, Canada DCFS, 25.06.2015 Abrac Inroducion Sae and ynacic

More information

Solutions of Sample Problems for Third In-Class Exam Math 246, Spring 2011, Professor David Levermore

Solutions of Sample Problems for Third In-Class Exam Math 246, Spring 2011, Professor David Levermore Soluions of Sample Problems for Third In-Class Exam Mah 6, Spring, Professor David Levermore Compue he Laplace ransform of f e from is definiion Soluion The definiion of he Laplace ransform gives L[f]s

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

Appendix. Vacuum Technique:

Appendix. Vacuum Technique: Appni acuu Tcniqu: Ti or oraion o a onolayr in pnnc on abin prssur Paricl nsiy n, ipingn ra, an r pa [, p. ] Pysik un Tcnologi Dünnr Scicn A Appni aporaion Tcniqu: aporaion lociy in ig acuu in pnnc on

More information

P a g e 5 1 of R e p o r t P B 4 / 0 9

P a g e 5 1 of R e p o r t P B 4 / 0 9 P a g e 5 1 of R e p o r t P B 4 / 0 9 J A R T a l s o c o n c l u d e d t h a t a l t h o u g h t h e i n t e n t o f N e l s o n s r e h a b i l i t a t i o n p l a n i s t o e n h a n c e c o n n e

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

CHAPTER 9 Compressible Flow

CHAPTER 9 Compressible Flow CHPTER 9 Corssibl Flow Inrouion 9. v R. kv. R or R k k Rk k Char 9 / Corssibl Flow S of Soun 9.4 Subsiu Eq. 4.5.8 ino Eq. 4.5.7 an ngl onial nrgy hang: Q WS u~ u~. Enhaly is fin in Throynais as h u~ v

More information

a g f 8 e 11 Also: Minimum degree, maximum degree, vertex of degree d 1 adjacent to vertex of degree d 2,...

a g f 8 e 11 Also: Minimum degree, maximum degree, vertex of degree d 1 adjacent to vertex of degree d 2,... Warmup: Lt b 2 c 3 d 1 12 6 4 5 10 9 7 a 8 11 (i) Vriy tat G is connctd by ivin an xampl o a walk rom vrtx a to ac o t vrtics b. (ii) Wat is t sortst pat rom a to c? to? (iii) Wat is t lonst pat rom a

More information

Evolution Strategies for Optimizing Rectangular Cartograms

Evolution Strategies for Optimizing Rectangular Cartograms Evolution Strategies for Optimizing Rectangular Cartograms Kevin Buchin 1, Bettina Speckmann 1, and Sander Verdonschot 2 1 TU Eindhoven, 2 Carleton University September 20, 2012 Sander Verdonschot (Carleton

More information

EECE 301 Signals & Systems Prof. Mark Fowler

EECE 301 Signals & Systems Prof. Mark Fowler EECE 30 Signal & Syem Prof. ark Fowler oe Se #34 C-T Tranfer Funcion and Frequency Repone /4 Finding he Tranfer Funcion from Differenial Eq. Recall: we found a DT yem Tranfer Funcion Hz y aking he ZT of

More information

On the convergence of solutions of the non-linear differential equation

On the convergence of solutions of the non-linear differential equation MEMOIRS O F T H E COLLEGE O F SCIENCE, UNIVERSITY OF KYOTO, SERIES A Vol. XXVIII, Mathematics No. 2, 1953. On the convergence of solutions of the non-linear differential equation By Taro YOSHIZAWA (Received

More information

Lecture 20: Minimum Spanning Trees (CLRS 23)

Lecture 20: Minimum Spanning Trees (CLRS 23) Ltur 0: Mnmum Spnnn Trs (CLRS 3) Jun, 00 Grps Lst tm w n (wt) rps (unrt/rt) n ntrou s rp voulry (vrtx,, r, pt, onnt omponnts,... ) W lso suss jny lst n jny mtrx rprsntton W wll us jny lst rprsntton unlss

More information

TMA4329 Intro til vitensk. beregn. V2017

TMA4329 Intro til vitensk. beregn. V2017 Norges eknisk naurvienskapelige universie Insiu for Maemaiske Fag TMA439 Inro il viensk. beregn. V7 ving 6 [S]=T. Sauer, Numerical Analsis, Second Inernaional Ediion, Pearson, 4 Teorioppgaver Oppgave 6..3,

More information

1 Lecture 13: The derivative as a function.

1 Lecture 13: The derivative as a function. 1 Lecture 13: Te erivative as a function. 1.1 Outline Definition of te erivative as a function. efinitions of ifferentiability. Power rule, erivative te exponential function Derivative of a sum an a multiple

More information

1 Motivation and Basic Definitions

1 Motivation and Basic Definitions CSCE : Deign and Analyi of Algorihm Noe on Max Flow Fall 20 (Baed on he preenaion in Chaper 26 of Inroducion o Algorihm, 3rd Ed. by Cormen, Leieron, Rive and Sein.) Moivaion and Baic Definiion Conider

More information

Exam 1 Solutions. x(x 2) (x + 1)(x 2) = x

Exam 1 Solutions. x(x 2) (x + 1)(x 2) = x Eam Solutions Question (0%) Consider f() = 2 2 2 2. (a) By calculating relevant its, determine te equations of all vertical asymptotes of te grap of f(). If tere are none, say so. f() = ( 2) ( + )( 2)

More information

Motion In One Dimension. Graphing Constant Speed

Motion In One Dimension. Graphing Constant Speed Moion In One Dimenion PLATO AND ARISTOTLE GALILEO GALILEI LEANING TOWER OF PISA Graphing Conan Speed Diance v. Time for Toy Car (0-5 ec.) be-fi line (from TI calculaor) d = 207.7 12.6 Diance (cm) 1000

More information

Geographic Routing with Constant Stretch in Large Scale Sensor Networks with Holes

Geographic Routing with Constant Stretch in Large Scale Sensor Networks with Holes IEEE 7h Inrnaional Confrnc on Wirl an Mobil Compuing, Nworking an Communicaion (WiMob) Gographic Rouing wih Conan Srch in Larg Scal Snor Nwork wih Hol Myounggyu Won, Rau Solru, Haiji Wu Dparmn of Compur

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

Nursing Facilities' Life Safety Standard Survey Results Quarterly Reference Tables

Nursing Facilities' Life Safety Standard Survey Results Quarterly Reference Tables Nursing Facilities' Life Safety Standard Survey Results Quarterly Reference Tables Table of Contents Table 1: Summary of Life Safety Survey Results by State Table 2: Ten Most Frequently Cited Life Safety

More information

2 u Du, k Hu Dv Hu, y H. u Cu j u qu u. Nv. v uy. Cu Hu F A H. qu Cu.. Cu j 1980, u V, v Nu My O k. v u u. A G C. My u v k, 2.5 H v v u / u v u v k y

2 u Du, k Hu Dv Hu, y H. u Cu j u qu u. Nv. v uy. Cu Hu F A H. qu Cu.. Cu j 1980, u V, v Nu My O k. v u u. A G C. My u v k, 2.5 H v v u / u v u v k y H HE 1016 M EEING OF HE ODIE CLU 1,016 Cu 7:30.. D 11, 2007 y W L Uvy. C : Pu A y: Ov 25 x u. Hk, u k MA k D u y Hu, u G, u C C, MN C, Nk Dv Hu, MN, u K A u vu v. W y A Pku G, G u. N EW UINE: D, Cu, 22

More information

American International Journal of Research in Science, Technology, Engineering & Mathematics

American International Journal of Research in Science, Technology, Engineering & Mathematics Ara raoal oral of ar S oloy r & aa Avalabl ol a //wwwar SSN Pr 38-349 SSN Ol 38-358 SSN D-O 38-369 AS a rfr r-rvw llary a o a joral bl by raoal Aoao of Sf ovao a ar AS SA A Aoao fy S r a Al ar oy rao ra

More information

Physics 111. Exam #1. January 24, 2011

Physics 111. Exam #1. January 24, 2011 Physics 111 Exam #1 January 4, 011 Name Muliple hoice /16 Problem #1 /8 Problem # /8 Problem #3 /8 Toal /100 ParI:Muliple hoice:irclehebesansweroeachquesion.nyohermarks willnobegivencredi.eachmuliple choicequesionisworh4poinsoraoalo

More information

Approximately Inner Two-parameter C0

Approximately Inner Two-parameter C0 urli Jourl of ic d pplid Scic, 5(9: 0-6, 0 ISSN 99-878 pproximly Ir Two-prmr C0 -group of Tor Produc of C -lgr R. zri,. Nikm, M. Hi Dprm of Mmic, Md rc, Ilmic zd Uivriy, P.O.ox 4-975, Md, Ir. rc: I i ppr,

More information

Wrap up: Weighted, directed graph shortest path Minimum Spanning Tree. Feb 25, 2019 CSCI211 - Sprenkle

Wrap up: Weighted, directed graph shortest path Minimum Spanning Tree. Feb 25, 2019 CSCI211 - Sprenkle Objecive Wrap up: Weighed, direced graph hore pah Minimum Spanning Tree eb, 1 SI - Sprenkle 1 Review Wha are greedy algorihm? Wha i our emplae for olving hem? Review he la problem we were working on: Single-ource,

More information

Algorithms and Data Structures 2011/12 Week 9 Solutions (Tues 15th - Fri 18th Nov)

Algorithms and Data Structures 2011/12 Week 9 Solutions (Tues 15th - Fri 18th Nov) Algorihm and Daa Srucure 2011/ Week Soluion (Tue 15h - Fri 18h No) 1. Queion: e are gien 11/16 / 15/20 8/13 0/ 1/ / 11/1 / / To queion: (a) Find a pair of ube X, Y V uch ha f(x, Y) = f(v X, Y). (b) Find

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

AP Calculus Multiple-Choice Question Collection

AP Calculus Multiple-Choice Question Collection AP Calculus Multipl-Coic Qustion Collction 985 998 . f is a continuous function dfind for all ral numbrs and if t maimum valu of f () is 5 and t minimum valu of f () is 7, tn wic of t following must b

More information

1a.- Solution: 1a.- (5 points) Plot ONLY three full periods of the square wave MUST include the principal region.

1a.- Solution: 1a.- (5 points) Plot ONLY three full periods of the square wave MUST include the principal region. INEL495 SIGNALS AND SYSEMS FINAL EXAM: Ma 9, 8 Pro. Doigo Rodrígz SOLUIONS Probl O: Copl Epoial Forir Sri A priodi ri ar wav l ad a daal priod al o o od. i providd wi a a 5% d a.- 5 poi: Plo r ll priod

More information

EXST 7015 Fall 2014 Lab 08: Polynomial Regression

EXST 7015 Fall 2014 Lab 08: Polynomial Regression EXST 7015 Fall 2014 Lab 08: Polynomial Regression OBJECTIVES Polynomial regression is a statistical modeling technique to fit the curvilinear data that either shows a maximum or a minimum in the curve,

More information

An Introduction to Malliavin calculus and its applications

An Introduction to Malliavin calculus and its applications An Inroducion o Malliavin calculus and is applicaions Lecure 5: Smoohness of he densiy and Hörmander s heorem David Nualar Deparmen of Mahemaics Kansas Universiy Universiy of Wyoming Summer School 214

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

ME 391 Mechanical Engineering Analysis

ME 391 Mechanical Engineering Analysis Fall 04 ME 39 Mechanical Engineering Analsis Eam # Soluions Direcions: Open noes (including course web posings). No books, compuers, or phones. An calculaor is fair game. Problem Deermine he posiion of

More information

Solutions for HW11. Exercise 34. (a) Use the recurrence relation t(g) = t(g e) + t(g/e) to count the number of spanning trees of v 1

Solutions for HW11. Exercise 34. (a) Use the recurrence relation t(g) = t(g e) + t(g/e) to count the number of spanning trees of v 1 Solutions for HW Exris. () Us th rurrn rltion t(g) = t(g ) + t(g/) to ount th numr of spnning trs of v v v u u u Rmmr to kp multipl gs!! First rrw G so tht non of th gs ross: v u v Rursing on = (v, u ):

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