We have an array of numbers, and we start at index 0. At every point, we're allowed to jump from index i to i+3, i+4, or stop where we are. We'd like to find the maximum possible sum of the numbers we visit. For example, for the array [14, 28, 79, -87, 29, 34, -7, 65, -11, 91, 32, 27, -5], the answer is 140. (starting at the 14, we jump 4 spots to 29, then 3 spots to 65, another 3 to 32, then stop. 14 + 29 + 65 + 32 = 140) What's the maximum possible sum we could visit for this array: [95, 69, 68, 44, 0, 53, 34, -83, -8, 38, -63, -89, 34, -91, 1, 39, -7, -54, 85, -25, -47, 89, -57, -18, -22, -50, -74, -91, -38, 99, 73, 7, 44, -47, -35, -70, 26, -54, -28, 7, -26, -73, -48, -76, -18, 94, -54, 65, -71, -10, 5, 64, 55, 68, 7, 41, -52, 57, -75, 90, -21, -47, -88, -5, -9, 46, -8, 71, 34, 82, 10, -37, 37, 1, 49, 91, 80, 57, -56, 83, -58, 24, -34, 30, -65, 42, -28, -84, -58, -62, 20, 89, -43, -16, 9, 37, -21, -71, -27, 93, 93, 3, 24, 51, 19, -54, -20, 43, 96, 15, -4, -30, -12, -88, 95, -89, 63, 63, 26, 34, 9, 66, 40, 59, -69, -29, -3, -89, -58, 45, 68, 45, 92, -51, 89, -75, 0, 14, 46, -20, -90, -83, 82, 29, -32, 68, 55, 41, -85, 56, 97, -11, -25, -28, 65, 61, 54, -36, -24, 98, 49, 19, 3, -94, -46, 26, 92, -72, -29, 93, 71, 15, 3, -89, -66, -85, -42, 83, 43, 27, 76, 71, 62, 44, 9, 2, 40, 8, 78, -6, -61, -93, 28, -46, -48, 25, -34, -91, 73, 90, 77, -5, 98, 1, -5, -85, 63, -15, 57, 20, 71, -67, -60, -46, -71, -9, 62, 99, 80, -15, 53, 29, 52, -91, -78, -77, -57, 21, -74, 46, -11, 74, -21, -48, -7, -56, 54, 8, -51, -61, -46, 79, 42, 97, 61, 40, -99, -13, 55, -53, -71, 80, 31, -35, 77, 89, -2, 75, 59, -66, 87, 23, 48, 80, -28, 86, 54, 37, -41, 95, -87, 79, -49, 8, -95, 66, 79, -38, 75, 49, -30, 7, -46, -44, 43, -26, -63, 23, 77, -8, 36, 83, 10, 12, -34, 32, -63, -32, 47, -5, 53, 66, 32, 14, 24, 28, 57, -48, -89, -51, -26, -21, -37, -41, -17, -40, 19, 25, 89, -11, 92, -43, -50, 53, -36, 50, -12, 68, -28, 18, 62, -48, -86, 87, -80, 58, 73, -93, 81, -86, 26, 3, 51, 74, 37, 45, 85, 12, 49, 93, -93, -5, 61, -64, -48, -11, 68, -36, -83, -18, 30, -53, -88, 6, 43, -38, 50, -28, 91, 49, 21, 86, -15, -18, 2, 0, 55, -73, 85, -49, -18, -90, 89, 79, -21, 23, 38, 43, 83, 72, 63, 14, -35, 81, -2, -71, 70, 51, -26, -20, 74, 10, -37, 61, -29, -62, 18, -46, 75, 98, 18, -4, 25, 13, 70, -34, 79, 16, -55, -7, -56, -55, 79, 29, 13, -31, -12, -29, -33, 12, 17, -5, -59, -12, 76, -6, -4, -5, -90, -45, -33, -14, -56, 64, -99, -65, -98, -97, 35, -50, -63, 8, -7, -46, 3, -69, 24, -23, -6, 78, -21, 2, -99, -29, 75, 40, -30, -40, 10, -41, -65, -42, -88, -8, -32, -2, -39, -95, -73, 32, 99, -35, -88, 81, -32, -19, 58, 83, -73, -23, 1, -34, -40, -39, 35, -52, -24, 57, -44, 2]
In: Computer Science
1.) What are some conditions that a company would recognize revenue over a period of time?
2.) Why are companies required to recognize some revenue over a period of time?
3.) Looking at the principle and process, what are some areas that you think a company could make some errors in recognizing revenue?
In: Accounting
please!!!!!!!!!!!!!1
To study how social media may influence the products consumers buy, researchers collected the opening weekend box office revenue (in millions of dollars) for 23
recent movies and the social media message rate (average number of messages referring to the movie per hour). The data are available below. Conduct a complete simple linear regression analysis of the relationship between revenue (y) and message rate (x).
Q1: Determine the estimate of the standard deviation. s=?????
Q2: What is the test statistic for the hypotheses? t=??????
| Message_Rate | Revenue_($millions) |
| 1363,3 | 148 |
| 1214,8 | 74 |
| 575,9 | 64 |
| 311,3 | 36 |
| 458,1 | 35 |
| 293,2 | 34 |
| 248,3 | 25 |
| 679,5 | 18 |
| 151,7 | 17 |
| 169,6 | 17 |
| 109,7 | 16 |
| 144,3 | 16 |
| 410,2 | 15 |
| 93,4 | 15 |
| 104,2 | 15 |
| 121,8 | 14 |
| 70,7 | 13 |
| 81,3 | 12 |
| 127,6 | 6 |
| 52,2 | 6 |
| 149,6 | 5 |
| 36,3 | 3 |
| 4,2 | 2 |
In: Statistics and Probability
In: Accounting
(2 pts) Accrual basis vs. basis – revenue and expense recognition: Suppose Capaldi Corp. provides travel services to customers and noted the following transactions for May 2018:
|
Transaction: |
Accrual basis revenue / (expense): |
Cash basis revenue / (expense): |
|
Provided services to customers for $2,920 in cash. |
||
|
Paid $6,000 in cash for June’s rent. |
||
|
Received $3,900 in cash from customers for services to be provided in June. |
||
|
Received bill from insurance company for May’s monthly premium of $2,000. Cash payment will be made on June 7th. |
||
|
Paid $600 in cash for utilities used in May. |
||
|
Paid workers $9,100 in cash for work performed in April. |
||
|
Received $8,100 in cash from customers for services provided in April on account. |
||
|
Issued common stock for $10,000 in cash. |
||
|
Provided services to customers for $5,900 on account. Cash collections related to these services will not be received from customers until June. |
For each transaction, determine the amount of revenue or (expense), if any, that is recorded under accrual-basis accounting and under cash-basis accounting for May 2018. I have completed transaction a. for you as an example.
(2 pts) Accrual Based Accounting: Prepaid expenses – Depreciation of Fixed Assets. Moving On, Inc. purchases a new moving truck (e.g. ‘equipment’) for $56,000 on October 1st, 2017. At the time of its purchase, the truck is expected to be used in operations for 4 years and will have no resale or scrap value at the end of its life. Assume Moving On, Inc. uses straight-line depreciation (i.e. the asset depreciates evenly) over the expected life of the truck.
Record the journal entry for the original purchase of the truck that occurs on October 1st, 2017.
Record the adjusting entry to recognize Depreciation Expense on December 31, 2017.
What will the ending balance of the Accumulated Depreciation account be on December 31, 2018 (Assume the beginning balance of Accumulated Depreciation on January 1st, 2017 is $0 and Moving On, Inc. has no other assets that depreciate)?
What will the net book value of the truck be on December 31, 2018?
(2 pts) Accrual Based Accounting: Deferred (unearned) revenues. Suppose that on November 29th, 2017 a customer pays Ood Sphere, Ltd. $2,000 cash in advance for merchandise which will be delivered to the customer on December 5th.
Record the journal entry for the original purchase of the merchandise that occurs on November 29th, 2017.
Record the adjusting entry Ood Sphere, Ltd. should record on December 5th to recognize sales revenue.
Suppose the cost of the merchandise sold (i.e. COGS) is $1,600. When should Ood Sphere, Ltd. record this expense? Why? Briefly explain your answer.
In: Accounting
Consider two manufacturing companies of electrical devices with
identical business fundamentals. Everything is the same for these
two companies (same operations, same economic fundamentals, same
suppliers, same customers and same managers). The only difference
is in the way the two companies choose to report their
financials.
Company A follows a conservative financial
reporting strategy by choosing accounting policies that
report the lowest revenue and assets and the highest expense and
liabilities.
Company B follows an aggressive financial
reporting strategy by choosing accounting policies that
report the highest revenue and assets and the lowest expense and
liabilities.
Required:
(a) Explain how you can discover information that one company is
being conservative in financial reporting and the other company is
being aggressive in
financial reporting. You are required to give specific examples
that are directly relevant to the context of these two companies
being manufacturing companies of electrical devices.
(b) Explain how you could use this newly discovered information
that a company is conservative or aggressive in reporting in active
investing.
In: Accounting
What is the p value for the correlation and what does it mean?
| students | AS | G |
| 1 | 8 | 81 |
| 2 | 9 | 97 |
| 3 | 8 | 72 |
| 4 | 7 | 79 |
| 5 | 6 | 70 |
| 6 | 4 | 60 |
| 7 | 6 | 81 |
| 8 | 7 | 87 |
| 9 | 6 | 77 |
| 10 | 0 | 85 |
| 11 | 6 | 64 |
| 12 | 7 | 91 |
| 13 | 8 | 75 |
| 14 | 7 | 73 |
| 15 | 7 | 76 |
| 16 | 8 | 83 |
| 17 | 8 | 83 |
| 18 | 2 | 55 |
| 19 | 8 | 92 |
| 20 | 9 | 92 |
| 21 | 8 | 90 |
| 22 | 7 | 62 |
| 23 | 9 | 85 |
| 24 | 7 | 57 |
| 25 | 5 | 82 |
| 26 | 9 | 91 |
| 27 | 8 | 69 |
| 28 | 5 | 66 |
| 29 | 9 | 88 |
| 30 | 8 | 74 |
In: Statistics and Probability
|
Average monthly concentration (ppb) |
Time |
Temperature |
RH (%) |
Atmospheric pressure (mb) |
|
10.3 |
1 |
14 |
31 |
980 |
|
9.9 |
2 |
17 |
42 |
1010 |
|
9.4 |
3 |
21 |
52 |
1003 |
|
10.6 |
4 |
28 |
63 |
1020 |
|
10.1 |
5 |
33 |
74 |
990 |
|
14.3 |
6 |
35 |
88 |
1050 |
|
13.3 |
7 |
36 |
84 |
1070 |
|
8.2 |
8 |
35 |
86 |
1025 |
|
8.8 |
9 |
32 |
90 |
995 |
|
9.1 |
10 |
27 |
81 |
1005 |
|
10 |
11 |
23 |
62 |
1080 |
|
10.4 |
12 |
18 |
42 |
1056 |
In: Statistics and Probability
Exercise 1: Thirty nine women with a diagnosis of inoperable or metastatic breast cancer have been followed-up for a number of years, while under continuous treatment with a medication called trastzuzumab. The time (in months) each patient remained in remission was recorded. Remission is is a decrease or disappearance of signs and symptoms of cancer. Below is the data. 50 74 35 39 21 37 27 35 30 35 26 38 34 34 26 41 61 33 33 26 25 41 35 34 44 33 60 61 42 30 80 31 24 49 26 31 28 41 37. 1. Are there any outliers in the sample? If so, indicate their values. 2. Compute the 45-th percentile of the remission time. 3. Find a 97% confidence interval for the average remission time
In: Statistics and Probability
According to the 14th Annual RBC Homeownership Survey conducted by Ipsos Reid in 2007, most Canadians thought purchasing a home is a good investment. Additionally, there was less concern about interest and mortgage rate hikes than at the same time the year before: 51% were concerned about interest rate increases in 2007 versus 56% in 2006; 43% thought mortgage rates would go up in 2007 versus 70% in 2006. Suppose that these results are based on 1000 randomly selected adult Canadians.
(a) (3 pts) Construct a 93% confidence interval for the proportion of Canadians who were concerned about the mortgage rate increase in 2007.
(b) (3 pts) Construct a 98% confidence interval for the difference in the proportion of Canadians who were concerned about the mortgage rate increase in two years.
(c) (7 pts) Use the p-value method to test if the proportion of Canadians who were concerned about the interest rate has decreased from 2006 to 2007 at the significant level 1%. (d) (3 pts) Interpret the p-value for the test in part (c).
In: Statistics and Probability