Write a program checkerboard3x3.cpp that asks the user to input width and height and prints a checkerboard of 3-by-3 squares. (It should work even if the input dimensions are not a multiple of three.) . Don't use function.
Example 1:
Input width: 16 Input height: 11 Shape: *** *** *** *** *** *** *** *** *** *** *** * *** *** * *** *** * *** *** *** *** *** *** *** *** *** *** *** * *** *** *
Example 2:
Input width: 27 Input height: 27 Shape: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
In: Computer Science
Using his TightWad(R) database, Stu's MileageMiser has developed a new GPS based service to certify drivers for insurance discounts. He tracks their speeds, locations, and braking activity and delivers reports to insurance companies. January 1, 2009 he had 10,000 paying customers. Of that group, a year later, 9,900 were still customers. He spent $24,000 on programs designed to keep current customers happy and $45,000 on marketing to acquire new customers. His total number of customers on January 1, 2010 was 14,000. His revenue per customer is $55 per year and variable costs before marketing per customer are $5 per year.
e) What is Stu's annual churn rate? What is the retention rate?
In: Operations Management
The following income statements illustrate different cost structures for two competing companies: Income Statements Company Name Munoz Jordan Number of customers (a) 85 85 Sales revenue (a × $230) $ 19,550 $ 19,550 Variable cost (a × $180) N/A (15,300 ) Variable cost (a × $0) 0 N/A Contribution margin 19,550 4,250 Fixed cost (15,300 ) 0 Net income $ 4,250 $ 4,250 Required Reconstruct Munoz’s income statement, assuming that it serves 170 customers when it lures 85 customers away from Jordan by lowering the sales price to $130 per customer. Reconstruct Jordan’s income statement, assuming that it serves 170 customers when it lures 85 customers away from Munoz by lowering the sales price to $130 per customer.
In: Accounting
An organization monitors many aspects of elementary and secondary education nationwide. Their 2000 numbers are often used as a baseline to assess changes. In 2000 48 % of students had not been absent from school even once during the previous month. In the 2004 survey, responses from 6827 randomly selected students showed that this figure had slipped to 47 %. Officials would note any change in the rate of student attendance. Answer the questions below.
(a) Write appropriate hypotheses.
Upper H 0 : The percentage of students in 2004 with perfect attendance the previous month ▼ is greater than 48%. is less than 48%. is different from 48%. is equal to 48%.
Upper H Subscript Upper A Baseline : The percentage of students in 2004 with perfect attendance the previous month ▼ is greater than 48%. is equal to 48%. is less than 48%. is different from 48%.
(b) Check the necessary assumptions.
The independence condition is ▼ satisfied. not satisfied. The randomization condition is ▼ not satisfied. satisfied. The 10% condition is ▼ satisfied. not satisfied. The success/failure condition is ▼ not satisfied. satisfied.
(c) Perform the test and find the P-value. P-value equals ________ (Round to three decimal places as needed.)
(d) State your conclusion. Assume a=0.05.
A. We fail to reject the null hypothesis. There is sufficient evidence to suggest that the percentage of students with perfect attendance in the previous month has changed.
B. We can reject the null hypothesis. There is sufficient evidence to suggest that the percentage of students with perfect attendance in the previous month has changed.
C. We fail to reject the null hypothesis. There is not sufficient evidence to suggest that the percentage of students with perfect attendance in the previous month has changed.
In: Statistics and Probability
A large supermarket carries four qualities of ground beef. Customers are believed to purchase these four varieties with probabilities of 0.13, 0.27, 0.14, and 0.46, respectively, from the least to most expensive variety. A sample of 480 purchases resulted in sales of 48, 148, 74, and 210 of the respective qualities. Does this sample contradict the expected proportions? Use α = 0.05.
(a) Find the test statistic. (Round your answer to two decimal
places.)
(ii) Find the p-value. (Round your answer to four decimal
places.)
A program for generating random numbers on a computer is to be tested. The program is instructed to generate 100 single-digit integers between 0 and 9. The frequencies of the observed integers were as follows. At the 0.05 level of significance, is there sufficient reason to believe that the integers are not being generated uniformly?
| Integer | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| Frequency | 10 | 8 | 6 | 8 | 13 | 10 | 7 | 11 | 14 | 13 |
(a) Find the test statistic. (Round your answer to two decimal
places.)
(ii) Find the p-value. (Round your answer to four decimal
places.)
In: Statistics and Probability
The amount of money in an investment is modeled by the function
A(t)=650(0.943)t. The variable A represents the investment balance
in dollars, and t the number of years since 2006.
(A) In 2006, the balance was $.
(B) The amount of money in the investment is
(C) The annual rate of change in the balance is
r= or r=%.
(D) In the year 2016 the investment balance will equal
$. Round answer to the nearest penny.
In: Math
Researchers are studying the impact of alcohol consumption on a person’s ability to perform a simple task. Five subjects complete a small puzzle while sober, and then again after drinking three glasses of wine. The times (in seconds) are shown below, as well as some summary statistics:
Subject
Sober (S) After Wine (AW)
1
2
3
4
5 mean 169.2 198.6
std. dev. 55.9 72.5
109 132 248 155 202 141 128 290 174 260
Di↵.(d=SAW) 32 4 42 19 58 29.4 23.5
Assume that all appropriate normality conditions are satisfied. We would like to conduct a hypothesis test to determine whether there is evidence that the true mean time to complete a puzzle is longer after consuming three glasses of wine.
26. What are the hypotheses for the appropriate test of significance?
(A) H0: μd =0vs.Ha: μd <0
(B) H0: μS =μAW vs.Ha: μS >μAW (C) H0: X ̄d =0vs.Ha: X ̄d
<0
(D) H0: μd =0vs.Ha: μd >0
(E) H0: X ̄S = X ̄AW vs. Ha: X ̄S < X ̄AW
27. The P-value of the appropriate test of significance is:
(A) between 0.01 and 0.02. (B) between 0.02 and 0.025. (C) between 0.025 and 0.05. (D) between 0.05 and 0.10. (E) between 0.10 and 0.15.
In: Statistics and Probability
| Gatti Corporation reported the following balances at June 30. |
| Accounts Payable | $155 |
| Accounts Receivable | 140 |
| Accumulated Depreciation—Equipment | 58 |
| Cash | 24 |
| Cash Equivalents | 29 |
| Common Stock | 240 |
| Depreciation Expense | 70 |
| Dividends | 6 |
| Equipment | 440 |
| Notes Payable (long-term) | 80 |
| Notes Payable (short-term) | 50 |
| Petty Cash | 15 |
| Restricted Cash (short-term) | 20 |
| Retained Earnings | 31 |
| Salaries and Wages Expense | 470 |
| Service Revenue | 620 |
| Unearned Revenue | 54 |
| Utilities Expense | 74 |
| Required: | |
| 1. | What amount should be reported as “Cash and Cash Equivalents”? |
| 2. |
Prepare a classified balance sheet. Do not show the components that add up to your answer in requirement 1 but rather show only the line “Cash and Cash Equivalents.” (Amounts to be deducted should be indicated by a minus sign.) |
In: Accounting
| Buffalo | Boston |
| 26 | 23 |
| 27 | 14 |
| 39 | 11 |
| 23 | 19 |
| 17 | 19 |
| 16 | 4 |
| 21 | 9 |
| 31 | 12 |
| 1 | 12 |
| 23 | 7 |
| 32 | 32 |
| 32 | 26 |
| 24 | 21 |
| 42 | 16 |
| 38 | 16 |
| 29 | 18 |
| 16 | 16 |
| 12 | 20 |
| 29 | 20 |
| 16 | 11 |
| 18 | 10 |
| 27 | 18 |
| 2 | 11 |
| 21 | 17 |
| 35 | 20 |
| 21 | 20 |
| 29 | 25 |
| 24 | 16 |
| 17 | 17 |
| 21 | 8 |
| 38 | |
| 21 | |
| 9 | |
| 24 | |
| 31 | |
| 26 | |
| 16 | |
| 27 | |
| 24 | |
| 18 | |
| 24 | |
| 17 | |
| 13 | |
| 15 | |
| 21 | |
| 21 | |
| 21 | |
| 32 | |
| 27 | |
| 35 |
Round your answers to one decimal place.
What is the point estimate of the difference between the mean number of miles that Buffalo residents travel per day and the mean number of miles that Boston residents travel per day?
What is the 95% confidence interval for the difference between the two population means?
In: Statistics and Probability
Individual Case Study Assignment Part A
BLC Ltd. is a medium-sized UK manufacturing company based in Liverpool.
The company is seeking to expand its operations with the establishment of an office block to house the marketing and human resources staff in Manchester. The company has narrowed the choice to two alternatives with the following net cash flow information being available:
| Year | Property 1 | Property 2 |
| £000s | £000s | |
| 0 | (2,500) | (2,750) |
| 1 | 1,000 | 900 |
| 2 | 500 | 700 |
| 3 | 600 | 800 |
| 4 | 1,000 | 600 |
| 5 | 900 | 700 |
Items to keep in mind:
Required
As the company accountant is currently on holiday, you are required to:
Individual Case Study Assignment Part B
BLC Ltd. has revenue of £500 million and sells all of its goods on credit to a variety of different wholesale customers. At the moment the company offers a standard credit period of 30 days. However, 70% of its customers (by revenue) take an average of 70 days to pay, while the other 30% of customers (by revenue) pay within 30 days. The company is considering offering a 2% discount for payment within 30 days and estimates that 80% of customers (by revenue) will take up this offer (including those that already pay within 30 days).
The Managing Director has asked the credit controller if the cost of this new policy would be worth offering. The company has a £80 million overdraft facility that it regularly uses to the full limit due to the lateness of payment and the cost of this overdraft facility is 15% per annum.
The credit controller also estimates that bad debt level of 2% of revenue would be halved to 1% of revenue as a result of this new policy.
Required
In: Accounting