SlideShare une entreprise Scribd logo
1  sur  2
Simplify each of the following as much as possible. For example, ( )(3d : 2a) simplifies in ( )(e).
(ll a. O(5) b. O(logs a) int: A few are already as simple as possible. )
Solution
Answer for Question:
Part A:
O(5) it is already a simplified constant value .
Part B:
O(log3 A) it is already a simplified constant value .
Part C:
O(log a + 1)
Here 1 is constant we can igore the constant 1.
Resulting is O(log a)
Part D:
O(log a^2) => 2 O(log a) Refer ( logb(x y) = y logb(x))
Resulting is O(log a) where 2 is constant
Part E:
O((log a)^2) => Consider it has the Base b
So b (log 2 a ) where 2 is the base.
Part F :
I don't the have symbol pi
pi (a + log a) => we can devide the pi(a ) + pi (log a)
Part g:
pi(log a + 1) here 1 is constant .
pi(log a)
Part H:
pi(max(a^2, a) => pi(a^2) will be the result.
Part I:
Pi(2^n + n^100) => Pi(n^100) will be the result.
Part J:
Theta(a^2 + 2a) => a Theta(a + 2) => Theta(a^2)
Part K:
Theta( 3n^2 + 2n + log n + 1)
=> n Theta(3n + 2 + logn + 1)
Ignore constants ..
=> Theta(n^2 + logn )
Part I:
Theta(n2^n) => no modifications
Part M:
Theta(3^n + 2^n) => not sure

Contenu connexe

Plus de mmary455

Simple interest is the interest cost for one or more periods when the.docx
Simple interest is the interest cost for one or more periods when the.docxSimple interest is the interest cost for one or more periods when the.docx
Simple interest is the interest cost for one or more periods when the.docxmmary455
 
show work 10- Divide 1436 by 203- The answer expressed to the correct.docx
show work 10- Divide 1436 by 203- The answer expressed to the correct.docxshow work 10- Divide 1436 by 203- The answer expressed to the correct.docx
show work 10- Divide 1436 by 203- The answer expressed to the correct.docxmmary455
 
Show the effect of dollar appeciation and depreciation with the yen on.docx
Show the effect of dollar appeciation and depreciation with the yen on.docxShow the effect of dollar appeciation and depreciation with the yen on.docx
Show the effect of dollar appeciation and depreciation with the yen on.docxmmary455
 
Solubility products Ks(Fe(OH)2) - 4-9 x 10 ^ -17 Ks(Fe(OH)3) - 2-8 x 1.docx
Solubility products Ks(Fe(OH)2) - 4-9 x 10 ^ -17 Ks(Fe(OH)3) - 2-8 x 1.docxSolubility products Ks(Fe(OH)2) - 4-9 x 10 ^ -17 Ks(Fe(OH)3) - 2-8 x 1.docx
Solubility products Ks(Fe(OH)2) - 4-9 x 10 ^ -17 Ks(Fe(OH)3) - 2-8 x 1.docxmmary455
 
Sodium fluoride is added to many municipal water supplies to reduce to.docx
Sodium fluoride is added to many municipal water supplies to reduce to.docxSodium fluoride is added to many municipal water supplies to reduce to.docx
Sodium fluoride is added to many municipal water supplies to reduce to.docxmmary455
 
Societal Dimension of IPESolutionInternational political economy was t.docx
Societal Dimension of IPESolutionInternational political economy was t.docxSocietal Dimension of IPESolutionInternational political economy was t.docx
Societal Dimension of IPESolutionInternational political economy was t.docxmmary455
 
Soil & GW Remediation (Civil and Environmental Engineering) SolutionQn.docx
Soil & GW Remediation (Civil and Environmental Engineering) SolutionQn.docxSoil & GW Remediation (Civil and Environmental Engineering) SolutionQn.docx
Soil & GW Remediation (Civil and Environmental Engineering) SolutionQn.docxmmary455
 
Show that the worst-case time complexity for Binary Search is given by.docx
Show that the worst-case time complexity for Binary Search is given by.docxShow that the worst-case time complexity for Binary Search is given by.docx
Show that the worst-case time complexity for Binary Search is given by.docxmmary455
 
Since Linux is an international operating system you can configure it.docx
Since Linux is an international operating system you can configure it.docxSince Linux is an international operating system you can configure it.docx
Since Linux is an international operating system you can configure it.docxmmary455
 
Sinking fund bands- Require the issuer to set aside assets in order r.docx
Sinking fund bands-  Require the issuer to set aside assets in order r.docxSinking fund bands-  Require the issuer to set aside assets in order r.docx
Sinking fund bands- Require the issuer to set aside assets in order r.docxmmary455
 
Simplify-Write answers in the form of a+bi where a and b are real numb.docx
Simplify-Write answers in the form of a+bi where a and b are real numb.docxSimplify-Write answers in the form of a+bi where a and b are real numb.docx
Simplify-Write answers in the form of a+bi where a and b are real numb.docxmmary455
 
Simplify- 1 + 3 x+4 1 + 9 x-2 Solutio.docx
Simplify-    1 +      3    x+4         1 +      9    x-2       Solutio.docxSimplify-    1 +      3    x+4         1 +      9    x-2       Solutio.docx
Simplify- 1 + 3 x+4 1 + 9 x-2 Solutio.docxmmary455
 
Case- The Long- Loud Silence Background As the director of health info.docx
Case- The Long- Loud Silence Background As the director of health info.docxCase- The Long- Loud Silence Background As the director of health info.docx
Case- The Long- Loud Silence Background As the director of health info.docxmmary455
 
Case 4-3 The Baptist Foundation of Arizona- The Whistleblower Hotline.docx
Case 4-3 The Baptist Foundation of Arizona- The Whistleblower Hotline.docxCase 4-3 The Baptist Foundation of Arizona- The Whistleblower Hotline.docx
Case 4-3 The Baptist Foundation of Arizona- The Whistleblower Hotline.docxmmary455
 
Case 5-1 David L- Miller- Portrait of a White-Collar Criminal There is.docx
Case 5-1 David L- Miller- Portrait of a White-Collar Criminal There is.docxCase 5-1 David L- Miller- Portrait of a White-Collar Criminal There is.docx
Case 5-1 David L- Miller- Portrait of a White-Collar Criminal There is.docxmmary455
 
Carbon steel is an active metal meaning it has low corrosion resistanc.docx
Carbon steel is an active metal meaning it has low corrosion resistanc.docxCarbon steel is an active metal meaning it has low corrosion resistanc.docx
Carbon steel is an active metal meaning it has low corrosion resistanc.docxmmary455
 
Carbon dioxide in the atmosphere traps heat from the sun and makes lif.docx
Carbon dioxide in the atmosphere traps heat from the sun and makes lif.docxCarbon dioxide in the atmosphere traps heat from the sun and makes lif.docx
Carbon dioxide in the atmosphere traps heat from the sun and makes lif.docxmmary455
 
Carnival Corporation has recently placed into service some of the larg.docx
Carnival Corporation has recently placed into service some of the larg.docxCarnival Corporation has recently placed into service some of the larg.docx
Carnival Corporation has recently placed into service some of the larg.docxmmary455
 
Canadian Income Tax Question Tiffany MacGraw- a Canadian citizen- left.docx
Canadian Income Tax Question Tiffany MacGraw- a Canadian citizen- left.docxCanadian Income Tax Question Tiffany MacGraw- a Canadian citizen- left.docx
Canadian Income Tax Question Tiffany MacGraw- a Canadian citizen- left.docxmmary455
 
Capital budgeting decisions are among the most important decisions tha.docx
Capital budgeting decisions are among the most important decisions tha.docxCapital budgeting decisions are among the most important decisions tha.docx
Capital budgeting decisions are among the most important decisions tha.docxmmary455
 

Plus de mmary455 (20)

Simple interest is the interest cost for one or more periods when the.docx
Simple interest is the interest cost for one or more periods when the.docxSimple interest is the interest cost for one or more periods when the.docx
Simple interest is the interest cost for one or more periods when the.docx
 
show work 10- Divide 1436 by 203- The answer expressed to the correct.docx
show work 10- Divide 1436 by 203- The answer expressed to the correct.docxshow work 10- Divide 1436 by 203- The answer expressed to the correct.docx
show work 10- Divide 1436 by 203- The answer expressed to the correct.docx
 
Show the effect of dollar appeciation and depreciation with the yen on.docx
Show the effect of dollar appeciation and depreciation with the yen on.docxShow the effect of dollar appeciation and depreciation with the yen on.docx
Show the effect of dollar appeciation and depreciation with the yen on.docx
 
Solubility products Ks(Fe(OH)2) - 4-9 x 10 ^ -17 Ks(Fe(OH)3) - 2-8 x 1.docx
Solubility products Ks(Fe(OH)2) - 4-9 x 10 ^ -17 Ks(Fe(OH)3) - 2-8 x 1.docxSolubility products Ks(Fe(OH)2) - 4-9 x 10 ^ -17 Ks(Fe(OH)3) - 2-8 x 1.docx
Solubility products Ks(Fe(OH)2) - 4-9 x 10 ^ -17 Ks(Fe(OH)3) - 2-8 x 1.docx
 
Sodium fluoride is added to many municipal water supplies to reduce to.docx
Sodium fluoride is added to many municipal water supplies to reduce to.docxSodium fluoride is added to many municipal water supplies to reduce to.docx
Sodium fluoride is added to many municipal water supplies to reduce to.docx
 
Societal Dimension of IPESolutionInternational political economy was t.docx
Societal Dimension of IPESolutionInternational political economy was t.docxSocietal Dimension of IPESolutionInternational political economy was t.docx
Societal Dimension of IPESolutionInternational political economy was t.docx
 
Soil & GW Remediation (Civil and Environmental Engineering) SolutionQn.docx
Soil & GW Remediation (Civil and Environmental Engineering) SolutionQn.docxSoil & GW Remediation (Civil and Environmental Engineering) SolutionQn.docx
Soil & GW Remediation (Civil and Environmental Engineering) SolutionQn.docx
 
Show that the worst-case time complexity for Binary Search is given by.docx
Show that the worst-case time complexity for Binary Search is given by.docxShow that the worst-case time complexity for Binary Search is given by.docx
Show that the worst-case time complexity for Binary Search is given by.docx
 
Since Linux is an international operating system you can configure it.docx
Since Linux is an international operating system you can configure it.docxSince Linux is an international operating system you can configure it.docx
Since Linux is an international operating system you can configure it.docx
 
Sinking fund bands- Require the issuer to set aside assets in order r.docx
Sinking fund bands-  Require the issuer to set aside assets in order r.docxSinking fund bands-  Require the issuer to set aside assets in order r.docx
Sinking fund bands- Require the issuer to set aside assets in order r.docx
 
Simplify-Write answers in the form of a+bi where a and b are real numb.docx
Simplify-Write answers in the form of a+bi where a and b are real numb.docxSimplify-Write answers in the form of a+bi where a and b are real numb.docx
Simplify-Write answers in the form of a+bi where a and b are real numb.docx
 
Simplify- 1 + 3 x+4 1 + 9 x-2 Solutio.docx
Simplify-    1 +      3    x+4         1 +      9    x-2       Solutio.docxSimplify-    1 +      3    x+4         1 +      9    x-2       Solutio.docx
Simplify- 1 + 3 x+4 1 + 9 x-2 Solutio.docx
 
Case- The Long- Loud Silence Background As the director of health info.docx
Case- The Long- Loud Silence Background As the director of health info.docxCase- The Long- Loud Silence Background As the director of health info.docx
Case- The Long- Loud Silence Background As the director of health info.docx
 
Case 4-3 The Baptist Foundation of Arizona- The Whistleblower Hotline.docx
Case 4-3 The Baptist Foundation of Arizona- The Whistleblower Hotline.docxCase 4-3 The Baptist Foundation of Arizona- The Whistleblower Hotline.docx
Case 4-3 The Baptist Foundation of Arizona- The Whistleblower Hotline.docx
 
Case 5-1 David L- Miller- Portrait of a White-Collar Criminal There is.docx
Case 5-1 David L- Miller- Portrait of a White-Collar Criminal There is.docxCase 5-1 David L- Miller- Portrait of a White-Collar Criminal There is.docx
Case 5-1 David L- Miller- Portrait of a White-Collar Criminal There is.docx
 
Carbon steel is an active metal meaning it has low corrosion resistanc.docx
Carbon steel is an active metal meaning it has low corrosion resistanc.docxCarbon steel is an active metal meaning it has low corrosion resistanc.docx
Carbon steel is an active metal meaning it has low corrosion resistanc.docx
 
Carbon dioxide in the atmosphere traps heat from the sun and makes lif.docx
Carbon dioxide in the atmosphere traps heat from the sun and makes lif.docxCarbon dioxide in the atmosphere traps heat from the sun and makes lif.docx
Carbon dioxide in the atmosphere traps heat from the sun and makes lif.docx
 
Carnival Corporation has recently placed into service some of the larg.docx
Carnival Corporation has recently placed into service some of the larg.docxCarnival Corporation has recently placed into service some of the larg.docx
Carnival Corporation has recently placed into service some of the larg.docx
 
Canadian Income Tax Question Tiffany MacGraw- a Canadian citizen- left.docx
Canadian Income Tax Question Tiffany MacGraw- a Canadian citizen- left.docxCanadian Income Tax Question Tiffany MacGraw- a Canadian citizen- left.docx
Canadian Income Tax Question Tiffany MacGraw- a Canadian citizen- left.docx
 
Capital budgeting decisions are among the most important decisions tha.docx
Capital budgeting decisions are among the most important decisions tha.docxCapital budgeting decisions are among the most important decisions tha.docx
Capital budgeting decisions are among the most important decisions tha.docx
 

Dernier

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 

Dernier (20)

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 

Simplify each of the following as much as possible- For example- ( )(3.docx

  • 1. Simplify each of the following as much as possible. For example, ( )(3d : 2a) simplifies in ( )(e). (ll a. O(5) b. O(logs a) int: A few are already as simple as possible. ) Solution Answer for Question: Part A: O(5) it is already a simplified constant value . Part B: O(log3 A) it is already a simplified constant value . Part C: O(log a + 1) Here 1 is constant we can igore the constant 1. Resulting is O(log a) Part D: O(log a^2) => 2 O(log a) Refer ( logb(x y) = y logb(x)) Resulting is O(log a) where 2 is constant Part E: O((log a)^2) => Consider it has the Base b So b (log 2 a ) where 2 is the base. Part F : I don't the have symbol pi pi (a + log a) => we can devide the pi(a ) + pi (log a)
  • 2. Part g: pi(log a + 1) here 1 is constant . pi(log a) Part H: pi(max(a^2, a) => pi(a^2) will be the result. Part I: Pi(2^n + n^100) => Pi(n^100) will be the result. Part J: Theta(a^2 + 2a) => a Theta(a + 2) => Theta(a^2) Part K: Theta( 3n^2 + 2n + log n + 1) => n Theta(3n + 2 + logn + 1) Ignore constants .. => Theta(n^2 + logn ) Part I: Theta(n2^n) => no modifications Part M: Theta(3^n + 2^n) => not sure