It just came to me that I 8.2 GRAPHS AND CONVERGENCE

Size: px
Start display at page:

Download "It just came to me that I 8.2 GRAPHS AND CONVERGENCE"

Transcription

1 44 Chapter 8 Discrete Mathematics: Fuctios o the Set of Natural Numbers (a) Take several odd, positive itegers for a ad write out eough terms of the 3N sequece to reach a repeatig loop (b) Show that ot every positive iteger reaches the sameloop(asappearstobethecaseforthe3n sequece) How maydifferet loops ca you fid? 76 Programs for computers or programmable calculators ofteuseaifthen istructio that termiates the programs if certai coditios hold but brach to other istructios otherwise Describe the kid of difficulties that we could coceivably ecouter if we programmed a computer to ru the 3N sequece ad prit out the terms util reachig Exercises Compare Sequeces 77 Evaluate the first five terms of a ad b where a, b Are the sequeces idetical? 78 (a) Evaluate the first six terms of a where a 9 6 Use your calculator to simplify each term Is a 3 for every? Explai (b) If b 3, are the sequeces a ad b idetical? Explai Exercises Large Numbers 79 The factorial sequece! icreases very rapidly For istace, 0! ! ! ! 0 00 To get some idea of how large these umbers are, look at 0! Simple computatio gives 0!,43,90,008,76,690,000 Now suppose a computer priter that operates at 00 characters per secod were to prit out a mauscript with 0! characters How log would it take the priter to do the job? 80 For the mauscript described i Exercise 79, suppose each page cotais about 4000 characters How thick would the mauscript be? The thickess of a ream of paper (500 pages) is approximately iches For compariso, the distace from the earth to the su is 93 millio miles Exercises 8 8 Fiboacci Sequece Use the defiitio o page Show that f f f f for 8 Explore WriteoutthefirsttwelvetermsoftheFiboacci sequece Make a guess as to which terms are divisible by, by 3 8 GRAPHS AND CONVERGENCE It just came to me that I could use this techique, this theorem, i coectio with these curves i Hilbert space that I was dealig with ad get the aswer! It just came to me out of the blue oe day It has always struck me as so amazig Oe half of me had bee boucig aroud with this theorem a lot ad the other half had bee doig this problem, ad they had ever gotte together Adrew Gleaso the vast scope of moder mathematics I have i mid a expase swarmig with beaut y, worthy of beig surveyed from oe ed to the other ad studied eve i its smallest details: its valleys, streams, rocks, woods ad flowers Arthur Cayley Calculus is based o the study of limits At this poit, we use oly ituitive ideas of limits, but we ca use graphs ad their ed behavior to get strog feeligs about the existece or oexistece of limits of certai sequeces Without makig a precise defiitio, whe a sequece a has a limit L, wesaythat a coverges to L ad we write lim A a L Sice a sequece is a fuctio, we ca draw a graph; but we are oly iterested i those poits for which the x-pixel values are positive itegers I geeral, our graphs will be draw with a x-rage of 0, c, where c is the umber of pixel columsoourcalculator,adialmostallgraphswewillwattousedotmode

2 8 Graphs ad Covergece 443 TECHNOLOGY TIP Pixel colums The umber of pixel colums, c, for several calculators is as follows: Model cols Model cols TI-8 95 HP-38,48 30 TI-8 94 Casio fx TI-85 6 Casio fx To illustrate covergece, we look at the ed behavior for several sequeces i the first example [0, c] by [0, ] FIGURE EXAMPLE Covergece Use a graph to make a reasoable determiatio of the ed behavior for the sequece, ad the support your coclusio algebraically (a) a (b) b 3 (c) c 3 (a) Graphical Draw a graph of y x x usig 0, c 0, (see Techology Tip above) See Figure The right portio of the graph appears to be horizotal, but we kow that the calculator has oly so may pixels available Tracig alog the curve idicates that the y-coordiate is approachig as x icreases That is, it appears that lim a ; we say that the sequece a coverges A to Algebraic If we divide the umerator ad deomiator of a by, weget a I this form, it should be clear that a A asa (b) Graphical ad Algebraic The graph of y 3x is a lie with slope 3 If we use a x-rage of 0, c, we eed a correspodigly large y-rage or the graph goes off scale almost immediately, but eve without a graph for this particular fuctio we kow the ed behavior of a lie The values of b cotiue to icrease without boud ad do ot approach ay umber We say that the sequece b diverges Ithiscase,asiChapter3wheworkigwith ratioal fuctios, we write lim A b (c) Graphical Graphig y x x x 3 i 0, c 3, 3 gives very differet lookig graphs i coected or dot modes Whichever you choose, make sure that each x-pixel coordiate is a iteger ad that you kow how to iterpret what the graph shows Tracig (i either mode) shows that as x icreases, the y-values jump back ad forth, with the positive values approachig ad the egative values approachig We coclude that c diverges because the c values do ot approach a sigle umber as A

3 444 Chapter 8 Discrete Mathematics: Fuctios o the Set of Natural Numbers Algebraic Disregardig the, the expressio lim A lim 3 A 3 3 does have a limit, It follows that c A,sothatwheis eve, c A ad whe is odd, c A Agai, c diverges because the c values do ot approach a sigle umber as A Sequeces Defied Recursively For sequeces defied recursively we caot eter fuctios for graphig as we did i Example Nevertheless, fuctioalitybuilt ito our graphig calculators makes it possible to ivestigate limits of some such sequeces quite easily Cosider the sequece a defied by a, a 3 a () We wat to calculate a umber of terms of the sequece without havig to go through all the steps of the recursive defiitio for each term We describe some optios i the followig Techology Tip, ad the look at additioal examples TECHNOLOGY TIP Calculatig recursively defied sequeces For algebraic operatio calculators (TI, Casio, ad HP 38), essetially all of the steps for evaluatig the sequece i Equatio () ca be hadled o the home scree by makig use of the machie capacity to store values Begi by storig the iitial value i the x-register: A X, ENT The compute ad store the ext value: 3 XAX, ENT The calculator displays the computed value, 5, which has bee stored Whe we press ENTER agai, the same computatio is repeated with the ew x-value ad displayed value,, is our a 3 Aswe ENTER repeatedly, the terms of the sequece are displayed It soo becomes clear that the terms are approachig a limit, O the HP 48, we ca write a simple program to accomplish the same thig Press (above the subtract key) to begi a program The type A X 3X A Num (above 57 EVAL )ad ENTER Whattheprogramdoesistotakethe umber o the stack, call it x, compute 3 x symbolically, covert the symbolic computatio to a umber The result is displayed o the stack so that the process ca be repeated To use the program, we eed to store it as a variable, so we type a ame, say RECR for recursive The ENTER ad 57 STO The ame RECR should appear o your 57 VAR meu Now eter o the stack, press the soft key beeath 57 RECR, ad the ew value appears By repeatedly pressig 57 RECR to chage, approachig , the value cotiues

4 8 Graphs ad Covergece 445 Strategy: For (c), if the sequece coverges to a umber c, both a ad a approach c, leadig to the equatio c 3 c The solve for c EXAMPLE Nested square roots Sequece a is defied by a 3, a 3 a (a) Write out the first three terms i exact form (b) UsetheTechologyTip(page444)toapproximatethefirstfewtermsofthe sequece ad fid the apparet limit of the sequece (six decimal places) (c) Justify your coclusio i (b) algebraically (a) a 3, a 3 a 3 3, a 3 3 a (b) Followig the Techology Tip, for all machies except the HP-48, we store 3 i the x-register, ad the eter (3 X) A X Repeatig the computatio gives a sequece begiig 7305, 7538, 74935, 9673, Afterseveral more terms, the sequece settles o a umber approximately equal to O the HP-48, we must chage the recursive part of the defiitio i our program RECR by pressig the tick-mark key ad the soft key uder RECR With RECR othestack,wepress57 EDIT ad go ito the program, replacig 3 X by the recursive part of our ew sequece, 3 X) Withtheewprogram,we eter 3 ad the repeat the soft key uder RECR, gettig the same sequece of terms (c) Followig the strategy, we wat to solve the equatio c 3 c for c Squarig both sides, we get the equatio c 3 c, orc c 3 0 By the quadratic formula, takig the positive sig (why ot?),wegetc , obviously the umber we were approximatig i part (b) EXAMPLE 3 Nested cube roots Repeat Example for the sequece c defied by c, 3 c 3 c (a) c, 3 c 3 c 3, 3 c 3 3 c (b) O algebraic operatio machies, we store ^( 3) i the x-register, ad the eter ( X)^( 3) A X The sequece begis 599, 48754, 55797, 50575, 564, Thesequece settles o a umber approximately equal to O the HP-48, we eter ( X)^( 3) as the recursive part of the defiitio i RECR After eterig 3 o the stack, repeatig the soft key uder RECR gives the same sequece of terms (c) Sice it appears that the sequece coverges to a umber c, both c ad c must approach the same umber c, so the recursive portio of the defiitio gives a equatio which ca be cubed: c 3 c, or c 3 c 0 The cubic equatio is ot oe we ca solve i exact form coveietly, but by graphical methods, or by usig a solve routie, or by usig Newto s Method from Chapter 3, the oe real zero is approximately 53797

5 446 Chapter 8 Discrete Mathematics: Fuctios o the Set of Natural Numbers Cotiued Fractios Cotiued fractios is a topic studied i umber theory courses that has applicatios i may areas, icludig the programmig of routies for computers ad graphig calculators I the ext example we illustrate the cotiued fractio,, as a recursively defied sequece EXAMPLE 4 Cotiued fractios Sequece a is defied by a, a a (a) Write out the first four terms, first without simplifyig, ad the as a simple fractio (b) Approximate the first few terms of the sequece ad fid the apparet limit of the sequece (c) Justify your coclusio i (b) algebraically (a) a, a, a 3 a 3, a 4 a The umbers i the umerator ad deomiator of the fractios remid us of the Fiboacci sequece f from page 436:,,, 3, 5, 8, 3, Thatis, a f f,a f 3 f,a 3 f 4 f 3,a 4 f 5 f 4, ad a reasoable guess is that a f f (b) For decimal approximatios, we use the Techology Tip, begiig with ad usig X A X for the recursio The sequece appears to settle dow o a umber c (c) If both a ad a approach c, the i the limit the recursio relatio becomes c c Multiplyig through by c leadstothequadraticequatioc c 0, 5 whose positive root is give by c The limit umber of the sequece,,iscalledthegolde Ratio, reflectig some aesthetic cosideratios of the aciet Greeks It is a umber that turs up i may diverse applicatios See Exercise 7 I the ext example, we see aother istace of a sequece that diverges eve though parts of the sequece, called subsequeces, coverge We had oe such sequece i Example, give by c 3 From the graph i dot mode, we saw that the sequece cosistig of the eve-umbered terms c, c 4, c 6, coverges to ; the odd-umbered terms form a subsequece that coverges to The same kid of behavior is possible with a recursively defied sequece

6 8 Graphs ad Covergece 447 EXAMPLE 5 Subsequeces Sequece a is defied by a 3, a a a Write out the first few terms Does the sequece have a limit? Describe some coverget subsequeces of the sequece Either by usig the Techology Tip (page 444) or by direct computatio, it is clear that the sequece begis 3, 6, 3, 6, 3, 6, 3, 6, Thesequece has o limit because the terms are ot gettig close to ay umber as A The subsequece of odd-umbered terms cotais oly 3, a 3,3,3,3,, which obviously coverges to 3 Similarly, the subsequece cosistig of eve-umbered terms a 6,6,6, coverges to 6 TECHNOLOGY TIP Calculatig with two-step recursios Ay graphig calculator ca be programmed to calculate more ivolved recursively defied sequeces, but geeral programmig is ot our focus i this text To lear about programmig o your calculator, cosult your istructio maual The Texas Istrumet TI-8 ad TI-85, HP 38, ad the Casio fx7700 ad fx9700, allow us to hadle two-step recursively defied sequeces, such as the Fiboacci sequece, directly o the home scree, as described below The Fiboacci sequece (page 436) is defied by f, f, f f f, O the home scree, we store the iitial values ad their sum: A A: A B: A B A C ad ENTER (The colo is located above the decimal poit o TI ad HP 38, ad o the PRGM meu o the Casio) The display shows f 3 as We must reassig values for the ext step: B A A:C A B: A B A C Now ENTER adwesee3asf 4, ad we ca repeat for as may terms as desired We revisit this problem i matrix form i Exercise 70 of Sectio 96 Equatios of the Form F(x) x Whe lookig for the roots of a equatio it is sometimes possible to isolate a x, writig the equatio i the form F x x Uder certai circumstaces it is possible to use a iterative process to approximate a root of such a equatio to great accuracy Basically, the solutio is foud as the limit of a recursive sequece We begi with a iitial approximatio a ad defie a F a Determiig the coditios uder which such a iteratio coverges requires calculus, but we illustrate the procedure i Example 6

7 448 Chapter 8 Discrete Mathematics: Fuctios o the Set of Natural Numbers EXAMPLE 6 Solvig a equatio (a) Approximate the root of the equatio x cos x 0fromagraph (b) Write the equatio i the form f x x ad use the approximatio from part (a) as a ad let a f a Iterate to approximate the limit L of the sequece to 8 decimal places ad verify that L satisfies the origial equatio (a) From a graph, we ca see that there is a root of the equatio ear 05 (b) The equatio is equivalet to x cos x,sowetakef x cos x ad defie the sequece by a 05, a cos a Followig the Techology Tip for recursive sequeces, we store 05 A X, ENT The follow with (COS X) A X, ENT ad iterate, gettig a sequece begiig , , Thesequece settles quickly o the umber L , ad whe we substitute L for x i the expressio x cos x, we get a umber very ear 0, as desired EXERCISES 8 Check Your Uderstadig It will be helpful to use the Techology Tip (page 444) to get the first several terms of a Exercises 5 True or False Give reasos Use sequece a defied by a ad a a Every term of a is less tha or equal to The sequece is decreasig; that is a a for every 3 The eve-umbered terms are greater tha the oddumbered terms 4 The subsequece cosistig of the odd-umbered terms, a, a 3, a 5,,isdecreasig 5 The subsequece cosistig of the eve-umbered terms, a, a 4, a 6,,isicreasig Exercises 6 0 Fill i the blak so that the resultig statemet is true Exercises 6 8 Sequece a is defied by a ad a a 4 6 The smallest iteger greater tha a 5 is 7 The umber of terms of a betwee 8 ad 0 is 8 The sum of the first 5 terms is Exercises 9 0 Sequece b is defied by b ad b b 9 b 5 0 The smallest prime umber that is greater tha b 5 is Develop Mastery Exercises 0 Does it Coverge? Use a graph to help you determie whether or ot the sequece appears to coverge Explai a 5 a 3 a 3 4 a 5 a 3 6 a 7 a 9 a a 5 8 a

8 8 Graphs ad Covergece 449 Exercises 6 Sequeces Defied Recursively Use the Techology Tip (page 444) (a) Give the first three terms of a (b) The sequece coverges to a umber c Use your calculator to get a six-decimal-place approximatio for c (c) Justify your aswer algebraically See Examples ad 3 a 3, a 3 a a 5, a 5 a 3 a 7, a 7 a 4 a 5, 3 a 5 3 a 5 a 6, 3 a 6 3 a 6 a 5, 4 a 5 4 a Exercises 7 Cotiued Fractios (a) Fid the first three terms of c (b) Fid a 6-decimal-place approximatio for the limit to which c appears to coverge (c) Justify algebraically See Example 4 7 c 3, c 3 c 8 c 5, c 5 c 9 c 3, c 3 c 0 c, c c c 3, c 3 c c, c c Exercises 3 4 Repeatig Terms Sequece a is defied recursively (a) Give the first six terms Does a coverge? You may wish to use the Techology Tip (b) Determie a 60 ad the sum of the first sixty terms 3 a, a a 4 a, a a Exercises 5 6 Recogizig a Patter Fid the first four terms of a Make a geeralizatio ad justify algebraically 5 (a) a, a 05 a a (b) a, a 05 a 4 a (c) a 3, a 05 a 9 a (d) a 4, a 05 a 6 a 6 (a) a, a a a (b) a, (c) a 3, a 5a a a 0a a (d) a 4, a 7a a 7 Fiboacci Related For a 3, a 3 a, (a) Write the first six terms as simple fractios (b) Guess a relatioship betwee a ad the Fiboacci sequece 8 For a l, a l a, (a) use the Techology Tip to fid a six-decimal-place approximatio to the limit c to which a coverges (b) Show that c isarootofe x x 0 5 Exercises 9 30 Golde Ratio, Give that a coverges to the umber c, use a algebraic approach to verify that c is the umber give The use the Techology Tip to get a calculator check 9 a, a ; c is the square root of the a golde ratio 30 a 3, a ; c istheegativeofthegolde a ratio Exercises 3 3 Explore The recursive formula for a is give alog with differet values of a I each case use the Techology Tip to get the first three terms ad the limit (six decimal places) to which the sequece coverges Try other values of a Describe the role that a plays 3 a a, (a) a (b) a 8 (c) a 4 3 a, a (a) a (b) a 3 (c) a 5 Exercises Subsequeces (a) Does a coverge? (b) Fid subsequeces of a that coverge See Example 5 33 a 34 a 35 a si 36 a cos

9 450 Chapter 8 Discrete Mathematics: Fuctios o the Set of Natural Numbers Exercises Your Choice Give a sequece a of your choice that meets the give coditios 37 a 0ifis odd, a 0ifis eve 38 The sequece a does ot coverge, but the subsequece of odd-umbered terms (all of which are greater tha ) coverges to, while the subsequece of eveumbered terms (all of which are less tha ) coverges to 39 For every, 0 a, ad a coverges to (a) ; (b) For all odd, 0 a, ad for all eve, a, ad a coverges to Exercises4 43 Repeatig Terms (a) Givethefirstfour terms of a (b) What is a 47? a 7? (c) Fid the sum of thefirsttwetyterms (d) Explai the repeatig behavior of a (Hit for Exercise 4: Cosider f x x x, ad show that f x f x What is f f x?) 4 a 6, a a a 4 a, a 3a a 3 43 a 4, a 3a a 3 Exercises Roots of f~x! x Follow the istructios for Example 6 for the give equatio 44 cos x x 45 5x cosx 0 46 x e x 47 x cos x 4 48 x cos 4 x 49 x l 4 x 4 50 x 4 e x Exercises 5 5 Roots of x x 0 Fid the limit L of a to eight decimal places Show that L is a root of the equatio x x 0 5 a 50, a 0 l a l 5 a, a 0a 53 Explore I the recursive formula for Exercise 30, a a, may differet iitial values give sequeces that coverge to the same value There are iitial values that do ot work, however We obviously caot use a 0 because a would the be udefied, ad we caot use a umber as a iitial value that would lead to 0 For example, solvig a 0, we get a If we were to try a, we would get a 0ad the a 3 would be udefied (a) Solve ad a fid aother iadmissible value for a (b) Fid a sequece i exact form of iadmissible iitial value umbers (c) Show that a 3 5 is iadmissible by computig the first few terms i exact form (d) Try a 06 ad compute the first few terms by usig the Techology Tip (page 444) Explai the differece i results from part (c) 54 The sequece a is give by a x x, where 3 i x (a) Use DeMoivre s theorem to evaluate x x, the show that a cos( 0 ) (b) Write out the first six terms of the sequece ad fid their sum (c) What is the sum of the first 00 terms? Exercises Sequece a coverges to a umber L (a) Use the Techology Tip to approximate L (b) Use algebra to fid the exact value of L 55 a a a 4 a for 56 a a a 3 a for 57 a a a a for 58 a a a for 59 a 6 a 6 a for 60 a a 4 a for Exercises 6 6 Sequeces a ad b coverge; sequece c diverges (a) Fid approximatios (6 decimal places) for the limits of a ad b (b) Fid subsequeces of c that coverge ad approximate their limits 6 a, a 4 a ; b, b 4 b c, c 4 c 6 a 4, a 4 3 a ; b 4, b 4 3 b c 4, c 4 3 c

9.1. Sequences and Series. Sequences. What you should learn. Why you should learn it. Definition of Sequence

9.1. Sequences and Series. Sequences. What you should learn. Why you should learn it. Definition of Sequence _9.qxd // : AM Page Chapter 9 Sequeces, Series, ad Probability 9. Sequeces ad Series What you should lear Use sequece otatio to write the terms of sequeces. Use factorial otatio. Use summatio otatio to

More information

NTH, GEOMETRIC, AND TELESCOPING TEST

NTH, GEOMETRIC, AND TELESCOPING TEST NTH, GEOMETRIC, AND TELESCOPING TEST Sectio 9. Calculus BC AP/Dual, Revised 08 viet.dag@humbleisd.et /4/08 0:0 PM 9.: th, Geometric, ad Telescopig Test SUMMARY OF TESTS FOR SERIES Lookig at the first few

More information

Intro to Scientific Computing: Solutions

Intro to Scientific Computing: Solutions Itro to Scietific Computig: Solutios Dr. David M. Goulet. How may steps does it take to separate 3 objects ito groups of 4? We start with 5 objects ad apply 3 steps of the algorithm to reduce the pile

More information

Recursive Procedures. How can you model the relationship between consecutive terms of a sequence?

Recursive Procedures. How can you model the relationship between consecutive terms of a sequence? 6. Recursive Procedures I Sectio 6.1, you used fuctio otatio to write a explicit formula to determie the value of ay term i a Sometimes it is easier to calculate oe term i a sequece usig the previous terms.

More information

. Written in factored form it is easy to see that the roots are 2, 2, i,

. Written in factored form it is easy to see that the roots are 2, 2, i, CMPS A Itroductio to Programmig Programmig Assigmet 4 I this assigmet you will write a java program that determies the real roots of a polyomial that lie withi a specified rage. Recall that the roots (or

More information

Alpha Individual Solutions MAΘ National Convention 2013

Alpha Individual Solutions MAΘ National Convention 2013 Alpha Idividual Solutios MAΘ Natioal Covetio 0 Aswers:. D. A. C 4. D 5. C 6. B 7. A 8. C 9. D 0. B. B. A. D 4. C 5. A 6. C 7. B 8. A 9. A 0. C. E. B. D 4. C 5. A 6. D 7. B 8. C 9. D 0. B TB. 570 TB. 5

More information

Python Programming: An Introduction to Computer Science

Python Programming: An Introduction to Computer Science Pytho Programmig: A Itroductio to Computer Sciece Chapter 6 Defiig Fuctios Pytho Programmig, 2/e 1 Objectives To uderstad why programmers divide programs up ito sets of cooperatig fuctios. To be able to

More information

COSC 1P03. Ch 7 Recursion. Introduction to Data Structures 8.1

COSC 1P03. Ch 7 Recursion. Introduction to Data Structures 8.1 COSC 1P03 Ch 7 Recursio Itroductio to Data Structures 8.1 COSC 1P03 Recursio Recursio I Mathematics factorial Fiboacci umbers defie ifiite set with fiite defiitio I Computer Sciece sytax rules fiite defiitio,

More information

Parabolic Path to a Best Best-Fit Line:

Parabolic Path to a Best Best-Fit Line: Studet Activity : Fidig the Least Squares Regressio Lie By Explorig the Relatioship betwee Slope ad Residuals Objective: How does oe determie a best best-fit lie for a set of data? Eyeballig it may be

More information

Civil Engineering Computation

Civil Engineering Computation Civil Egieerig Computatio Fidig Roots of No-Liear Equatios March 14, 1945 World War II The R.A.F. first operatioal use of the Grad Slam bomb, Bielefeld, Germay. Cotets 2 Root basics Excel solver Newto-Raphso

More information

Lecture 1: Introduction and Strassen s Algorithm

Lecture 1: Introduction and Strassen s Algorithm 5-750: Graduate Algorithms Jauary 7, 08 Lecture : Itroductio ad Strasse s Algorithm Lecturer: Gary Miller Scribe: Robert Parker Itroductio Machie models I this class, we will primarily use the Radom Access

More information

Numerical Methods Lecture 6 - Curve Fitting Techniques

Numerical Methods Lecture 6 - Curve Fitting Techniques Numerical Methods Lecture 6 - Curve Fittig Techiques Topics motivatio iterpolatio liear regressio higher order polyomial form expoetial form Curve fittig - motivatio For root fidig, we used a give fuctio

More information

Arithmetic Sequences

Arithmetic Sequences . Arithmetic Sequeces COMMON CORE Learig Stadards HSF-IF.A. HSF-BF.A.1a HSF-BF.A. HSF-LE.A. Essetial Questio How ca you use a arithmetic sequece to describe a patter? A arithmetic sequece is a ordered

More information

Math 10C Long Range Plans

Math 10C Long Range Plans Math 10C Log Rage Plas Uits: Evaluatio: Homework, projects ad assigmets 10% Uit Tests. 70% Fial Examiatio.. 20% Ay Uit Test may be rewritte for a higher mark. If the retest mark is higher, that mark will

More information

Project 2.5 Improved Euler Implementation

Project 2.5 Improved Euler Implementation Project 2.5 Improved Euler Implemetatio Figure 2.5.10 i the text lists TI-85 ad BASIC programs implemetig the improved Euler method to approximate the solutio of the iitial value problem dy dx = x+ y,

More information

The isoperimetric problem on the hypercube

The isoperimetric problem on the hypercube The isoperimetric problem o the hypercube Prepared by: Steve Butler November 2, 2005 1 The isoperimetric problem We will cosider the -dimesioal hypercube Q Recall that the hypercube Q is a graph whose

More information

South Slave Divisional Education Council. Math 10C

South Slave Divisional Education Council. Math 10C South Slave Divisioal Educatio Coucil Math 10C Curriculum Package February 2012 12 Strad: Measuremet Geeral Outcome: Develop spatial sese ad proportioal reasoig It is expected that studets will: 1. Solve

More information

Section 7.2: Direction Fields and Euler s Methods

Section 7.2: Direction Fields and Euler s Methods Sectio 7.: Directio ields ad Euler s Methods Practice HW from Stewart Tetbook ot to had i p. 5 # -3 9-3 odd or a give differetial equatio we wat to look at was to fid its solutio. I this chapter we will

More information

Ch 9.3 Geometric Sequences and Series Lessons

Ch 9.3 Geometric Sequences and Series Lessons Ch 9.3 Geometric Sequeces ad Series Lessos SKILLS OBJECTIVES Recogize a geometric sequece. Fid the geeral, th term of a geometric sequece. Evaluate a fiite geometric series. Evaluate a ifiite geometric

More information

FURTHER INTEGRATION TECHNIQUES (TRIG, LOG, EXP FUNCTIONS)

FURTHER INTEGRATION TECHNIQUES (TRIG, LOG, EXP FUNCTIONS) Mathematics Revisio Guides More Trigoometric ad Log Itegrals Page of 7 MK HOME TUITION Mathematics Revisio Guides Level: AS / A Level AQA : C Edexcel: C OCR: C OCR MEI: C FURTHER INTEGRATION TECHNIQUES

More information

Pattern Recognition Systems Lab 1 Least Mean Squares

Pattern Recognition Systems Lab 1 Least Mean Squares Patter Recogitio Systems Lab 1 Least Mea Squares 1. Objectives This laboratory work itroduces the OpeCV-based framework used throughout the course. I this assigmet a lie is fitted to a set of poits usig

More information

Math 3201 Notes Chapter 4: Rational Expressions & Equations

Math 3201 Notes Chapter 4: Rational Expressions & Equations Learig Goals: See p. tet.. Equivalet Ratioal Epressios ( classes) Read Goal p. 6 tet. Math 0 Notes Chapter : Ratioal Epressios & Equatios. Defie ad give a eample of a ratioal epressio. p. 6. Defie o-permissible

More information

Python Programming: An Introduction to Computer Science

Python Programming: An Introduction to Computer Science Pytho Programmig: A Itroductio to Computer Sciece Chapter 1 Computers ad Programs 1 Objectives To uderstad the respective roles of hardware ad software i a computig system. To lear what computer scietists

More information

Polynomial Functions and Models. Learning Objectives. Polynomials. P (x) = a n x n + a n 1 x n a 1 x + a 0, a n 0

Polynomial Functions and Models. Learning Objectives. Polynomials. P (x) = a n x n + a n 1 x n a 1 x + a 0, a n 0 Polyomial Fuctios ad Models 1 Learig Objectives 1. Idetify polyomial fuctios ad their degree 2. Graph polyomial fuctios usig trasformatios 3. Idetify the real zeros of a polyomial fuctio ad their multiplicity

More information

1.2 Binomial Coefficients and Subsets

1.2 Binomial Coefficients and Subsets 1.2. BINOMIAL COEFFICIENTS AND SUBSETS 13 1.2 Biomial Coefficiets ad Subsets 1.2-1 The loop below is part of a program to determie the umber of triagles formed by poits i the plae. for i =1 to for j =

More information

Consider the following population data for the state of California. Year Population

Consider the following population data for the state of California. Year Population Assigmets for Bradie Fall 2016 for Chapter 5 Assigmet sheet for Sectios 5.1, 5.3, 5.5, 5.6, 5.7, 5.8 Read Pages 341-349 Exercises for Sectio 5.1 Lagrage Iterpolatio #1, #4, #7, #13, #14 For #1 use MATLAB

More information

Investigation Monitoring Inventory

Investigation Monitoring Inventory Ivestigatio Moitorig Ivetory Name Period Date Art Smith has bee providig the prits of a egravig to FieArt Gallery. He plas to make just 2000 more prits. FieArt has already received 70 of Art s prits. The

More information

MATHEMATICAL METHODS OF ANALYSIS AND EXPERIMENTAL DATA PROCESSING (Or Methods of Curve Fitting)

MATHEMATICAL METHODS OF ANALYSIS AND EXPERIMENTAL DATA PROCESSING (Or Methods of Curve Fitting) MATHEMATICAL METHODS OF ANALYSIS AND EXPERIMENTAL DATA PROCESSING (Or Methods of Curve Fittig) I this chapter, we will eamie some methods of aalysis ad data processig; data obtaied as a result of a give

More information

Ones Assignment Method for Solving Traveling Salesman Problem

Ones Assignment Method for Solving Traveling Salesman Problem Joural of mathematics ad computer sciece 0 (0), 58-65 Oes Assigmet Method for Solvig Travelig Salesma Problem Hadi Basirzadeh Departmet of Mathematics, Shahid Chamra Uiversity, Ahvaz, Ira Article history:

More information

Solution printed. Do not start the test until instructed to do so! CS 2604 Data Structures Midterm Spring, Instructions:

Solution printed. Do not start the test until instructed to do so! CS 2604 Data Structures Midterm Spring, Instructions: CS 604 Data Structures Midterm Sprig, 00 VIRG INIA POLYTECHNIC INSTITUTE AND STATE U T PROSI M UNI VERSI TY Istructios: Prit your ame i the space provided below. This examiatio is closed book ad closed

More information

EVALUATION OF TRIGONOMETRIC FUNCTIONS

EVALUATION OF TRIGONOMETRIC FUNCTIONS EVALUATION OF TRIGONOMETRIC FUNCTIONS Whe first exposed to trigoometric fuctios i high school studets are expected to memorize the values of the trigoometric fuctios of sie cosie taget for the special

More information

Math Section 2.2 Polynomial Functions

Math Section 2.2 Polynomial Functions Math 1330 - Sectio. Polyomial Fuctios Our objectives i workig with polyomial fuctios will be, first, to gather iformatio about the graph of the fuctio ad, secod, to use that iformatio to geerate a reasoably

More information

The Closest Line to a Data Set in the Plane. David Gurney Southeastern Louisiana University Hammond, Louisiana

The Closest Line to a Data Set in the Plane. David Gurney Southeastern Louisiana University Hammond, Louisiana The Closest Lie to a Data Set i the Plae David Gurey Southeaster Louisiaa Uiversity Hammod, Louisiaa ABSTRACT This paper looks at three differet measures of distace betwee a lie ad a data set i the plae:

More information

Lecture Notes 6 Introduction to algorithm analysis CSS 501 Data Structures and Object-Oriented Programming

Lecture Notes 6 Introduction to algorithm analysis CSS 501 Data Structures and Object-Oriented Programming Lecture Notes 6 Itroductio to algorithm aalysis CSS 501 Data Structures ad Object-Orieted Programmig Readig for this lecture: Carrao, Chapter 10 To be covered i this lecture: Itroductio to algorithm aalysis

More information

On Infinite Groups that are Isomorphic to its Proper Infinite Subgroup. Jaymar Talledo Balihon. Abstract

On Infinite Groups that are Isomorphic to its Proper Infinite Subgroup. Jaymar Talledo Balihon. Abstract O Ifiite Groups that are Isomorphic to its Proper Ifiite Subgroup Jaymar Talledo Baliho Abstract Two groups are isomorphic if there exists a isomorphism betwee them Lagrage Theorem states that the order

More information

The number n of subintervals times the length h of subintervals gives length of interval (b-a).

The number n of subintervals times the length h of subintervals gives length of interval (b-a). Simulator with MadMath Kit: Riema Sums (Teacher s pages) I your kit: 1. GeoGebra file: Ready-to-use projector sized simulator: RiemaSumMM.ggb 2. RiemaSumMM.pdf (this file) ad RiemaSumMMEd.pdf (educator's

More information

Lecture 18. Optimization in n dimensions

Lecture 18. Optimization in n dimensions Lecture 8 Optimizatio i dimesios Itroductio We ow cosider the problem of miimizig a sigle scalar fuctio of variables, f x, where x=[ x, x,, x ]T. The D case ca be visualized as fidig the lowest poit of

More information

Octahedral Graph Scaling

Octahedral Graph Scaling Octahedral Graph Scalig Peter Russell Jauary 1, 2015 Abstract There is presetly o strog iterpretatio for the otio of -vertex graph scalig. This paper presets a ew defiitio for the term i the cotext of

More information

Chapter 1. Introduction to Computers and C++ Programming. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 1. Introduction to Computers and C++ Programming. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 1 Itroductio to Computers ad C++ Programmig Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 1.1 Computer Systems 1.2 Programmig ad Problem Solvig 1.3 Itroductio to C++ 1.4 Testig

More information

Lecture 7 7 Refraction and Snell s Law Reading Assignment: Read Kipnis Chapter 4 Refraction of Light, Section III, IV

Lecture 7 7 Refraction and Snell s Law Reading Assignment: Read Kipnis Chapter 4 Refraction of Light, Section III, IV Lecture 7 7 Refractio ad Sell s Law Readig Assigmet: Read Kipis Chapter 4 Refractio of Light, Sectio III, IV 7. History I Eglish-speakig coutries, the law of refractio is kow as Sell s Law, after the Dutch

More information

Analysis Metrics. Intro to Algorithm Analysis. Slides. 12. Alg Analysis. 12. Alg Analysis

Analysis Metrics. Intro to Algorithm Analysis. Slides. 12. Alg Analysis. 12. Alg Analysis Itro to Algorithm Aalysis Aalysis Metrics Slides. Table of Cotets. Aalysis Metrics 3. Exact Aalysis Rules 4. Simple Summatio 5. Summatio Formulas 6. Order of Magitude 7. Big-O otatio 8. Big-O Theorems

More information

CIS 121 Data Structures and Algorithms with Java Spring Stacks and Queues Monday, February 12 / Tuesday, February 13

CIS 121 Data Structures and Algorithms with Java Spring Stacks and Queues Monday, February 12 / Tuesday, February 13 CIS Data Structures ad Algorithms with Java Sprig 08 Stacks ad Queues Moday, February / Tuesday, February Learig Goals Durig this lab, you will: Review stacks ad queues. Lear amortized ruig time aalysis

More information

9 x and g(x) = 4. x. Find (x) 3.6. I. Combining Functions. A. From Equations. Example: Let f(x) = and its domain. Example: Let f(x) = and g(x) = x x 4

9 x and g(x) = 4. x. Find (x) 3.6. I. Combining Functions. A. From Equations. Example: Let f(x) = and its domain. Example: Let f(x) = and g(x) = x x 4 1 3.6 I. Combiig Fuctios A. From Equatios Example: Let f(x) = 9 x ad g(x) = 4 f x. Fid (x) g ad its domai. 4 Example: Let f(x) = ad g(x) = x x 4. Fid (f-g)(x) B. From Graphs: Graphical Additio. Example:

More information

CHAPTER IV: GRAPH THEORY. Section 1: Introduction to Graphs

CHAPTER IV: GRAPH THEORY. Section 1: Introduction to Graphs CHAPTER IV: GRAPH THEORY Sectio : Itroductio to Graphs Sice this class is called Number-Theoretic ad Discrete Structures, it would be a crime to oly focus o umber theory regardless how woderful those topics

More information

Examples and Applications of Binary Search

Examples and Applications of Binary Search Toy Gog ITEE Uiersity of Queeslad I the secod lecture last week we studied the biary search algorithm that soles the problem of determiig if a particular alue appears i a sorted list of iteger or ot. We

More information

12-5A. Equivalent Fractions and Decimals. 1 Daily Common Core Review. Common Core. Lesson. Lesson Overview. Math Background

12-5A. Equivalent Fractions and Decimals. 1 Daily Common Core Review. Common Core. Lesson. Lesson Overview. Math Background Lesso -A Equivalet Fractios ad Decimals Commo Core Lesso Overview Domai Number ad Operatios Fractios Cluster Uderstad decimal otatio for fractios, ad compare decimal fractios. Stadards.NF. Use decimal

More information

CIS 121 Data Structures and Algorithms with Java Spring Stacks, Queues, and Heaps Monday, February 18 / Tuesday, February 19

CIS 121 Data Structures and Algorithms with Java Spring Stacks, Queues, and Heaps Monday, February 18 / Tuesday, February 19 CIS Data Structures ad Algorithms with Java Sprig 09 Stacks, Queues, ad Heaps Moday, February 8 / Tuesday, February 9 Stacks ad Queues Recall the stack ad queue ADTs (abstract data types from lecture.

More information

condition w i B i S maximum u i

condition w i B i S maximum u i ecture 10 Dyamic Programmig 10.1 Kapsack Problem November 1, 2004 ecturer: Kamal Jai Notes: Tobias Holgers We are give a set of items U = {a 1, a 2,..., a }. Each item has a weight w i Z + ad a utility

More information

CSC165H1 Worksheet: Tutorial 8 Algorithm analysis (SOLUTIONS)

CSC165H1 Worksheet: Tutorial 8 Algorithm analysis (SOLUTIONS) CSC165H1, Witer 018 Learig Objectives By the ed of this worksheet, you will: Aalyse the ruig time of fuctios cotaiig ested loops. 1. Nested loop variatios. Each of the followig fuctios takes as iput a

More information

Recursion. Recursion. Mathematical induction: example. Recursion. The sum of the first n odd numbers is n 2 : Informal proof: Principle:

Recursion. Recursion. Mathematical induction: example. Recursion. The sum of the first n odd numbers is n 2 : Informal proof: Principle: Recursio Recursio Jordi Cortadella Departmet of Computer Sciece Priciple: Reduce a complex problem ito a simpler istace of the same problem Recursio Itroductio to Programmig Dept. CS, UPC 2 Mathematical

More information

How do we evaluate algorithms?

How do we evaluate algorithms? F2 Readig referece: chapter 2 + slides Algorithm complexity Big O ad big Ω To calculate ruig time Aalysis of recursive Algorithms Next time: Litterature: slides mostly The first Algorithm desig methods:

More information

Recursion. Computer Science S-111 Harvard University David G. Sullivan, Ph.D. Review: Method Frames

Recursion. Computer Science S-111 Harvard University David G. Sullivan, Ph.D. Review: Method Frames Uit 4, Part 3 Recursio Computer Sciece S-111 Harvard Uiversity David G. Sulliva, Ph.D. Review: Method Frames Whe you make a method call, the Java rutime sets aside a block of memory kow as the frame of

More information

27 Refraction, Dispersion, Internal Reflection

27 Refraction, Dispersion, Internal Reflection Chapter 7 Refractio, Dispersio, Iteral Reflectio 7 Refractio, Dispersio, Iteral Reflectio Whe we talked about thi film iterferece, we said that whe light ecouters a smooth iterface betwee two trasparet

More information

Computer Science Foundation Exam. August 12, Computer Science. Section 1A. No Calculators! KEY. Solutions and Grading Criteria.

Computer Science Foundation Exam. August 12, Computer Science. Section 1A. No Calculators! KEY. Solutions and Grading Criteria. Computer Sciece Foudatio Exam August, 005 Computer Sciece Sectio A No Calculators! Name: SSN: KEY Solutios ad Gradig Criteria Score: 50 I this sectio of the exam, there are four (4) problems. You must

More information

CMPT 125 Assignment 2 Solutions

CMPT 125 Assignment 2 Solutions CMPT 25 Assigmet 2 Solutios Questio (20 marks total) a) Let s cosider a iteger array of size 0. (0 marks, each part is 2 marks) it a[0]; I. How would you assig a poiter, called pa, to store the address

More information

Area As A Limit & Sigma Notation

Area As A Limit & Sigma Notation Area As A Limit & Sigma Notatio SUGGESTED REFERENCE MATERIAL: As you work through the problems listed below, you should referece Chapter 5.4 of the recommeded textbook (or the equivalet chapter i your

More information

Pseudocode ( 1.1) Analysis of Algorithms. Primitive Operations. Pseudocode Details. Running Time ( 1.1) Estimating performance

Pseudocode ( 1.1) Analysis of Algorithms. Primitive Operations. Pseudocode Details. Running Time ( 1.1) Estimating performance Aalysis of Algorithms Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite amout of time. Pseudocode ( 1.1) High-level descriptio of a algorithm More structured

More information

Chapter 3 Classification of FFT Processor Algorithms

Chapter 3 Classification of FFT Processor Algorithms Chapter Classificatio of FFT Processor Algorithms The computatioal complexity of the Discrete Fourier trasform (DFT) is very high. It requires () 2 complex multiplicatios ad () complex additios [5]. As

More information

Protected points in ordered trees

Protected points in ordered trees Applied Mathematics Letters 008 56 50 www.elsevier.com/locate/aml Protected poits i ordered trees Gi-Sag Cheo a, Louis W. Shapiro b, a Departmet of Mathematics, Sugkyukwa Uiversity, Suwo 440-746, Republic

More information

Chapter 5. Functions for All Subtasks. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 5. Functions for All Subtasks. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 5 Fuctios for All Subtasks Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 5.1 void Fuctios 5.2 Call-By-Referece Parameters 5.3 Usig Procedural Abstractio 5.4 Testig ad Debuggig

More information

Chapter 11. Friends, Overloaded Operators, and Arrays in Classes. Copyright 2014 Pearson Addison-Wesley. All rights reserved.

Chapter 11. Friends, Overloaded Operators, and Arrays in Classes. Copyright 2014 Pearson Addison-Wesley. All rights reserved. Chapter 11 Frieds, Overloaded Operators, ad Arrays i Classes Copyright 2014 Pearso Addiso-Wesley. All rights reserved. Overview 11.1 Fried Fuctios 11.2 Overloadig Operators 11.3 Arrays ad Classes 11.4

More information

A Resource for Free-standing Mathematics Qualifications

A Resource for Free-standing Mathematics Qualifications Ope.ls The first sheet is show elow. It is set up to show graphs with equatios of the form = m + c At preset the values of m ad c are oth zero. You ca chage these values usig the scroll ars. Leave the

More information

Counting Regions in the Plane and More 1

Counting Regions in the Plane and More 1 Coutig Regios i the Plae ad More 1 by Zvezdelia Stakova Berkeley Math Circle Itermediate I Group September 016 1. Overarchig Problem Problem 1 Regios i a Circle. The vertices of a polygos are arraged o

More information

A New Morphological 3D Shape Decomposition: Grayscale Interframe Interpolation Method

A New Morphological 3D Shape Decomposition: Grayscale Interframe Interpolation Method A ew Morphological 3D Shape Decompositio: Grayscale Iterframe Iterpolatio Method D.. Vizireau Politehica Uiversity Bucharest, Romaia ae@comm.pub.ro R. M. Udrea Politehica Uiversity Bucharest, Romaia mihea@comm.pub.ro

More information

Mathematical Stat I: solutions of homework 1

Mathematical Stat I: solutions of homework 1 Mathematical Stat I: solutios of homework Name: Studet Id N:. Suppose we tur over cards simultaeously from two well shuffled decks of ordiary playig cards. We say we obtai a exact match o a particular

More information

1. The lines intersect. There is one solution, the point where they intersect. The system is called a consistent system.

1. The lines intersect. There is one solution, the point where they intersect. The system is called a consistent system. Commo Core Math 3 Notes Uit Day Systems I. Systems of Liear Equatios A system of two liear equatios i two variables is two equatios cosidered together. To solve a system is to fid all the ordered pairs

More information

Chapter 9. Pointers and Dynamic Arrays. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 9. Pointers and Dynamic Arrays. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 9 Poiters ad Dyamic Arrays Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 9.1 Poiters 9.2 Dyamic Arrays Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Slide 9-3

More information

WebAssign Lesson 6-1b Geometric Series (Homework)

WebAssign Lesson 6-1b Geometric Series (Homework) WebAssig Lesso 6-b Geometric Series (Homework) Curret Score : / 49 Due : Wedesday, July 30 204 :0 AM MDT Jaimos Skriletz Math 75, sectio 3, Summer 2 204 Istructor: Jaimos Skriletz. /2 poitsrogac alcet2

More information

Descriptive Statistics Summary Lists

Descriptive Statistics Summary Lists Chapter 209 Descriptive Statistics Summary Lists Itroductio This procedure is used to summarize cotiuous data. Large volumes of such data may be easily summarized i statistical lists of meas, couts, stadard

More information

Big-O Analysis. Asymptotics

Big-O Analysis. Asymptotics Big-O Aalysis 1 Defiitio: Suppose that f() ad g() are oegative fuctios of. The we say that f() is O(g()) provided that there are costats C > 0 ad N > 0 such that for all > N, f() Cg(). Big-O expresses

More information

Chapter 10. Defining Classes. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 10. Defining Classes. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 10 Defiig Classes Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 10.1 Structures 10.2 Classes 10.3 Abstract Data Types 10.4 Itroductio to Iheritace Copyright 2015 Pearso Educatio,

More information

CS 111: Program Design I Lecture # 7: First Loop, Web Crawler, Functions

CS 111: Program Design I Lecture # 7: First Loop, Web Crawler, Functions CS 111: Program Desig I Lecture # 7: First Loop, Web Crawler, Fuctios Robert H. Sloa & Richard Warer Uiversity of Illiois at Chicago September 18, 2018 What will this prit? x = 5 if x == 3: prit("hi!")

More information

Exercise 6 (Week 42) For the foreign students only.

Exercise 6 (Week 42) For the foreign students only. These are the last exercises of the course. Please, remember that to pass exercises, the sum of the poits gathered by solvig the questios ad attedig the exercise groups must be at least 4% ( poits) of

More information

Homework 1 Solutions MA 522 Fall 2017

Homework 1 Solutions MA 522 Fall 2017 Homework 1 Solutios MA 5 Fall 017 1. Cosider the searchig problem: Iput A sequece of umbers A = [a 1,..., a ] ad a value v. Output A idex i such that v = A[i] or the special value NIL if v does ot appear

More information

Lecture 5. Counting Sort / Radix Sort

Lecture 5. Counting Sort / Radix Sort Lecture 5. Coutig Sort / Radix Sort T. H. Corme, C. E. Leiserso ad R. L. Rivest Itroductio to Algorithms, 3rd Editio, MIT Press, 2009 Sugkyukwa Uiversity Hyuseug Choo choo@skku.edu Copyright 2000-2018

More information

The Graphs of Polynomial Functions

The Graphs of Polynomial Functions Sectio 4.3 The Graphs of Polyomial Fuctios Objective 1: Uderstadig the Defiitio of a Polyomial Fuctio Defiitio Polyomial Fuctio 1 2 The fuctio ax a 1x a 2x a1x a0 is a polyomial fuctio of degree where

More information

SEQUENCES AND SERIES

SEQUENCES AND SERIES SEQUENCES AND SERIES U N I The umber of gifts set i the popular Christmas Carol days of Christmas form a sequece. A part of the sog goes this way O the th day of Christmas my true love gave to me drummers

More information

APPLICATION NOTE PACE1750AE BUILT-IN FUNCTIONS

APPLICATION NOTE PACE1750AE BUILT-IN FUNCTIONS APPLICATION NOTE PACE175AE BUILT-IN UNCTIONS About This Note This applicatio brief is iteded to explai ad demostrate the use of the special fuctios that are built ito the PACE175AE processor. These powerful

More information

n Some thoughts on software development n The idea of a calculator n Using a grammar n Expression evaluation n Program organization n Analysis

n Some thoughts on software development n The idea of a calculator n Using a grammar n Expression evaluation n Program organization n Analysis Overview Chapter 6 Writig a Program Bjare Stroustrup Some thoughts o software developmet The idea of a calculator Usig a grammar Expressio evaluatio Program orgaizatio www.stroustrup.com/programmig 3 Buildig

More information

A Generalized Set Theoretic Approach for Time and Space Complexity Analysis of Algorithms and Functions

A Generalized Set Theoretic Approach for Time and Space Complexity Analysis of Algorithms and Functions Proceedigs of the 10th WSEAS Iteratioal Coferece o APPLIED MATHEMATICS, Dallas, Texas, USA, November 1-3, 2006 316 A Geeralized Set Theoretic Approach for Time ad Space Complexity Aalysis of Algorithms

More information

CIS 121 Data Structures and Algorithms with Java Fall Big-Oh Notation Tuesday, September 5 (Make-up Friday, September 8)

CIS 121 Data Structures and Algorithms with Java Fall Big-Oh Notation Tuesday, September 5 (Make-up Friday, September 8) CIS 11 Data Structures ad Algorithms with Java Fall 017 Big-Oh Notatio Tuesday, September 5 (Make-up Friday, September 8) Learig Goals Review Big-Oh ad lear big/small omega/theta otatios Practice solvig

More information

Module 8-7: Pascal s Triangle and the Binomial Theorem

Module 8-7: Pascal s Triangle and the Binomial Theorem Module 8-7: Pascal s Triagle ad the Biomial Theorem Gregory V. Bard April 5, 017 A Note about Notatio Just to recall, all of the followig mea the same thig: ( 7 7C 4 C4 7 7C4 5 4 ad they are (all proouced

More information

Elementary Educational Computer

Elementary Educational Computer Chapter 5 Elemetary Educatioal Computer. Geeral structure of the Elemetary Educatioal Computer (EEC) The EEC coforms to the 5 uits structure defied by vo Neuma's model (.) All uits are preseted i a simplified

More information

Name Date Hr. ALGEBRA 1-2 SPRING FINAL MULTIPLE CHOICE REVIEW #1

Name Date Hr. ALGEBRA 1-2 SPRING FINAL MULTIPLE CHOICE REVIEW #1 Name Date Hr. ALGEBRA - SPRING FINAL MULTIPLE CHOICE REVIEW #. The high temperatures for Phoeix i October of 009 are listed below. Which measure of ceter will provide the most accurate estimatio of the

More information

5.3 Recursive definitions and structural induction

5.3 Recursive definitions and structural induction /8/05 5.3 Recursive defiitios ad structural iductio CSE03 Discrete Computatioal Structures Lecture 6 A recursively defied picture Recursive defiitios e sequece of powers of is give by a = for =0,,, Ca

More information

IMP: Superposer Integrated Morphometrics Package Superposition Tool

IMP: Superposer Integrated Morphometrics Package Superposition Tool IMP: Superposer Itegrated Morphometrics Package Superpositio Tool Programmig by: David Lieber ( 03) Caisius College 200 Mai St. Buffalo, NY 4208 Cocept by: H. David Sheets, Dept. of Physics, Caisius College

More information

Last class. n Scheme. n Equality testing. n eq? vs. equal? n Higher-order functions. n map, foldr, foldl. n Tail recursion

Last class. n Scheme. n Equality testing. n eq? vs. equal? n Higher-order functions. n map, foldr, foldl. n Tail recursion Aoucemets HW6 due today HW7 is out A team assigmet Submitty page will be up toight Fuctioal correctess: 75%, Commets : 25% Last class Equality testig eq? vs. equal? Higher-order fuctios map, foldr, foldl

More information

BOOLEAN MATHEMATICS: GENERAL THEORY

BOOLEAN MATHEMATICS: GENERAL THEORY CHAPTER 3 BOOLEAN MATHEMATICS: GENERAL THEORY 3.1 ISOMORPHIC PROPERTIES The ame Boolea Arithmetic was chose because it was discovered that literal Boolea Algebra could have a isomorphic umerical aspect.

More information

2) Give an example of a polynomial function of degree 4 with leading coefficient of -6

2) Give an example of a polynomial function of degree 4 with leading coefficient of -6 Math 165 Read ahead some cocepts from sectios 4.1 Read the book or the power poit presetatios for this sectio to complete pages 1 ad 2 Please, do ot complete the other pages of the hadout If you wat to

More information

1.8 What Comes Next? What Comes Later?

1.8 What Comes Next? What Comes Later? 35 1.8 What Comes Next? What Comes Later? A Practice Uderstadig Task For each of the followig tables, CC BY Hiroaki Maeda https://flic.kr/p/6r8odk describe how to fid the ext term i the sequece, write

More information

the beginning of the program in order for it to work correctly. Similarly, a Confirm

the beginning of the program in order for it to work correctly. Similarly, a Confirm I our sytax, a Assume statemet will be used to record what must be true at the begiig of the program i order for it to work correctly. Similarly, a Cofirm statemet is used to record what should be true

More information

SD vs. SD + One of the most important uses of sample statistics is to estimate the corresponding population parameters.

SD vs. SD + One of the most important uses of sample statistics is to estimate the corresponding population parameters. SD vs. SD + Oe of the most importat uses of sample statistics is to estimate the correspodig populatio parameters. The mea of a represetative sample is a good estimate of the mea of the populatio that

More information

One advantage that SONAR has over any other music-sequencing product I ve worked

One advantage that SONAR has over any other music-sequencing product I ve worked *gajedra* D:/Thomso_Learig_Projects/Garrigus_163132/z_productio/z_3B2_3D_files/Garrigus_163132_ch17.3d, 14/11/08/16:26:39, 16:26, page: 647 17 CAL 101 Oe advatage that SONAR has over ay other music-sequecig

More information

Lecturers: Sanjam Garg and Prasad Raghavendra Feb 21, Midterm 1 Solutions

Lecturers: Sanjam Garg and Prasad Raghavendra Feb 21, Midterm 1 Solutions U.C. Berkeley CS170 : Algorithms Midterm 1 Solutios Lecturers: Sajam Garg ad Prasad Raghavedra Feb 1, 017 Midterm 1 Solutios 1. (4 poits) For the directed graph below, fid all the strogly coected compoets

More information

Basic allocator mechanisms The course that gives CMU its Zip! Memory Management II: Dynamic Storage Allocation Mar 6, 2000.

Basic allocator mechanisms The course that gives CMU its Zip! Memory Management II: Dynamic Storage Allocation Mar 6, 2000. 5-23 The course that gives CM its Zip Memory Maagemet II: Dyamic Storage Allocatio Mar 6, 2000 Topics Segregated lists Buddy system Garbage collectio Mark ad Sweep Copyig eferece coutig Basic allocator

More information

Evaluation scheme for Tracking in AMI

Evaluation scheme for Tracking in AMI A M I C o m m u i c a t i o A U G M E N T E D M U L T I - P A R T Y I N T E R A C T I O N http://www.amiproject.org/ Evaluatio scheme for Trackig i AMI S. Schreiber a D. Gatica-Perez b AMI WP4 Trackig:

More information

1 Graph Sparsfication

1 Graph Sparsfication CME 305: Discrete Mathematics ad Algorithms 1 Graph Sparsficatio I this sectio we discuss the approximatio of a graph G(V, E) by a sparse graph H(V, F ) o the same vertex set. I particular, we cosider

More information

The golden search method: Question 1

The golden search method: Question 1 1. Golde Sectio Search for the Mode of a Fuctio The golde search method: Questio 1 Suppose the last pair of poits at which we have a fuctio evaluatio is x(), y(). The accordig to the method, If f(x())

More information

The Magma Database file formats

The Magma Database file formats The Magma Database file formats Adrew Gaylard, Bret Pikey, ad Mart-Mari Breedt Johaesburg, South Africa 15th May 2006 1 Summary Magma is a ope-source object database created by Chris Muller, of Kasas City,

More information

Here are the coefficients of the terms listed above: 3,5,2,1,1 respectively.

Here are the coefficients of the terms listed above: 3,5,2,1,1 respectively. *. Operatios with Poloials: Let s start b defiig soe words. Ter: A ter is a uber, variable or the product of a uber ad variable(s). For eaple:,, z, a Coefficiet: A coefficiet is the ueric factor of the

More information