Extract an 8 × 8 patch from the image. To access to the (i, j)th pixel of the image, you can type Y(i,j). To access the an 8×8 patch at pixel (i, j), you can do Y(i:i+7, j:j+7) for some index i and j. Extract all the available 8 × 8 patches from the image, and store them as a 64 × K matrix where K is the number of patches. The following code will be useful.
for i=1:M-8
for j=1:N-8
z = Y(i+[0:7], j+[0:7]);
... % other steps; your job.
end
end
Here, M and N are the number of rows and columns of the image, respectively. No need to worry about the boundary pixels; just drop them.
Hint: Use the command reshape in MATLAB (and Python) to turn an 8 × 8 patch into a 64 × 1 column vector. Submit the first 2 columns and the last 2 columns of your data matrix.
In: Computer Science
Go to the internet and find a news article published within the last two months that discusses which direction interest rates are heading, summarize key points and post in the Discussions area. In your response please include the current and projected levels of interest rates.
In: Finance
With greater financial integration in the last two decades, what are the main factors that affect their choices of capital? Are legal considerations, economic potentials and challenges, demographic and cultural transformations act as factors that determine their decisions-making process on capital structure? Explain your answer. (Dimention2)
In: Finance
A comparative balance sheet for Lomax Company containing data for the last two years is as follows:
| Lomax Company Comparative Balance Sheet |
|||||
| This Year | Last Year | ||||
| Assets | |||||
| Current assets: | |||||
| Cash and cash equivalents | $ | 61,000 | $ | 40,000 | |
| Accounts receivable | 710,000 | 530,000 | |||
| Inventory | 848,000 | 860,000 | |||
| Prepaid expenses | 10,000 | 5,000 | |||
| Total current assets | 1,629,000 | 1,435,000 | |||
| Property, plant, and equipment | 3,170,000 | 2,600,000 | |||
| Less accumulated depreciation | 810,000 | 755,000 | |||
| Net property, plant, and equipment | 2,360,000 | 1,845,000 | |||
| Long-term investments | 60,000 | 110,000 | |||
| Loans to subsidiaries | 214,000 | 170,000 | |||
| Total assets | $ | 4,263,000 | $ | 3,560,000 | |
| Liabilities and Stockholders' Equity | |||||
| Current liabilities: | |||||
| Accounts payable | $ | 970,000 | $ | 670,000 | |
| Accrued liabilities | 65,000 | 82,000 | |||
| Income taxes payable | 95,000 | 80,000 | |||
| Total current liabilities | 1,130,000 | 832,000 | |||
| Bonds payable | 820,000 | 600,000 | |||
| Total liabilities | 1,950,000 | 1,432,000 | |||
| Stockholders’ equity: | |||||
| Common stock | 1,740,000 | 1,650,000 | |||
| Retained earnings | 573,000 | 478,000 | |||
| Total stockholders’ equity | 2,313,000 | 2,128,000 | |||
| Total liabilities and stockholders' equity | $ | 4,263,000 | $ | 3,560,000 | |
The following additional information is available about the company’s activities during this year:
Bonds with a principal balance of $350,000 were repaid during this year.
Equipment was sold during this year for $70,000. The equipment had cost $130,000 and had $40,000 in accumulated depreciation on the date of sale.
Long-term investments were sold during the year for $110,000. These investments had cost $50,000 when purchased several years ago.
The subsidiaries did not repay any outstanding loans during the year.
Lomax did not repurchase any of its own stock during the year.
The company reported net income this year as follows:
| Sales | $ | 2,000,000 | ||||
| Cost of goods sold | 1,300,000 | |||||
| Gross margin | 700,000 | |||||
| Selling and administrative expenses | 490,000 | |||||
| Net operating income | 210,000 | |||||
| Nonoperating items: | ||||||
| Gain on sale of investments | $ | 60,000 | ||||
| Loss on sale of equipment | (20,000 | ) | 40,000 | |||
| Income before taxes | 250,000 | |||||
| Income taxes | 80,000 | |||||
| Net income | $ | 170,000 | ||||
Required:
Using the indirect method, prepare a statement of cash flows for this year. (List any deduction in cash and cash outflows as negative amounts.)
In: Accounting
In: Accounting
A firm’s balance sheets for the last two years are as follows:
Year 2019
Assets Liabilities and Equity
Cash $19,000 Accounts payable $12,000
Market securities 10,000 Accruals 10,000
Accounts receivable 21,000 Current bank note 10,000
Inventory 10,000 Long-term debt 30,000
Plant 40,000 Common stock 14,000
Retained earnings 24,000
$100,000 $100,000
Year 2020
Assets Liabilities and Equity
Cash $12,000 Accounts payable $12,000
Market securities 8,000 Accruals 10,000
Accounts receivable 18,000 Current bank note 30,000
Inventory 20,000 Long-term debt 10,000
Plant 42,000 Common stock 18,000
Retained earnings 20,000
$100,000 $100,000
Sales in 2019 were $400,000. Sales in 2020 were $400,000.
Answer the following questions in 20 words or less. Be certain to refer to the above financial statements (Asserting an answer without verification using the financial statements will earn you no credit.)
Has inventory turnover improved?
Has the firm’s risk exposure decreased?
Did the firm issue new stock during 2020?
If the firm bought $4,000 in new plant, what was the implied depreciation expense during 2020?
A Firm with sales of $3,650,000 has account receivable of $600,000. The industry average for days sales outstanding is 40 days. What is the potential savings in interest expense if the cost of credit is 10 percent and the firm achieves the industry average?
Why does times-interest-earned use operating income, but the return on equity uses net income instead of operating income?
In the Altman Z calculation one of the ratios was retained earnings/total assets. What is the impact on the numerical value of the ratio if
a) Accounts receivable are collected? Briefly explain.
b) The firm breaks even but maintains its dividend? Briefly explain.
In: Accounting
| A comparative balance sheet for Lomax Company containing data for the last two years is as follows: |
| Lomax Company Comparative Balance Sheet |
||||
| This Year |
Last Year |
|||
| Assets | ||||
| Current assets: | ||||
| Cash and cash equivalents | $ | 96,000 | $ | 70,000 |
| Accounts receivable | 640,000 | 672,500 | ||
| Inventory | 638,000 | 445,000 | ||
| Prepaid expenses | 30,000 | 17,500 | ||
| Total current assets | 1,404,000 | 1,205,000 | ||
| Property, plant, and equipment | 2,495,000 | 1,900,000 | ||
| Less accumulated depreciation | 645,000 | 582,500 | ||
| Net property, plant, and equipment | 1,850,000 | 1,317,500 | ||
| Long-term investments | 132,500 | 205,000 | ||
| Loans to subsidiaries | 145,000 | 82,500 | ||
| Total assets |
$ | 3,531,500 | $ | 2,810,000 |
| Liabilities and Stockholders' Equity | ||||
| Current liabilities | ||||
| Accounts payable | $ | 910,000 | $ | 595,000 |
| Accrued liabilities | 40,000 | 64,500 | ||
| Income taxes payable | 165,500 | 138,000 | ||
| Total current liabilities | 1,115,500 | 797,500 | ||
| Bonds payable | 745,000 | 475,000 | ||
| Total liabilities | 1,860,500 | 1,272,500 | ||
| Stockholders’ equity: | ||||
| Common stock | 1,140,000 | 1,025,000 | ||
| Retained earnings | 531,000 | 512,500 | ||
| Total stockholders’ equity | 1,671,000 | 1,537,500 | ||
| Total liabilities and stockholders' equity | $ | 3,531,500 | $ | 2,810,000 |
| The following additional information is available about the company’s activities during this year: | |
| a. | The company declared and paid a cash dividend this year. |
| b. | Bonds with a principal balance of $405,000 were repaid during this year. |
| c. | Equipment was sold during this year for $82,500. The equipment had cost $180,000 and had $70,000 in accumulated depreciation on the date of sale. |
| d. | Long-term investments were sold during the year for $160,000. These investments had cost $72,500 when purchased several years ago. |
| e. | The subsidiaries did not repay any outstanding loans during the year. |
| f. | Lomax did not repurchase any of its own stock during the year. |
| The company reported net income this year as follows: |
| Sales | $ | 3,500,000 | ||
| Cost of goods sold | 2,170,000 | |||
| Gross margin | 1,330,000 | |||
| Selling and administrative expenses |
1,062,500 | |||
| Net operating income | 267,500 | |||
| Nonoperating items: | ||||
| Gain on sale of investments | $ | 87,500 | ||
| Loss on sale of equipment | 27,500 | 60,000 | ||
| Income before taxes | 327,500 | |||
| Income taxes |
105,000 | |||
| Net income | $ | 222,500 | ||
| Required: | |
| 1. |
Using the indirect method, prepare a statement of cash flows for this year. (List any deduction in cash and cash outflows as negative amounts.) |
In: Accounting
Last week, Onboard Co. has announced that the next two annual dividends will be in the amount of $2.13 and $3.74, respectively. After that, the dividends will increase by 2.01 percent annually. The required return on this stock is 11.38 percent. What is the current price per share? (Hint: draw this out on a timeline.)
In: Finance
A firm is considering two projects, A and B. Each project will last for 4 years. The projects are INDEPENDENT. The projected cash flows for each project are shown below:
Year 0 1 2 3 4
Project A -20.00 8.00 8.00 6.00 4.00
Project B -30.00 10.00 10.00 11.00 9.00
The cost of capital for the firm is 10.00%. What is the NPV for project A at the cost of capital?
Answer Format: Currency: Round to: 2 decimal places.
In: Finance
A comparative balance sheet for Lomax Company containing data for the last two years is as follows:
| Lomax Company Comparative Balance Sheet |
||||
| This Year | Last Year | |||
| Assets | ||||
| Current assets: | ||||
| Cash and cash equivalents | $ | 91,000 | $ | 66,000 |
| Accounts receivable | 630,000 | 660,000 | ||
| Inventory | 632,000 | 440,000 | ||
| Prepaid expenses | 26,000 | 15,000 | ||
| Total current assets | 1,379,000 | 1,181,000 | ||
| Property, plant, and equipment | 2,470,000 | 1,880,000 | ||
| Less accumulated depreciation | 639,000 | 578,000 | ||
| Net property, plant, and equipment | 1,831,000 | 1,302,000 | ||
| Long-term investments | 122,000 | 190,000 | ||
| Loans to subsidiaries | 140,000 | 80,000 | ||
| Total assets | $ | 3,472,000 | $ | 2,753,000 |
| Liabilities and Stockholders' Equity | ||||
| Current liabilities: | ||||
| Accounts payable | $ | 902,000 | $ | 590,000 |
| Accrued liabilities | 37,000 | 60,000 | ||
| Income taxes payable | 159,000 | 134,000 | ||
| Total current liabilities | 1,098,000 | 784,000 | ||
| Bonds payable | 720,000 | 460,000 | ||
| Total liabilities | 1,818,000 | 1,244,000 | ||
| Stockholders’ equity: | ||||
| Common stock | 1,130,000 | 1,020,000 | ||
| Retained earnings | 524,000 | 489,000 | ||
| Total stockholders’ equity | 1,654,000 | 1,509,000 | ||
| Total liabilities and stockholders' equity | $ | 3,472,000 | $ | 2,753,000 |
The following additional information is available about the company’s activities during this year:
Bonds with a principal balance of $400,000 were repaid during this year.
Equipment was sold during this year for $80,000. The equipment had cost $170,000 and had $64,000 in accumulated depreciation on the date of sale.
Long-term investments were sold during the year for $150,000. These investments had cost $68,000 when purchased several years ago.
The subsidiaries did not repay any outstanding loans during the year.
Lomax did not repurchase any of its own stock during the year.
The company reported net income this year as follows:
| Sales | $ | 3,400,000 | ||||
| Cost of goods sold | 2,108,000 | |||||
| Gross margin | 1,292,000 | |||||
| Selling and administrative expenses | 1,036,000 | |||||
| Net operating income | 256,000 | |||||
| Nonoperating items: | ||||||
| Gain on sale of investments | $ | 82,000 | ||||
| Loss on sale of equipment | (26,000 | ) | 56,000 | |||
| Income before taxes | 312,000 | |||||
| Income taxes | 100,000 | |||||
| Net income | $ | 212,000 | ||||
Required:
Using the indirect method, prepare a statement of cash flows for this year. (List any deduction in cash outflows as negative amounts.)
In: Accounting