Analysis of algorithm
1. Given this sequence of numbers:
9 13 19 27 37
a) What is the next number?
b) Write in your own word an algorithm to solve this problem for any numbers.
2. Let's say we have the following sequence:
n=1 S=9
n=2 S=13
n=3 S =19
n=4 S = 27
n=5 S = 37
What is the value of S for n = 0 and n = 10? Explain how you get your answers.
5 years ago 6
Answer(1)
Purchase the answer to view it
NOT RATED
- math.docx
other Questions(10)
- There are two types of genetic drift. Describe and give an example of both the bottle neck effect and the founder effect. Your assignment should be 250-500 words in length.
- A professor wanted to find a linear model that relates the number of hours a student plays video games each week,...
- Legal and Ethical Conduct
- Communicating with customers: Need today
- week 4 d
- web and data security
- Discussion 10
- a
- Nutrition & Fitness
- ASSIGNMENT 2: GLOBAL WARMING: CAUSE AND MITIGATION