Java How To Program (Early Objects)
10th Edition
ISBN: 9780133807943
Author: Deitel, Paul
Publisher: Pearson Education
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 5, Problem 3MD
(Facebook User Base Growth) According to CNNMoney.com, Facebook hit one billion users in October 2012. Using the compound-growth technique you learned in Fig. 5.6 and assuming its user base grows at a rate of 4% per month, how many months will it take for Facebook to grow its user base to 1.5 billion users? How many months will it take for Facebook to grow its user base to two billion users?
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
A group of individuals are living on an island when a visitor arrives with an unusual order: all blue-eyed people must leave the island immediately. Every evening at 8:00 p.m., a flight will depart. Everyone can see everyone else's eye colour, but no one knows their own (nor is anyone allowed to tell them). Furthermore, they have no idea how many people have blue eyes, but they do know that at least one person has. How long will it take for the blue-eyed individuals to leave?
Excel Master It! Problem
xlsx
Using Excel to find the marginal tax rate can be accomplished using the VLOOKUP function. However, calculating the
total tax bill is a little more difficult. Below we have shown a copy of the IRS tax table for an unmarried individual for
2018. Often, tax tables are presented in this format.
If taxable
income is
But not
over ...
over ...
The tax is:
2$
$
9,525
10% of the amount over $0
9,526
38,700
$952.50 plus 15% of the amount over $9,525
38,701
93,700
$5,328.75 plus 25% of the amount over $38,700
93,701
195,450
$19,078.75 plus 28% of the amount over $93,700
195,451
424,950
$47,568.75 plus 33% of the amount over $195,450
424,951
426,700
$123,303.75 plus 35% of the amount over $424,950
426,701
$123,916.25 plus 39.6% of the amount over $426,700
In reading this table, the marginal tax rate for taxable income less than $9,525 is 10 percent. If the taxable income is between
$9,525 and $38,700, the tax bill is $952.50 plus the marginal taxes. The marginal taxes…
A group of n tourists must cross a wide and deep river with no bridge in sight. They notice two 13-year-old boys playing in a rowboat by the shore. The boat is so tiny, however, that it can only hold two boys or one tourist. How can the tourists get across the river and leave the boys in joint possession of the boat? How many times need the boat pass from shore to shore?
Chapter 5 Solutions
Java How To Program (Early Objects)
Ch. 5 - Fill in the blanks in each of the following...Ch. 5 - Fill in the blanks in each of the following...Ch. 5 - Fill in the blanks in each of the following...Ch. 5 - Fill in the blanks in each of the following...Ch. 5 - Fill in the blanks in each of the following...Ch. 5 - Prob. 1.6SRECh. 5 - Prob. 1.7SRECh. 5 - State whether each of the following is true or...Ch. 5 - State whether each of the following is true or...Ch. 5 - State whether each of the following is true or...
Ch. 5 - State whether each of the following is true or...Ch. 5 - Prob. 2.5SRECh. 5 - State whether each of the following is true or...Ch. 5 - Prob. 2.7SRECh. 5 - Prob. 3.1SRECh. 5 - Prob. 3.2SRECh. 5 - Write a Java statement or a set of Java statements...Ch. 5 - Prob. 3.4SRECh. 5 - Find the error in each of the following code...Ch. 5 - Find the error in each of the following code...Ch. 5 - Find the error in each of the following code...Ch. 5 - Find the error in each of the following code...Ch. 5 - Describe the four basic elements of...Ch. 5 - Compare and contrast the while and for iteration...Ch. 5 - Prob. 3.1ECh. 5 - Compare and contrast the break and continue...Ch. 5 - Find and correct the error(s) in each of the...Ch. 5 - The following code should print whether integer...Ch. 5 - Prob. 5.3ECh. 5 - Find and correct the error(s) in each of the...Ch. 5 - What does the following program do? 1 // Exercise...Ch. 5 - (Find the Smallest Value) Write an application...Ch. 5 - (Calculating the Product of Odd Integers) Write an...Ch. 5 - (Factorials) Factorials are used frequently in...Ch. 5 - (Modified Compound-Interest Program) Modify the...Ch. 5 - (Triangle Printing Program) Write an application...Ch. 5 - (Bar-Chart Printing Program) One interesting...Ch. 5 - (Calculating Sales) An online retailer sells five...Ch. 5 - (Modified Compound-Interest Program) Modify the...Ch. 5 - Assume that i = 1, j = 2, k = 3 and m = 2. What...Ch. 5 - (Calculating the Value of ) Calculate the value of...Ch. 5 - (Pythagorean Triples) A right triangle can have...Ch. 5 - (Modified Triangle-Printing Program) Modify...Ch. 5 - (De Morgans Laws) In this chapter, we discussed...Ch. 5 - (Diamond-Printing Program) Write an application...Ch. 5 - Prob. 21.1ECh. 5 - A criticism of the break statement and the...Ch. 5 - What does the following program segment do? 1 for...Ch. 5 - Describe in general how youd remove any continue...Ch. 5 - Prob. 25.1ECh. 5 - (Facebook User Base Growth) According to...
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- yufuyarrow_forwardIn a recent court case, a judge cited a city for contempt and ordered a fine of $2 for the first day. Each subsequent day, until the city followed the judge's order, the fine was squared (i.e., the fine progressed as follows: $2, $4, $16, $256, $65,536, .). a, What would be the fine on day N? b. How many days would it take for the fine to reach D dollars (a Big-Oh answer will do)? 2.6arrow_forwardTN Communications provides cellular telephone services. The company is planning to expand into the Cincinnati area and is trying to determine the best location for its transmission tower. The tower transmits over a radius of 10 miles. The locations that must be reached by this tower are shown in the following figure. x y Florence 10 24 Covington 12 16 Hyde Park 16 18 Evendale 12 22 I was able to get the answer to question a, which was: x y Tower Location 12 22 Max Distance 6 And I almost got the answer to question b, but I'm missing the y, what is the answer? x y Tower Location 12.51 Max Distance 4.45arrow_forward
- Help , practicearrow_forwardusing ( Past Simple , Past Continuous , or Past Perfect) Scott Fitzgerald was born in 1896 in St Paul, Minnesota, and he lived in Paris in the 1920s. By the time Fitzgerald (1) (move) to Paris, he (2) (be) both a student at Princeton University and a member of the US Army. It was while he (3) (train) with the army that he (4) (meet) and married Zelda Sayer. During the 1920s, the Fitzgeralds' home (5) (become) the centre for a lively group of writers and artists in Paris and the couple (6) (spend) a lot of money on parties and entertaining.arrow_forwardAt the ATM machine on campus, the average length of a transaction is two minutes, and on average, students arrive to use the machine once every five minutes. How long is the average time that a person must spend waiting and using the machine? On average, how many people are waiting to use the machine. Assume M/M/1. (Please show your work.)arrow_forward
- Example: (HW) Suppose a movie theater ha 36 seats, laid out in a rectangular six rows by six seats. Let the seats be price as indicated 111111 122221 125521 125521 122221 111111arrow_forwardtry to solve using pythonarrow_forwardThe ACT is a standardized test used by college admissions offices as a factor in whether an applicant is or is not admitted to their college. Since so many students take this test each year, the distribution of results are typically approximately normal. The table below shows the mean and standard deviation for each section of within the ACT for all test takers in the years 2015, 2016, and 2017. Section Mean Standard Deviation English 20.3 6.8 Math 20.7 5.4 Reading 21.4 6.5 Science 20.9 5.5 STEM 21.0 5.2 What are the z-score and the percentile rank of a student who scored 22 in the Math section of the ACT? z = percentilearrow_forward
- full answer, pleasearrow_forwardplease show work cleary written.arrow_forwardLet Q ={q1,...,q5} be a set of queries, A ={A1,..., A5} be a set of attributes, and S ={S1,S2,S3} be a set of sites. The matrix of Fig. 2.25a describes the attribute usage values and the matrix of Fig. 2.25b gives the application access frequencies. Assume that refi(qk) =1forall qk and Si and that A1 is the key attribute. Use the bond energy and vertical partitioning algorithms to obtain a vertical fragmentation of the set of attributes in Aarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Operations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks ColeC++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Boolean Algebra - Digital Logic and Logic Families - Industrial Electronics; Author: Ekeeda;https://www.youtube.com/watch?v=u7XnJos-_Hs;License: Standard YouTube License, CC-BY
Boolean Algebra 1 – The Laws of Boolean Algebra; Author: Computer Science;https://www.youtube.com/watch?v=EPJf4owqwdA;License: Standard Youtube License