SlideShare ist ein Scribd-Unternehmen logo
1 von 1
Downloaden Sie, um offline zu lesen
2) Let f(x)=2sin(x)x (a) Plot the function f(x) for x[1,3]. (b) Write an R function that implements
the bisection method. Your function needs to keep track of the sequence of vulues x 's ss the
method converges to a root. (c) Repeat (b) for Newton's method. (d) Find the root x4 of f(x) via
bisection using e=11014 (c) Find the root x of f(x) via Newton's using =11014. (f) Look at x4x
for all values of is For both the bisection and the Newton methods. What does this tell you about
the convergence rate?

Weitere ähnliche Inhalte

Mehr von allystr

2) Use the Table (below) to answer the questions that follow. It cont.pdf
 2) Use the Table (below) to answer the questions that follow. It cont.pdf 2) Use the Table (below) to answer the questions that follow. It cont.pdf
2) Use the Table (below) to answer the questions that follow. It cont.pdfallystr
 
2) Let X1,X2,�Xn are i.i.d random sample from P() a) Find the Suffici.pdf
 2) Let X1,X2,�Xn are i.i.d random sample from P() a) Find the Suffici.pdf 2) Let X1,X2,�Xn are i.i.d random sample from P() a) Find the Suffici.pdf
2) Let X1,X2,�Xn are i.i.d random sample from P() a) Find the Suffici.pdfallystr
 
2) Of those mountain climbers who attempt to climb Mt. McKinley, only.pdf
 2) Of those mountain climbers who attempt to climb Mt. McKinley, only.pdf 2) Of those mountain climbers who attempt to climb Mt. McKinley, only.pdf
2) Of those mountain climbers who attempt to climb Mt. McKinley, only.pdfallystr
 
2) [50 points ] Families have to make decisions about child care. Opt.pdf
 2) [50 points ] Families have to make decisions about child care. Opt.pdf 2) [50 points ] Families have to make decisions about child care. Opt.pdf
2) [50 points ] Families have to make decisions about child care. Opt.pdfallystr
 
2) Let ci be the average cost for firm i (so that firms may have diff.pdf
 2) Let ci be the average cost for firm i (so that firms may have diff.pdf 2) Let ci be the average cost for firm i (so that firms may have diff.pdf
2) Let ci be the average cost for firm i (so that firms may have diff.pdfallystr
 
2) Consider the following subnet. Distance vector routing is used, an.pdf
 2) Consider the following subnet. Distance vector routing is used, an.pdf 2) Consider the following subnet. Distance vector routing is used, an.pdf
2) Consider the following subnet. Distance vector routing is used, an.pdfallystr
 
2) Consider the joint probability density f(x,y)={xy0�for�1x73�and.pdf
 2) Consider the joint probability density f(x,y)={xy0�for�1x73�and.pdf 2) Consider the joint probability density f(x,y)={xy0�for�1x73�and.pdf
2) Consider the joint probability density f(x,y)={xy0�for�1x73�and.pdfallystr
 
2 Problem 1. Recursion-Video rankings. ( 8 marks) The InitaVid social.pdf
 2 Problem 1. Recursion-Video rankings. ( 8 marks) The InitaVid social.pdf 2 Problem 1. Recursion-Video rankings. ( 8 marks) The InitaVid social.pdf
2 Problem 1. Recursion-Video rankings. ( 8 marks) The InitaVid social.pdfallystr
 
2 Let X and Y be two independent random variables with the property t.pdf
 2 Let X and Y be two independent random variables with the property t.pdf 2 Let X and Y be two independent random variables with the property t.pdf
2 Let X and Y be two independent random variables with the property t.pdfallystr
 
2 Parameter Stability Test (Chow Test) Considering 1940 a period w.pdf
 2 Parameter Stability Test (Chow Test) Considering 1940 a period w.pdf 2 Parameter Stability Test (Chow Test) Considering 1940 a period w.pdf
2 Parameter Stability Test (Chow Test) Considering 1940 a period w.pdfallystr
 
2 Let X and Y be two independent random variables with the proper.pdf
 2 Let X and Y be two independent random variables with the proper.pdf 2 Let X and Y be two independent random variables with the proper.pdf
2 Let X and Y be two independent random variables with the proper.pdfallystr
 
19. Blood type is controlled by a gene with multiple alleles. A pro.pdf
 19. Blood type is controlled by a gene with multiple alleles. A pro.pdf 19. Blood type is controlled by a gene with multiple alleles. A pro.pdf
19. Blood type is controlled by a gene with multiple alleles. A pro.pdfallystr
 
14. Tollgate Inc. is expected to pay a $2.50 dividend at year end (D1.pdf
 14. Tollgate Inc. is expected to pay a $2.50 dividend at year end (D1.pdf 14. Tollgate Inc. is expected to pay a $2.50 dividend at year end (D1.pdf
14. Tollgate Inc. is expected to pay a $2.50 dividend at year end (D1.pdfallystr
 
19. Your girlfriend just won .pdf
 19. Your girlfriend just won .pdf 19. Your girlfriend just won .pdf
19. Your girlfriend just won .pdfallystr
 
16. What is the relative age of the layers in Figure 4 (oldest you.pdf
 16. What is the relative age of the layers in Figure 4  (oldest  you.pdf 16. What is the relative age of the layers in Figure 4  (oldest  you.pdf
16. What is the relative age of the layers in Figure 4 (oldest you.pdfallystr
 
18. Social Media Aclult Americans (18 years or older) were asked whet.pdf
 18. Social Media Aclult Americans (18 years or older) were asked whet.pdf 18. Social Media Aclult Americans (18 years or older) were asked whet.pdf
18. Social Media Aclult Americans (18 years or older) were asked whet.pdfallystr
 
18. In snapdragons, red is caused by an allele R and white by an alle.pdf
 18. In snapdragons, red is caused by an allele R and white by an alle.pdf 18. In snapdragons, red is caused by an allele R and white by an alle.pdf
18. In snapdragons, red is caused by an allele R and white by an alle.pdfallystr
 
18. Let X have a binomial, B(n,p), distribution. Show that 1pp is not.pdf
 18. Let X have a binomial, B(n,p), distribution. Show that 1pp is not.pdf 18. Let X have a binomial, B(n,p), distribution. Show that 1pp is not.pdf
18. Let X have a binomial, B(n,p), distribution. Show that 1pp is not.pdfallystr
 
18. In Java and similar languages that use reference variables instea.pdf
 18. In Java and similar languages that use reference variables instea.pdf 18. In Java and similar languages that use reference variables instea.pdf
18. In Java and similar languages that use reference variables instea.pdfallystr
 
18. In snapdragons, red is caused by an allele R and white by an al.pdf
 18. In snapdragons, red is caused by an allele R and white by an al.pdf 18. In snapdragons, red is caused by an allele R and white by an al.pdf
18. In snapdragons, red is caused by an allele R and white by an al.pdfallystr
 

Mehr von allystr (20)

2) Use the Table (below) to answer the questions that follow. It cont.pdf
 2) Use the Table (below) to answer the questions that follow. It cont.pdf 2) Use the Table (below) to answer the questions that follow. It cont.pdf
2) Use the Table (below) to answer the questions that follow. It cont.pdf
 
2) Let X1,X2,�Xn are i.i.d random sample from P() a) Find the Suffici.pdf
 2) Let X1,X2,�Xn are i.i.d random sample from P() a) Find the Suffici.pdf 2) Let X1,X2,�Xn are i.i.d random sample from P() a) Find the Suffici.pdf
2) Let X1,X2,�Xn are i.i.d random sample from P() a) Find the Suffici.pdf
 
2) Of those mountain climbers who attempt to climb Mt. McKinley, only.pdf
 2) Of those mountain climbers who attempt to climb Mt. McKinley, only.pdf 2) Of those mountain climbers who attempt to climb Mt. McKinley, only.pdf
2) Of those mountain climbers who attempt to climb Mt. McKinley, only.pdf
 
2) [50 points ] Families have to make decisions about child care. Opt.pdf
 2) [50 points ] Families have to make decisions about child care. Opt.pdf 2) [50 points ] Families have to make decisions about child care. Opt.pdf
2) [50 points ] Families have to make decisions about child care. Opt.pdf
 
2) Let ci be the average cost for firm i (so that firms may have diff.pdf
 2) Let ci be the average cost for firm i (so that firms may have diff.pdf 2) Let ci be the average cost for firm i (so that firms may have diff.pdf
2) Let ci be the average cost for firm i (so that firms may have diff.pdf
 
2) Consider the following subnet. Distance vector routing is used, an.pdf
 2) Consider the following subnet. Distance vector routing is used, an.pdf 2) Consider the following subnet. Distance vector routing is used, an.pdf
2) Consider the following subnet. Distance vector routing is used, an.pdf
 
2) Consider the joint probability density f(x,y)={xy0�for�1x73�and.pdf
 2) Consider the joint probability density f(x,y)={xy0�for�1x73�and.pdf 2) Consider the joint probability density f(x,y)={xy0�for�1x73�and.pdf
2) Consider the joint probability density f(x,y)={xy0�for�1x73�and.pdf
 
2 Problem 1. Recursion-Video rankings. ( 8 marks) The InitaVid social.pdf
 2 Problem 1. Recursion-Video rankings. ( 8 marks) The InitaVid social.pdf 2 Problem 1. Recursion-Video rankings. ( 8 marks) The InitaVid social.pdf
2 Problem 1. Recursion-Video rankings. ( 8 marks) The InitaVid social.pdf
 
2 Let X and Y be two independent random variables with the property t.pdf
 2 Let X and Y be two independent random variables with the property t.pdf 2 Let X and Y be two independent random variables with the property t.pdf
2 Let X and Y be two independent random variables with the property t.pdf
 
2 Parameter Stability Test (Chow Test) Considering 1940 a period w.pdf
 2 Parameter Stability Test (Chow Test) Considering 1940 a period w.pdf 2 Parameter Stability Test (Chow Test) Considering 1940 a period w.pdf
2 Parameter Stability Test (Chow Test) Considering 1940 a period w.pdf
 
2 Let X and Y be two independent random variables with the proper.pdf
 2 Let X and Y be two independent random variables with the proper.pdf 2 Let X and Y be two independent random variables with the proper.pdf
2 Let X and Y be two independent random variables with the proper.pdf
 
19. Blood type is controlled by a gene with multiple alleles. A pro.pdf
 19. Blood type is controlled by a gene with multiple alleles. A pro.pdf 19. Blood type is controlled by a gene with multiple alleles. A pro.pdf
19. Blood type is controlled by a gene with multiple alleles. A pro.pdf
 
14. Tollgate Inc. is expected to pay a $2.50 dividend at year end (D1.pdf
 14. Tollgate Inc. is expected to pay a $2.50 dividend at year end (D1.pdf 14. Tollgate Inc. is expected to pay a $2.50 dividend at year end (D1.pdf
14. Tollgate Inc. is expected to pay a $2.50 dividend at year end (D1.pdf
 
19. Your girlfriend just won .pdf
 19. Your girlfriend just won .pdf 19. Your girlfriend just won .pdf
19. Your girlfriend just won .pdf
 
16. What is the relative age of the layers in Figure 4 (oldest you.pdf
 16. What is the relative age of the layers in Figure 4  (oldest  you.pdf 16. What is the relative age of the layers in Figure 4  (oldest  you.pdf
16. What is the relative age of the layers in Figure 4 (oldest you.pdf
 
18. Social Media Aclult Americans (18 years or older) were asked whet.pdf
 18. Social Media Aclult Americans (18 years or older) were asked whet.pdf 18. Social Media Aclult Americans (18 years or older) were asked whet.pdf
18. Social Media Aclult Americans (18 years or older) were asked whet.pdf
 
18. In snapdragons, red is caused by an allele R and white by an alle.pdf
 18. In snapdragons, red is caused by an allele R and white by an alle.pdf 18. In snapdragons, red is caused by an allele R and white by an alle.pdf
18. In snapdragons, red is caused by an allele R and white by an alle.pdf
 
18. Let X have a binomial, B(n,p), distribution. Show that 1pp is not.pdf
 18. Let X have a binomial, B(n,p), distribution. Show that 1pp is not.pdf 18. Let X have a binomial, B(n,p), distribution. Show that 1pp is not.pdf
18. Let X have a binomial, B(n,p), distribution. Show that 1pp is not.pdf
 
18. In Java and similar languages that use reference variables instea.pdf
 18. In Java and similar languages that use reference variables instea.pdf 18. In Java and similar languages that use reference variables instea.pdf
18. In Java and similar languages that use reference variables instea.pdf
 
18. In snapdragons, red is caused by an allele R and white by an al.pdf
 18. In snapdragons, red is caused by an allele R and white by an al.pdf 18. In snapdragons, red is caused by an allele R and white by an al.pdf
18. In snapdragons, red is caused by an allele R and white by an al.pdf
 

Kürzlich hochgeladen

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
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
 
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
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
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
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
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
 
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
 
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
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
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
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
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
 

Kürzlich hochgeladen (20)

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
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
 
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
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
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
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
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
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
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
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
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
 

2) Let f(x)=2sin(x)x (a) Plot the function f(x) for x[1,3]. (b) Write.pdf

  • 1. 2) Let f(x)=2sin(x)x (a) Plot the function f(x) for x[1,3]. (b) Write an R function that implements the bisection method. Your function needs to keep track of the sequence of vulues x 's ss the method converges to a root. (c) Repeat (b) for Newton's method. (d) Find the root x4 of f(x) via bisection using e=11014 (c) Find the root x of f(x) via Newton's using =11014. (f) Look at x4x for all values of is For both the bisection and the Newton methods. What does this tell you about the convergence rate?