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...
10. How many t+u+t+o+r+s have a status of Temp Stop? Which t+u+t+o+r+s are active? T+U+T+O+R T+u+t+o+rID...
10. How many t+u+t+o+r+s have a status of Temp Stop? Which t+u+t+o+r+s are active? T+U+T+O+R T+u+t+o+rID CertDate Status 100 1/5/08 Active 101 1/5/08 Temp Stop 102 1/5/08 Dropped 103 5/22/08 Active 104 5/22/08 Active 105 5/22/08 Temp Stop 106 5/22/08 Active STUDENT StudentID Read 3000 2.3 3001 5.6 3002 1.3 3003 3.3 3004 2.7 3005 4.8 3006 7.8 3007 1.5 MATCH_HISTORY MatchID StudentID StartDate EndDate 1 100 3000 1/10/08 2 101 3001 1/15/08 5/15/08 3 102 3002 2/10/08 3/1/08 4...
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...
Given the data 28.65 26.55 26.65 27.65 27.35 28.35 26.85 28.65 29.65 27.85 27.05 28.25 28.85...
Given the data 28.65 26.55 26.65 27.65 27.35 28.35 26.85 28.65 29.65 27.85 27.05 28.25 28.85 26.75 27.65 28.45 28.65 28.45 31.65 26.35 27.75 29.25 27.65 28.65 27.65 28.55 27.65 27.25 Determine (a) the mean, (b) the standard deviation, (c) the variance, (d) the coefficient of variation, and (e) the 90% confidence interval for the mean. (f) Construct a histogram. Use a range from 26 to 32 with increments of 0.5. (g) Assuming that the distribution Thus, the improved estimates...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT