Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In the project ,u will show c++ programming.also u have to provide word document.pls read the whole project and ans the question.best of luck ccess

image text in transcribedIn the project ,u will show c++ programming.also u have to provide word document.pls read the whole project and ans the question.best of luck
ccess Apps M (1,405) saki... LaGuardia Commun... Apple D Disney MInbox 1. Write an iterative C++ function that inputs a nonnegative integer n and returns the nth Fibonacci number. 2. Write a recursive C++ function that inputs a nonnegative integer nand returns the nth Fibonacci number. 3. Compare the number of operations and time taken to compute Fibonacci numbers recursively versus that needed to compute them iteratively. 4. Use the above functions to write a C++ program for solving each of the following computational problems l. Find the exact value of foo, tsoo, and fiooo, where fr is the nth Fibonacci number. What are times taken to find out the exact values? ll. Find the smallest Fibonacci number (1)greater than 1,000,000, and (2) greater than 1,000,000,000. Ill. Find as many prime Fibonacci numbers as you can. It is unknown whether there are infinitely many of these. Find out the times taken to find first 10, 20.30, 40...up to 200 and draw a graph and see the pattern. Initial report submission to "Discussions", due on Sunday April 16: 1. Prepare a project report in WORD document to describe how you implement above tasks, including (1) problem analysis and solution plan, (2) source code, (3) discussion on experimental results in tables or graphs, (4) reflection and 2. Your reflection should address all of the below mentioned questions a) Describe the Fibonacci series and write briefly what you have done in the b) What are the different skills, programming techniques have you used in order to run the experiments? c) What did you observe when you did the comparisons in Task 3 and Task 4? Explain the graph that you have drawn from Task 4.lll? d) List at least three different applications of the Fibonacci numbers and describe one them details. Think of situation or a real world problem where you can apply concept of Fibonacci numbers to solve it Explain? e) write a paragraph, explaining what you have done in this assignment. What were the challenges you have faced when solving these problems How can you improve the programs you have written to solve these

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

XML Data Management Native XML And XML Enabled Database Systems

Authors: Akmal Chaudhri, Awais Rashid, Roberto Zicari, John Fuller

1st Edition

0201844524, 978-0201844528

More Books

Students also viewed these Databases questions

Question

Explain strong and weak atoms with examples.

Answered: 1 week ago

Question

Explain the alkaline nature of aqueous solution of making soda.

Answered: 1 week ago

Question

Comment on the pH value of lattice solutions of salts.

Answered: 1 week ago

Question

Was there an effort to involve the appropriate people?

Answered: 1 week ago

Question

18. If you have power, then people will dislike and fear you.

Answered: 1 week ago