4 views

Uploaded by Tabitha Howard

- [LNM 1965] Chidume C. Geometric properties of Banach spaces and nonlinear iterations (LNM1965, Springer, 2008)(ISBN 1848821891)(336s).pdf
- Survival Models Solution Chapter 2
- Form 4 - 2007 - Module - Terengganu - Additional Mathematics - 05.pdf
- Process of Business Forecasting
- Paper
- JEE Main 2014 Mathematics Answer Keys by Triumph Academy
- MATH105_Exam3
- Laboratory Work 1, Optimization Techniques
- 643267
- Lossless Join Example
- Mathematics 2232 - Copy-2
- Recursive Sequence
- guia2IN1005C
- Stat Question Paper
- Dsp
- MIT18_03SCF11_ps1_s1s
- Articulo Networked Control Systems With Packet Delays and Losses
- Paper 1
- MCA-Maths-4
- Dynamic Programming

You are on page 1of 3

3n g(n)=n" Solution# $ccor%ing to the %efinition of O( )& we nee% to fin% 'ositive real ()s n* + c so that f(n),=c-g(n) for all n.=n* Pick n*=1 + c=1*/ f + cg are e0ual at n=1& an% g rises 1ore 0uickl2 than f after that. 3. f(n)=n!2nlogn g(n)=nlogn Solution# n*=2 + c=1* --4 think 4 sai% n*=1 + c=1* in class& 3ut that won)t work/ sorr2# consi%er w5 f(1)=1!2-1-log1=1!2-1-*=1 g(1)=1-log1=1-*=* so f(1) . 1*-g(1) --6he values we choose %o %e'en% on the 3ase of the log/ here we)ll assu1e 3ase 2 c. f(n)=1*** g(n)=3n3 Solution# n*=1 + c="** works %. f(n)= n g(n)=n51* Solution# n*=1 + c=1** works 2. 6rue or false& + e7'lain a. f(n) is 8(g(n)) i1'lies g(n) is 8(f(n)) Solution# 6rue# 4ntuitivel2& 8 is an e0uals& an% so is s211etric. 9ore s'ecificall2& we know f is O(g) + f is :(g) so 6here e7ist 'ositive ( c& c)& n* + n*) such that f(n),=cg(n) for all n.=n* an% f(n).=c)g(n) for all n.=n*) so

g(n),=f(n)5c) for all n.=n*) an% g(n).=f(n)5c for all n.=n* so g is O(f) an% g is :(f) so g is 8(f) 3. f(n) is 8(g(n)) i1'lies f(n) is O(g(n)) Solution# 6rue# ;ase% on the %efinition of 8& f(n) is O(g(n)) c. f(n) is :(g(n)) i1'lies f(n) is O(g(n)) Solution# <alse# Counter e7a1'le# f(n)=n2 + g(n)=n/ f(n) is :(g(n))& 3ut f(n) is =O6 O(g(n)) 3. <in% functions f(n) an% g(n) such that f(n) is O(g(n)) an% the constant c for the %efinition of O( ) 1ust 3e .1. 6hat is& fin% f + g such that c 1ust 3e greater than 1& as there is no sufficient n* when c=1. Solution# Consi%er f(n)=n!1 g(n)=n we know f(n) is O(g(n))/ 3oth run in linear ti1e >et f(n).g(n) for all values of n/ no n* we 'ick will hel' with this if we set c=1. 4nstea%& we nee% to 'ick c to 3e so1ething else/ sa2& 2. n!1 ,= 2n for n.=1 ". Write the O( ) run?ti1e of the functions with the following recurrence relations a. 6(n)=3!6(n?1)& where 6(*)=1 Solution# 6(n)=3!3!6(n?2)=3!3!3!6(n?3)=@=3k!6(*)=3k!1& where k=n& so O(n) ti1e. 3. 6(n)=3!6(n52) & where 6(1)=1 Solution# 6(n)=3!3!6(n5")=3!3!3!6(n5A)=@=3k!6(n52k) we want n52k=1 (since we know what 6(1) is)& so k=log2n so 6(n)=3logn!1& so O(logn) ti1e. c. 6(n)=3!6(n?1)!6(n?1) & where 6(*)=1 Solution# 6(n)=3 ! (3!6(n?2)) ! (3!6(n?2))= 3 ! (3!(3!6(n?3))!(3!6(n?3))) ! (3!(3!6(n?3))!(3!6(n?3))) We can tell the ( of calls to 6( ) is %ou3ling ever2 ti1e we e7'an% it further& so it runs in O(2n) ti1e. B. What)s the O( ) run?ti1e of this co%e frag1ent in ter1s of n#

int 7=*/ for(int i=n/i.=*/i??) if((iC3)==*) 3reak/ else 7!=i/ Solution# $t a glance we see a loo' an% it looks like it shoul% 3e O(n)/ it looks like we go through the loo' n ti1es. However& that D3reak) 1akes things a 3it weir%er. Consi%er how the loo' will work for an2 real %ata/ we start at so1e n& count 3ackwar%s until the value is a 1ulti'le of 3& at which 'oint we 3reak. So the loo')s co%e will run at 1ost 3 ti1es (not a function of n)/ so the whole thing is O(1). --Eecall that DC) is the re1ain%er o'erator/ iC3 %ivi%es i 32 3 an% returns the re1ain%er (which will 3e *& 1 or 2).

- [LNM 1965] Chidume C. Geometric properties of Banach spaces and nonlinear iterations (LNM1965, Springer, 2008)(ISBN 1848821891)(336s).pdfUploaded bysabsamtarte
- Survival Models Solution Chapter 2Uploaded byNayaz Maudarbucus
- Form 4 - 2007 - Module - Terengganu - Additional Mathematics - 05.pdfUploaded byZacky Mhd
- Process of Business ForecastingUploaded byHarsh Bir Kaur
- PaperUploaded byAkhilesh Kumar Mishra
- JEE Main 2014 Mathematics Answer Keys by Triumph AcademyUploaded byLokesh Kumar
- MATH105_Exam3Uploaded byexamkiller
- Laboratory Work 1, Optimization TechniquesUploaded byDragos Mocrii
- 643267Uploaded byYuga Wijaya
- Lossless Join ExampleUploaded byAnindya Mahata
- Mathematics 2232 - Copy-2Uploaded byOyebanji Olajide Fatai
- Recursive SequenceUploaded byJacob Richey
- guia2IN1005CUploaded byFrancisco Alonso Medina Medina
- Stat Question PaperUploaded byJenish Macwan
- DspUploaded byBryan Yepez
- MIT18_03SCF11_ps1_s1sUploaded byEliaGrassi
- Articulo Networked Control Systems With Packet Delays and LossesUploaded byPaulina Marquez
- Paper 1Uploaded bynaima mora
- MCA-Maths-4Uploaded byS Saha
- Dynamic ProgrammingUploaded bySuraj Krishnan
- National Curriculum StatementUploaded byDeon Botha
- Art96 Journal decantorUploaded byElena Presura
- notes5Uploaded byPollart
- Blooms Taxonomy of ObjectivesUploaded byallan.manaloto23
- Arnold Kennedy theorem of three centers - KOM_Lecture-22.pdfUploaded byVasudev Gupta
- CALC II RESULT FINAL 97Uploaded bynb9
- Critique 1Uploaded byKoshon Mitchell
- Mean Median ModeUploaded byUttam Kumar Das
- 2017 SP 12 Mathematics 12 QuesUploaded byAnush Bhatia
- 9Uploaded byAbhi 7

- Rimas de Una FrutaUploaded byTabitha Howard
- Croquis Del Domicilio DdddddddddUploaded byTabitha Howard
- EMCAD (clase1)Uploaded byTabitha Howard
- Encuentre Las Resistencias EquivalentesUploaded byTabitha Howard
- chEMCAD (clase1).docxUploaded byTabitha Howard
- 003 Informe Ruido Grover Cruce v Adela 2017.XlsxUploaded byTabitha Howard
- ENCUESTA PREGRADOUploaded byTabitha Howard
- Informacion Proyectos Hidroelectricos BOLIVIA (1)Uploaded byTabitha Howard
- 1074Uploaded byCONSET CONSULTORES
- RUPE LA PAZUploaded byTabitha Howard
- ley_gral_hig_seg_ocupUploaded byreynaldo_galindo_1
- Edad.txtUploaded byTabitha Howard
- Langosta EntomologiaUploaded byTabitha Howard
- Aplicacion Expert ChoiceUploaded byPablo Tovar Barrera
- Epa Enviromental Protection AgencyUploaded byTabitha Howard
- To ComlinkUploaded byTabitha Howard
- Rice Farming Education and TechnologyUploaded byTabitha Howard
- Https Videos Mmm EnglhisUploaded byTabitha Howard
- domanda_di_assunzione.docxUploaded byTabitha Howard
- Listado LuminariasUploaded byTabitha Howard
- Documento NtcUploaded byTabitha Howard
- Cambio Climático y AgriculturaUploaded byTabitha Howard
- EstimulacionSensorialUploaded byEmiliodeleon
- Adecuación Del Terreno y Replanteo en Los PlanosUploaded byTabitha Howard
- BasuraUploaded byTabitha Howard
- Saltar navegaciónUploaded byTabitha Howard
- Huella HidricaUploaded byTabitha Howard
- Evaporimetrothe LeafletUploaded byTabitha Howard
- TerritorioUploaded byTabitha Howard
- GgggUploaded byTabitha Howard

- Tugasan Project Management homework answers.pdfUploaded bysavannaheyz
- Canonical Correlation - MATLAB Canoncorr - MathWorks IndiaUploaded byYuvaraj Maran
- Algorithms Hw 2Uploaded byavocetave
- CS RAB Failure Due to DL Power Congestion - Improved by Changing DLALGOWSWITCH ParameterUploaded bySeth Mawuli Dedzoe
- Expanded Transshipment ModelUploaded byRaju Jadav
- Global Optimization ToolboxUploaded byyaserayaser
- Syllabus for 2028Uploaded byechoxiv
- Operating System - Elevator AlgorithmUploaded byHagane No Cire
- Tutorial 3Uploaded byloveloveng
- Ib Studies Descriptive Statistics Assessment 2012.09 Mark SchemeUploaded byJohn Ryan
- Laboratory ReportUploaded byAlikhan Shambulov
- Lab 1- Sampling and Quantization Using MATLABUploaded byDemeke Robi
- Standard Normal TableUploaded byDani Ramadani
- ch5.2Uploaded byjuntujuntu
- tma 2Uploaded byShiyun Se
- Rating ScalesUploaded byRadha Nancoo
- HASILUploaded bySutarto Tarto
- Oscm(Forecasting II)Uploaded byShivam Kushwaha
- Third Order ODE ExampleUploaded byBuiThaiChien
- DETERMINING SAMPLE SIZE FOR RESEARCH ACTIVITIESUploaded bystopbugging213
- Fore Casting Methods Gold PriceUploaded byVipul Sharma
- Geostatistics in reservoir eng.Uploaded byTirtasari Dewi
- Homework of data analysisUploaded byAndrew Garza
- tut02Uploaded byKaruppusamy Marappagounder
- Error AnalysisUploaded byAhmed El-eraky
- Week5 Quiz FeedbackUploaded byAmandeep Gupta
- Significant FiguresUploaded byFahad Syed
- Netwok SecurityUploaded byVisanth Rajamohan
- Quantitative Management for AnalysisUploaded byGuruKPO
- Marketing Research & Advertising - If the Research Design Involves a Survey of Households, Which Survey Method Would You Recommend and WhyUploaded byanswersheethelp1346