Question

How do I express this recursive function? an = 10n I have found some of the...

How do I express this recursive function?

an = 10n

I have found some of the values

a0 = 100 = 1

a1 = 101 = 10

a2 = 102 = 100

a3 = 103 = 1000

And this is the answer from the textbook

an + 1 = 10an, for ≥ 1 and a1 = 5

I'm confused because it says a1 = 5 but I got 10

Another problem

an = 5

I don't know how to find the values for this function, but the answer from the book says

an + 1 = an, for n≥ 1 and a1 = 5

Could someone explain this problem? Is every value 5?

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
(2nd Problem) From Chapter 15 on page 1080, do problem #5. Recursive function that computes the...
(2nd Problem) From Chapter 15 on page 1080, do problem #5. Recursive function that computes the same of values in an array. To test this function in the main, create the following array: int a[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; #15. Write a recursive function that finds and returns the sum of the elements of an int array. Also, write a program to test your function.
USING PYTHON do all the he problems using while loop , continue and break 1-This problem...
USING PYTHON do all the he problems using while loop , continue and break 1-This problem provides practice using a while True loop.write a function named twoWords that gets and returns two words from a user. The first word is of a specified length, and the second word begins with a specified letter.The function twoWords takes two parameters: an integer, length, that is the length of the first word and a character, firstLetter, that is the first letter of the...
How do you do this problem? I don't understand how they got the answer. Wally purchases...
How do you do this problem? I don't understand how they got the answer. Wally purchases a bond on Jan 1, 2015 with a face value of $25,000 that matures in 3 years. The coupon rate for the first payment is 3% on Jan 1, 2016, for the second payment is 4% on Jan 1, 2017, the last payment is 5% on Jan 1, 2018. On Jan 1, 2016, Wally decides, after he receives the coupon payment, that he wants...
For some reason I followed the steps in my project and I am getting the incorrect...
For some reason I followed the steps in my project and I am getting the incorrect output and when I am submitting it, it gives me compilation error. Printing empty array -- next line should be blank Testing append: Shouldn't crash! Should print 100 through 110 below, with 110 on a new line: 100 101 102 103 104 105 106 107 108 109 110 Checking capacity of new array: OK Append test #2: Should print 100 through 120 below, on...
I have the answers, but I'm not sure how to provide the work to get these...
I have the answers, but I'm not sure how to provide the work to get these answers. Please help. (a) Estimate the capture cross section of Boron-10 for 100-ev neutrons. (ANSWER: 60.7 barns) (b) What is the capture probability per cm for a 100-ev neutron in pure Boron-10 (density=2.17 g/cm^3)? (ANSWER: 7.93 cm^-1) (c) Estimate the probability that a 100-ev neutron will penetrate a 1-cm Boron-10 shield and produce a fission in a 1-mm Pu-239 foil (density=18.5 g/cm^3) behind it....
I'm so confused on how to do the z-score...I was absent for this part of class...
I'm so confused on how to do the z-score...I was absent for this part of class and I need help figuring out how to even answer the following questions. EPA fuel economy for automobiles was found to have a mean of 30 mpg and a standard deviation of 7 mpg. Assume that a Normal model can be applied. Use this information to answer the next four questions. 18. What is the standardized value for a car that got 20 mpg?...
I need the actual code for this... I found a similar response but it was not...
I need the actual code for this... I found a similar response but it was not thorough enough. Problem Prerequisites: None Suppose that a scientist is doing some important research work that requires her to use rabbits in her experiments. She starts out with one adult male rabbit and one adult female rabbit. At the end of each month, a pair of adult rabbits produces one pair of offspring, a male and a female. These new offspring will take one...
How do I produce R output to show rainfall vs temperature Site Rain Temp Altitude Tadpoles...
How do I produce R output to show rainfall vs temperature Site Rain Temp Altitude Tadpoles Breeding 1 769.77 22.37 Low 97 61 2 664.85 19.46 Low 86 70 3 807.13 23.17 Low 104 61 4 620.05 17.85 Low 117 113 5 673.21 20.29 Low 98 92 6 734.18 20.58 Low 88 100 7 526.62 16.29 Low 95 102 8 647.86 18.51 Low 38 66 9 672.3 20.13 Low 64 64 10 666.67 18.91 Low 57 18 11 698.8 20.73...
Hi can someone please actually EXPLAIN how to do this? I'm really confused on how to...
Hi can someone please actually EXPLAIN how to do this? I'm really confused on how to get the answers Cholesterol is a type of fat found in the blood. It is measured as a concentration: the number of milligrams of cholesterol found per deciliter of blood (mg/dL). A high level of total cholesterol in the bloodstream increases risk for heart disease. For this problem, assume cholesterol in men and women follows a normal distribution, and that “adult man” and “adult...
Strings The example program below, with a few notes following, shows how strings work in C++....
Strings The example program below, with a few notes following, shows how strings work in C++. Example 1: #include <iostream> using namespace std; int main() { string s="eggplant"; string t="okra"; cout<<s[2]<<endl; cout<< s.length()<<endl; ​//prints 8 cout<<s.substr(1,4)<<endl; ​//prints ggpl...kind of like a slice, but the second num is the length of the piece cout<<s+t<<endl; //concatenates: prints eggplantokra cout<<s+"a"<<endl; cout<<s.append("a")<<endl; ​//prints eggplanta: see Note 1 below //cout<<s.append(t[1])<<endl; ​//an error; see Note 1 cout<<s.append(t.substr(1,1))<<endl; ​//prints eggplantak; see Note 1 cout<<s.find("gg")<<endl; if (s.find("gg")!=-1) cout<<"found...