MATLAB CODE
Let’s say you need to write a small script that takes in the total amount of money entered, and a cost, and returns the correct change in quarters/dimes/nickels/pennies.
PREVIOUS CODE FOR THIS
function value = get_coin_value(coin)
%Set value to be the correct number based on coin.
%For example, if coin == 'q', value = 25
if coin == 'q'
value = 25;
elseif coin == 'd'
value = 10;
elseif coin == 'n'
value = 5;
elseif coin == 'p'
value = 1;
else
value = 0;
end
function total = insert_coins
%your code here
total = 0;
%Loop to keep asking user for coin till total is less than 115 cents
while(total<115)
coin = input('Enter q for quarter, d for dime, n for nickel,p for penny:','s');
total = total + get_coin_value(coin);
end
disp("Your NAU power juice has been dispensed")
end
In: Computer Science
|
High Desert Potteryworks makes a variety of pottery products that it sells to retailers such as Home Depot. The company uses a job-order costing system in which predetermined overhead rates are used to apply manufacturing overhead cost to jobs. The predetermined overhead rate in the Molding Department is based on machine-hours, and the rate in the Painting Department is based on direct labor-hours. At the beginning of the year, the company's management made the following estimates: |
| Department | ||
| Molding | Painting | |
| Direct labor-hours | 33,500 | 58,600 |
| Machine-hours | 82,000 | 38,000 |
| Direct materials cost | $193,000 | $203,000 |
| Direct labor cost | $280,000 | $514,000 |
| Fixed manufacturing overhead cost | $205,000 | $580,140 |
| Variable manufacturing overhead per machine-hour | $2.40 | - |
| Variable manufacturing overhead per direct labor-hour | - | $4.40 |
|
Job 205 was started on August 1 and
completed on August 10. The company's cost records |
| Department | ||
| Molding | Painting | |
| Direct labor-hours | 74 | 127 |
| Machine-hours | 380 | 71 |
| Materials placed into production | $950 | $1,180 |
| Direct labor cost | $700 | $950 |
| Required: |
| 1. |
Compute the predetermined overhead rate used during the year in the Molding Department. Compute the rate used in the Painting Department. (Round your answers to 2 decimal places.) |
||||||||||||
|
|||||||||||||
| 2. |
Compute the total overhead cost applied to Job 205. (Round "Predetermined overhead rate" to 2 decimal places, other intermediate calculations and final answers to the nearest dollar amount.) |
|
| 3-a. |
What would be the total cost recorded for Job 205? (Round "Predetermined overhead rate" to 2 decimal places, other intermediate calculations and final answers to the nearest dollar amount.) |
|||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
| 3-b. |
If the job contained 34 units, what would be the unit product cost? (Round "Predetermined overhead rate" and final answer to 2 decimal places and other intermediate calculations to the nearest dollar amount.) |
||||||
|
| 4. |
At the end of the year, the records of High Desert Potteryworks revealed the following actual cost and operating data for all jobs worked on during the year: |
| Department | ||
| Molding | Painting | |
| Direct labor-hours | 29,000 | 58,000 |
| Machine-hours | 81,700 | 23,500 |
| Direct materials cost | $162,900 | $424,000 |
| Direct labor cost | $108,000 | $436,000 |
| Manufacturing overhead cost | $411,230 | $792,300 |
|
What was the amount of underapplied or overapplied overhead in each department at the end of the year? (Round "Predetermined overhead rate" to 2 decimal places, other intermediate calculations and final answers to the nearest dollar amount. Select "None" for no effect (i.e., zero variance).) |
|
|
|
In: Accounting
QUESTION 1
The law of diminishing marginal productivity pertains to_____:
| a. |
the short run. |
|
| b. |
the long run. |
|
| c. |
both the short run and the long run. |
|
| d. |
the short run for small firms, and the long run for large firms. |
1 points
QUESTION 2
Assume that you own a sole proprietorship. Your first year earnings were $75,000, and your explicit costs were $55,000. If you could have worked at another establishment and earned $25,000, which of the following is true?
| a. |
Your firm earned an economic profit of $20,000. |
|
| b. |
Your firm's total implicit costs were $80,000. |
|
| c. |
Your firm sustained an economic loss of $5,000. |
|
| d. |
Your firm's total costs are $100,000. |
1 points
QUESTION 3
Which of the following is true regarding accounting profit?
| a. |
It is typically smaller than economic profit. |
|
| b. |
It includes all explicit and implicit cost of production. |
|
| c. |
It includes depreciation. |
|
| d. |
All of the above. |
1 points
QUESTION 4
Marginal cost is understood as the change in__________ when producing one more unit of output. In the short run, marginal cost can also be determined by the change in__________ when producing one more unit of output.
| a. |
variable cost; fixed cost |
|
| b. |
total cost; fixed cost |
|
| c. |
fixed cost; variable cost |
|
| d. |
total cost; variable cost |
1 points
QUESTION 5
Which of the following are characteristics of a perfectly competitive market?
| a. |
Firms are price takers. |
|
| b. |
Firms produce identical or nearly identical products. |
|
| c. |
Firms can enter the market without any restrictions. |
|
| d. |
All of the above. |
1 points
QUESTION 6
An organization with 50 employees will add 10 employees next month. This is_____:
| a. |
a long run decision. |
|
| b. |
a long run and a short run decision. |
|
| c. |
a short run decision. |
|
| d. |
none of the above. |
1 points
QUESTION 7
Fixed inputs are_____:
| a. |
those inputs to production that have a fixed price. |
|
| b. |
those inputs to production that result in a fixed variable product. |
|
| c. |
those inputs to production that cannot be varied in the short run. |
|
| d. |
those inputs to production that have a fixed market. |
1 points
QUESTION 8
When deciding whether to continue operations or shutdown, a perfectly competitive firm should_____:
| a. |
continue operations if the price of the firm's product falls below the minimum average variable cost. |
|
| b. |
shut down if the price of the firm's product falls below the minimum average variable cost. |
|
| c. |
continue operations if the marginal cost of a new invention for the firm surpasses average variable cost. |
|
| d. |
shut down if it can cover all of its costs, but only at a diminishing marginal rate. |
1 points
QUESTION 9
If the total output rises while the cost per unit fails, a firm is understood to be enjoying_____:
| a. |
increased profits. |
|
| b. |
economies of scale. |
|
| c. |
maximum efficiency. |
|
| d. |
all of the above. |
1 points
QUESTION 10
Firms that compete in perfectly competitive markets must decide_____:
| a. |
the quantity to produce. |
|
| b. |
the price to charge. |
|
| c. |
the price to charge and the quantity to produce. |
|
| d. |
none of the above. |
In: Economics
Alex Bodvin acquires a residential rental property on June 1, 2019, at a total cost of $423,000. Of this total, $132,000 can be allocated to the value of the land. He immediately spends $42,000 to make major improvements to the property. Rents for the year total $32,000, while rental expenses other than CCA total $27,500. This is the only rental property owned by Mr. Bodvin. Determine the maximum CCA that is available for 2019. In addition, determine Mr. Bodvin’s minimum net rental income for the year.
In: Accounting
Question 2 Variance analysis for Divine Denim
Helen has been using a standard cost system developed by Good Numbers and calculates the standard cost of a completed pair of RTW jeans as $72.00, as follows:
| Quantity | Price $ | Unit | Cost per pair of jeans $ | |
| Denim fabric meters | 2 | 10 | /metre | 20.00 |
| Direct labour hours | 2 | 20 | /hour | 40.00 |
| Variable factory overhead | 0.4 | 10 | /hour | 4.00 |
| Fixed factory overhead | 0.4 | 20 | /hour | 8.00 |
| Total standard cost | 72.00 |
The fixed overhead rate is based on an estimated 600 units per month. Direct labour is nearly a fixed cost in this business. Selling and administrative costs are $4500 per month plus $2 per pair of jeans sold. The following information is for production during April:
| Units | ||
| Number of pairs of jeans made | 565 | Jeans |
| Purchase of 1200 metres of denim | 13,200 | metres |
| Number of metres used | 1,150 | metres |
| Direct labour costs (1200 hours) | 24,500 | $ |
| Variable factory overhead costs | 2,750 | $ |
| Fixed factory overhead costs | 4,020 | $ |
| Selling and administrative costs | 3,770 | $ |
Divine Denim’s policy is to record materials price variances at the time materials are purchased. Use a spreadsheet to perform calculations.
Required:
As an accountant working for Good Numbers use a spreadsheet to:
In: Accounting
Allocating Joint Costs Using the Weighted Average Method
Orchard Fresh, Inc., purchases apples from local orchards and sorts them into four categories. Grade A are large blemish-free apples that can be sold to gourmet fruit sellers. Grade B apples are smaller and may be slightly out of proportion. These are packed in boxes and sold to grocery stores. Apples for slices are even smaller than Grade B apples and have blemishes. Apples for applesauce are of lower grade than apples for slices, yet still suitable for canning.
Information on a recent purchase of 20,000 pounds of apples is as follows: Assume that Orchard Fresh, Inc., uses the weighted average method of joint cost allocation and has assigned the following weights to the four grades of apples:
| Grades | Pounds | Weight Factor |
| Grade A | 1,800 | 4.0 |
| Grade B | 5,000 | 2.0 |
| Slices | 8,000 | 1.0 |
| Applesauce | 5,200 | 0.5 |
| Total | 20,000 |
Total joint cost is $19,000.
Required:
1. Allocate the joint cost to the four grades of apples using the weighted average method. Round your allocation percentages to four decimal places and round the allocated costs to the nearest dollar.
| Joint Cost | |
| Grades | Allocation |
| Grade A | $fill in the blank 1 |
| Grade B | fill in the blank 2 |
| Slices | fill in the blank 3 |
| Applesauce | fill in the blank 4 |
| Total | $fill in the blank 5 |
(Note: The joint cost allocation does not equal $19,000 due to rounding.)
2. What if the factory found that Grade A apples were being valued less by customers and decided to decrease the weight factor for Grade A apples to 3.0? How would that affect the allocation of cost to Grade A apples? How would it affect the allocation of cost to the remaining grades? Round your allocation percentages to four decimal places and round the allocated costs to the nearest dollar.
| Joint Cost | |
| Grades | Allocation |
| Grade A | $fill in the blank 6 |
| Grade B | fill in the blank 7 |
| Slices | fill in the blank 8 |
| Applesauce | fill in the blank 9 |
| Total | $fill in the blank 10 |
(Note: The joint cost allocation does not equal $19,000 due to rounding.)
In: Accounting
Absorption and Variable Costing Income Statements
During the first month of operations ended July 31, YoSan Inc. manufactured 9,200 flat panel televisions, of which 8,600 were sold. Operating data for the month are summarized as follows:
| Sales | $1,548,000 | |
| Manufacturing costs: | ||
| Direct materials | $782,000 | |
| Direct labor | 230,000 | |
| Variable manufacturing cost | 202,400 | |
| Fixed manufacturing cost | 101,200 | 1,315,600 |
| Selling and administrative expenses: | ||
| Variable | $120,400 | |
| Fixed | 55,400 | 175,800 |
Required:
1. Prepare an income statement based on the absorption costing concept.
| YoSan Inc. | ||
| Absorption Costing Income Statement | ||
| For the Month Ended July 31 | ||
| Sales | $fill in the blank 3cabcef7c03c065_2 | |
| Cost of goods sold: | ||
| Cost of goods manufactured | $fill in the blank 3cabcef7c03c065_4 | |
| Inventory, July 31 | fill in the blank 3cabcef7c03c065_6 | |
| Total cost of goods sold | fill in the blank 3cabcef7c03c065_8 | |
| Gross profit | $fill in the blank 3cabcef7c03c065_10 | |
| Selling and administrative expenses | fill in the blank 3cabcef7c03c065_12 | |
| Income from operations | $fill in the blank 3cabcef7c03c065_14 | |
Feedback
1. Sales - (cost of goods manufactured - ending inventory*) =
Gross profit; gross profit - selling and administrative expenses =
income from operations
*(Manufactured Units - Sold units) x (total manufacturing
costs/manufactured units)
Learning Objective 1 and Learning Objective 2.
2. Prepare an income statement based on the variable costing concept.
| YoSan Inc. | ||
| Variable Costing Income Statement | ||
| For the Month Ended July 31 | ||
| Sales | $fill in the blank c9363200df8dfa4_2 | |
| Variable cost of goods sold: | ||
| Variable cost of goods manufactured | $fill in the blank c9363200df8dfa4_4 | |
| Inventory, July 31 | fill in the blank c9363200df8dfa4_6 | |
| Total variable cost of goods sold | fill in the blank c9363200df8dfa4_8 | |
| Manufacturing margin | $fill in the blank c9363200df8dfa4_10 | |
| Variable selling and administrative expenses | fill in the blank c9363200df8dfa4_12 | |
| Contribution margin | $fill in the blank c9363200df8dfa4_14 | |
| Fixed costs: | ||
| Fixed manufacturing costs | $fill in the blank c9363200df8dfa4_16 | |
| Fixed selling and administrative expenses | fill in the blank c9363200df8dfa4_18 | |
| Total fixed costs | fill in the blank c9363200df8dfa4_20 | |
| Income from operations | $fill in the blank c9363200df8dfa4_22 | |
In: Accounting
The following information is available for Shanika Company for 20Y6:
| Inventories | January 1 | December 31 | ||
| Materials | $206,620 | $252,080 | ||
| Work in process | 371,920 | 342,830 | ||
| Finished goods | 357,450 | 350,390 | ||
| Advertising expense | $171,160 |
| Depreciation expense-office equipment | 24,200 |
| Depreciation expense-factory equipment | 32,520 |
| Direct labor | 388,200 |
| Heat, light, and power-factory | 12,860 |
| Indirect labor | 45,370 |
| Materials purchased | 380,640 |
| Office salaries expense | 132,850 |
| Property taxes-factory | 10,590 |
| Property taxes-headquarters building | 21,930 |
| Rent expense-factory | 17,900 |
| Sales | 1,782,210 |
| Sales salaries expense | 218,810 |
| Supplies-factory | 8,820 |
| Miscellaneous costs-factory | 5,550 |
Required:
1. Prepare the 20Y6 statement of cost of goods manufactured.
| Shanika Company | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Statement of Cost of Goods Manufactured | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| For the Year Ended December 31, 20Y6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Work in process inventory, January 1, 20Y6 ______ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Direct materials:________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Materials inventory, January 1, 20Y6 ________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Purchases _________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cost of materials available for use _______ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Materials inventory, December 31, 20Y6 ________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cost of direct materials used in production ________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Direct labor _________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factory overhead:__________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Indirect labor _________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Depreciation expense-factory equipment _________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Heat, light, and power-factory ___________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Property taxes-factory _________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Rent expense-factory ___________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Supplies-factory __________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Miscellaneous costs-factory _________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Total factory overhead_________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Total manufacturing costs incurred in 20Y6_________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Total manufacturing costs_________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Work in process inventory, December 31, 20Y6 _________ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Cost of goods manufactured_________ 2. Prepare the 20Y6 income statement.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In: Accounting
Question 2 Variance analysis for Divine Denim
Helen has been using a standard cost system developed by Good Numbers and calculates the standard cost of a completed pair of RTW jeans as $72.00, as follows:
| Quantity | Price $ | Unit | Cost per pair of jeans $ | |
| Denim fabric meters | 2 | 10 | /metre | 20.00 |
| Direct labour hours | 2 | 20 | /hour | 40.00 |
| Variable factory overhead | 0.4 | 10 | /hour | 4.00 |
| Fixed factory overhead | 0.4 | 20 | /hour | 8.00 |
| Total standard cost | 72.00 |
The fixed overhead rate is based on an estimated 600 units per month. Direct labour is nearly a fixed cost in this business. Selling and administrative costs are $4500 per month plus $2 per pair of jeans sold. The following information is for production during April:
| Units | ||
| Number of pairs of jeans made | 565 | Jeans |
| Purchase of 1200 metres of denim | 13,200 | metres |
| Number of metres used | 1,150 | metres |
| Direct labour costs (1200 hours) | 24,500 | $ |
| Variable factory overhead costs | 2,750 | $ |
| Fixed factory overhead costs | 4,020 | $ |
| Selling and administrative costs | 3,770 | $ |
Divine Denim’s policy is to record materials price variances at the time materials are purchased. Use a spreadsheet to perform calculations.
Required:
As an accountant working for Good Numbers use a spreadsheet to:
In: Accounting
Income Statements under Absorption and Variable Costing
Patagucci Inc. manufactures and sells athletic equipment. The company began operations on August 1, 2016, and operated at 100% of capacity (75,900 units) during the first month, creating an ending inventory of 6,900 units. During September, the company produced 69,000 garments but sold 75,900 units at $85 per unit. The September manufacturing costs and selling and administrative expenses were as follows:
| Number of Units | Unit Cost | Total Cost |
||||
| Manufacturing costs in September beginning inventory: | ||||||
| Variable | 6,900 | $34.00 | $234,600 | |||
| Fixed | 6,900 | 13.00 | 89,700 | |||
| Total | $47.00 | $324,300 | ||||
| September manufacturing costs: | ||||||
| Variable | 69,000 | $34.00 | $2,346,000 | |||
| Fixed | 69,000 | 14.30 | 986,700 | |||
| Total | $48.30 | $3,332,700 | ||||
| Selling and administrative expenses: | ||||||
| Variable | $1,282,710 | |||||
| Fixed | 599,600 | |||||
| Total | $1,882,310 | |||||
a. Prepare an income statement according to the absorption costing concept for September.
| Patagucci Inc. | ||
| Absorption Costing Income Statement | ||
| For the Month Ended September 30, 2016 | ||
| Sales | $ | |
| Cost of goods sold: | ||
| Gross profit | $ | |
| Selling and administrative expenses | ||
| Cost of goods manufactured | ||
| Cost of goods sold | $ | |
| Selling and administrative expenses | ||
| Income from operations | $ | |
b. Prepare an income statement according to the variable costing concept for September.
| Patagucci Inc. | ||
| Variable Costing Income Statement | ||
| For the Month Ended September 30, 2016 | ||
| Sales | $ | |
| Variable cost of goods sold | ||
| Manufacturing margin | $ | |
| Variable selling and administrative expenses | ||
| Contribution margin | $ | |
| Fixed costs: | ||
| Fixed manufacturing costs | $ | |
| Fixed selling and administrative expenses | ||
| Income from operations | $ | |
c. What is the reason for the difference in the amount of income from operations reported in (a) and (b)?
Under the absorption costing method, the fixed manufacturing cost included in the cost of goods sold is matched with the revenues. Under variable costing , all of the fixed manufacturing cost is deducted in the period in which it is incurred, regardless of the amount of inventory change. Thus, when inventory decreases, the absorption costing income statement will have a lower income from operations.
In: Accounting