Write program in Java
import java.util.Scanner;
public class Lab7Program {
public static void main(String[] args) {
//1. Create a double array that can hold 10 values
//2. Invoke the outputArray method, the double array is the actual
argument.
//4. Initialize all array elements using random floating point
numbers between 1.0 and 5.0, inclusive
//5. Invoke the outputArray method to display the contents of the
array
//6. Set last element of the array with the value 5.5, use length
to access last index.
//7. Invoke the outputArray method to display the contents of the
array
//8. Allow user to input elements 2 through 6 through
keyboard
//9. Invoke the outputArray method to display the contents of the
array
//10. Compute the sum of all elements in the array
//11. Display the sum you found in step #9
//12. Find the index of the smallest element in the array.
//13. Display the index of the smallest element and the value of
the
// smallest element.
//15. Invoke bubble sort method, the array is the actual
argument.
//16. Invoke the outputArray method, the array is the actual
argument.
//18. Invoke linearSearch method, search for value 5.5. Output a
statement informing if the
// search value was found or not.
}
// 3. Implement outputArray method that will display the contents
of the array
// on a single line, elements separated by spaces.
// There should be an empty line in the output after the array
elements.
// 14. Implement bubble sort method here. The double type array is
the formal parameter.
// 17. Implement linearSearch method here. The double type array
and search value are the formal parameters.
}
In: Computer Science
This is my lab and I am very confused regarding the calculations! It is supposes to demonstrate Le Chatelier’s principle.
After doing the following I need to calculate the molar absorbance for Co(H20)6 2+. The path length is 1cm and absorbance is .551. I got 5.51 L/mol *cm.
I also need to calculate the CoCl4 2- molar absorbance which I do not understand. The absorbance is .570 and the path length is 1cm. I do not know how to find the concentration.
1.Obtain a 10 mL graduated cylinder and three, 1 cm diameter spectrophotometer cells (cuvettes).
2. Fill one cuvette about ¾ full with deionized water. This cuvette will be used as the blank, to zero the instrument.
3. Fill a second cuvette about ¾ full with 0.10 M Co(NO3)2 .6H2O.
4. Prepare 100 mL of a 0.010 M Co(NO3)2 . 6H2O solution. Add exactly 10.0 mL of 0.10 M Co(NO3)2*6H2O to a 100 mL volumetric flask and dilute with deionized water to the mark.
5. Use the 10.0 ml graduated cylinder to prepare a solution of [CoCl4]2-. To the 10 mL graduated cylinder add 1.0 mL of 0.010 M Co(NO3)2 * 6H2O (prepared in step 4). Carefully pipette 4.0 mL of 12 M HCl into the graduated cylinder so that the total volume is 5 mL. Mix well.
6. Fill the third cuvette about ¾ full with the solution from step 5.
7. Obtain an equilibrium mixture from your instructor. This will be cuvette 4.
In: Chemistry
A reputable engine company has been making carbureted spark-ignition engines that operate with an equivalence ratio = 1.0 and a compression ratio of 9:1 for years. In order to control emissions, the engines operate with 20% exhaust gas recirculation (EGR) and a three-way catalytic converter. Since the company’s market share is steadily dropping, they consider hiring a MEC graduate to rescue them. The ambitious young engineer proposes a port fuel-injected (PFI) design, which operates lean at 0.7 with a high compression ratio (15:1) and vigorous inlet swirl. The new engine has the spark-plug mounted at the center of the combustion chamber, while the production engine has the spark-plug at the side.
(a) Will the flame development period of the new chamber be shorter, longer, or about the same as the current design?
(b) Will the rate of the combustion of the new chamber be faster, slower, or about the same as the current design?
(c) Sketch the mass fraction burned vs. crank-angle curves for these two combustion chambers when spark-timing is set for maximum brake torque. Clearly label the sparktiming, ignition delay, and overall burn duration for each case.
(d) The engineer claims that the proposed lean-burn engine will have the same octane requirement as the production SI engine. Could this claim be true?
(e) Will the proposed lean-burn engine clearly develop greater power at full load than the current SI engine?
(f) Would there be any additional advantages or disadvantages if the proposed engine were direct-injected, stratified charge, instead of homogeneous, operating at the same overall equivalence ratio?
In: Mechanical Engineering
Danny Electronics Corporation uses a standard cost system for the production of its water ski radios. The direct labor standard for each radio is 0.9 hours. The standard direct labor cost per hour is $7.20. During the month of August, Danny's water ski radio production used 6,600 direct labor-hours at a total direct labor cost of $48,708. What is Danny's labor rate variance for August?
$1,188Favorable
$1,188 Unfavorable
$2,160 Favorable
$2,160Unfavorable
Emily Corporation's cost of goods manufactured for the just completed month was $146,000. The beginning finished goods inventory was $35,000 and the ending finished goods inventory was $37,000. How much was the cost of goods sold?
A. $181,000B. $146,000C. $144,000D. $139,000
If manufacturing overhead is under applied, then:
actual manufacturing overhead cost is less than estimated manufacturing overhead cost.
the amount of manufacturing overhead cost applied to Work in Process is less than the actual
manufacturing overhead cost incurred.
the predetermined overhead rate is too high.
the Manufacturing Overhead account will have a credit balance at the end of the year.
Selling used equipment, for cash, at book value will:
Increaseworkingcapital
Decrease working capital
Decrease debt-to-equity ratio
Increasenetincome
A company’s current ratio is greater than 1.0. Purchasing raw materials for cash will:
Notchangethecurrentratio
Increase the current ratio
Decrease the current ratio
Increasenetworkingcapital
A company’s DSO (Days Sales Outstanding) would expect to improve as a result of
The terms of sale changed from net 30 to net 45 days from invoice date
A drop is sales price
An increase in cash sales in proportion to credit sales
D. A change in the credit policy to shorten the period for cash discounts
In: Accounting
Smoky Mountain Corporation makes two types of hiking boots—the Xtreme and the Pathfinder. Data concerning these two product lines appear below: Xtreme Pathfinder Selling price per unit $ 121.00 $ 85.00 Direct materials per unit $ 64.90 $ 51.00 Direct labor per unit $ 11.20 $ 8.00 Direct labor-hours per unit 1.4 DLHs 1.0 DLHs Estimated annual production and sales 27,000 units 70,000 units The company has a traditional costing system in which manufacturing overhead is applied to units based on direct labor-hours. Data concerning manufacturing overhead and direct labor-hours for the upcoming year appear below: Estimated total manufacturing overhead $ 2,156,000 Estimated total direct labor-hours 107,800 DLHs Required: 1. Compute the product margins for the Xtreme and the Pathfinder products under the company’s traditional costing system. 2. The company is considering replacing its traditional costing system with an activity-based costing system that would assign its manufacturing overhead to the following four activity cost pools (the Other cost pool includes organization-sustaining costs and idle capacity costs): Estimated Overhead Cost Expected Activity Activities and Activity Measures Xtreme Pathfinder Total Supporting direct labor (direct labor-hours) $ 700,700 37,800 70,000 107,800 Batch setups (setups) 737,000 380 290 670 Product sustaining (number of products) 640,000 1 1 2 Other 78,300 NA NA NA Total manufacturing overhead cost $ 2,156,000 Compute the product margins for the Xtreme and the Pathfinder products under the activity-based costing system.
In: Accounting
Smoky Mountain Corporation makes two types of hiking boots—the Xtreme and the Pathfinder. Data concerning these two product lines appear below: Xtreme Pathfinder Selling price per unit $ 121.00 $ 88.00 Direct materials per unit $ 64.70 $ 54.00 Direct labor per unit $ 10.80 $ 9.00 Direct labor-hours per unit 1.2 DLHs 1.0 DLHs Estimated annual production and sales 25,000 units 71,000 units The company has a traditional costing system in which manufacturing overhead is applied to units based on direct labor-hours. Data concerning manufacturing overhead and direct labor-hours for the upcoming year appear below: Estimated total manufacturing overhead $ 2,020,000 Estimated total direct labor-hours 101,000 DLHs Required: 1. Compute the product margins for the Xtreme and the Pathfinder products under the company’s traditional costing system. 2. The company is considering replacing its traditional costing system with an activity-based costing system that would assign its manufacturing overhead to the following four activity cost pools (the Other cost pool includes organization-sustaining costs and idle capacity costs): Estimated Overhead Cost Expected Activity Activities and Activity Measures Xtreme Pathfinder Total Supporting direct labor (direct labor-hours) $ 606,000 30,000 71,000 101,000 Batch setups (setups) 693,000 360 270 630 Product sustaining (number of products) 700,000 1 1 2 Other 21,000 NA NA NA Total manufacturing overhead cost $ 2,020,000 Compute the product margins for the Xtreme and the Pathfinder products under the activity-based costing system.
In: Accounting
Subway, the fast food restaurant franchise, recently announced it is bringing back the “$5 Footlong” promotion. Hundreds of Subway franchise owners are protesting the promotion, saying that they cannot afford to sell the footlong sub sandwiches for $5.
Assume that the costs related to a Subway footlong and a Subway franchisee include the following:
|
Cost item |
Details |
Cost per sandwich |
|
Food ingredients |
Per footlong |
$ 2.00 |
|
Labor cost per footlong |
Labor $14.00/hour wage rate, each worker can make 7 sandwiches per hour |
2.00 |
|
Credit card transaction fee |
1.0% + $0.10 per transaction |
0.15 |
|
Electricity |
$360 per month divided by 4,000 orders per month |
0.09 |
|
Rent |
Rent $1,200 per month divided by 4,000 orders per month |
0.30 |
|
Franchise fee amortization |
Franchise and startup fees $36,000 divided by 180 months (15 years) divided by 4,000 orders per month |
0.05 |
|
Royalty fee |
8.0% of sales |
0.40 |
|
Advertising fee |
4.5% of sales |
0.23 |
|
Equipment leasing cost |
$600 per month divided by 4,000 orders |
0.15 |
|
Cost per footlong sandwich |
$ 5.37 |
Questions (Be sure to understand the following concepts before answering: (Variable Costs, Fix Costs, Mixed Costs):
In: Accounting
12a. A 0.260-kg piece of aluminum that has a temperature of -159 °C is added to 1.0 kg of water that has a temperature of 2.7 °C. At equilibrium the temperature is 0 °C. Ignoring the container and assuming that the heat exchanged with the surroundings is negligible, determine the mass of water that has been frozen into ice. Number Units
b. If the price of electrical energy is $0.09 per kilowatt·hour, what is the cost of using electrical energy to heat the water in a swimming pool (12.0 m x 9.00 m x 1.50 m) from 12 to 26 °C?
| Number | Units |
dollarsm^3m^2kg/m^2F° |
c. In an electrically heated home, the temperature of the ground
in contact with a concrete basement wall is 12.0 oC. The
temperature at the inside surface of the wall is 20.3
oC. The wall is 0.18 m thick and has an area of 6.7
m2. Assume that one kilowatt hour of electrical energy
costs $0.10. How many hours are required for one dollar's worth of
energy to be conducted through the wall?
Number Units
hrs
d. A wall in a house contains a single window. The window consists of a single pane of glass whose area is 0.11 m2 and whose thickness is 6 mm. Treat the wall as a slab of the insulating material Styrofoam whose area and thickness are 17 m2 and 0.15 m, respectively. Heat is lost via conduction through the wall and the window. The temperature difference between the inside and outside is the same for the wall and the window. Of the total heat lost by the wall and the window, what is the percentage lost by the window?
Percentage lost by window = Number Units
W°CJ%°FmkgC°
In: Physics
Kaelea, Inc., has no debt outstanding and a total market value
of $130,000. Earnings before interest and taxes, EBIT, are
projected to be $9,600 if economic conditions are normal. If there
is strong expansion in the economy, then EBIT will be 21 percent
higher. If there is a recession, then EBIT will be 34 percent
lower. The company is considering a $38,000 debt issue with an
interest rate of 6 percent. The proceeds will be used to repurchase
shares of stock. There are currently 5,200 shares outstanding.
Assume the company has a market-to-book ratio of 1.0.
a. Calculate return on equity, ROE, under each of
the three economic scenarios before any debt is issued, assuming no
taxes. (Do not round intermediate calculations and enter
your answers as a percent rounded to 2 decimal places, e.g.,
32.16.)
| ROE | |
| Recession | % |
| Normal | % |
| Expansion | % |
b. Calculate the percentage changes in ROE when
the economy expands or enters a recession, assuming no taxes.
(A negative answer should be indicated by a
minussign. Do not round intermediate calculations
and enter your answers as a percent rounded to the nearest whole
number, e.g., 32.)
| %?ROE | |
| Recession | % |
| Expansion | % |
Assume the firm goes through with the proposed recapitalization and
no taxes.
c. Calculate return on equity, ROE, under each of
the three economic scenarios after the recapitalization.
(Do not round intermediate calculations and enter your
answers as a percent rounded to 2 decimal places, e.g.,
32.16.)
| ROE | |
| Recession | % |
| Normal | % |
| Expansion | % |
d. Calculate the percentage changes in ROE for
economic expansion and recession. (A negative answer should
be indicated by a minus sign. Do not round
intermediate calculations and enter your answers as a percent
rounded to 2 decimal places, e.g.,
32.16.)
| %?ROE | |
| Recession | % |
| Expansion | % |
In: Finance
Smoky Mountain Corporation makes two types of hiking boots—the Xtreme and the Pathfinder.
| Xtreme | Pathfinder | |||||
| Selling price per unit | $ | 125.00 | $ | 91.00 | ||
| Direct materials per unit | $ | 64.20 | $ | 55.00 | ||
| Direct labor per unit | $ | 16.00 | $ | 10.00 | ||
| Direct labor-hours per unit | 1.6 | DLHs | 1.0 | DLHs | ||
| Estimated annual production and sales | 25,000 | units | 71,000 | units | ||
The company has a traditional costing system in which manufacturing overhead is applied to units based on direct labor-hours. Data concerning manufacturing overhead and direct labor-hours for the upcoming year appear below:
| Estimated total manufacturing overhead | $ | 2,331,000 | ||
| Estimated total direct labor-hours | 111,000 | DLHs | ||
Required:
1. Compute the product margins for the Xtreme and the Pathfinder products under the company’s traditional costing system.
2. The company is considering replacing its traditional costing system with an activity-based costing system that would assign its manufacturing overhead to the following four activity cost pools (the Other cost pool includes organization-sustaining costs and idle capacity costs):
|
Estimated Overhead Cost |
Expected Activity | |||||
| Activities and Activity Measures | Xtreme | Pathfinder | Total | |||
| Supporting direct labor (direct labor-hours) | $ | 888,000 | 40,000 | 71,000 | 111,000 | |
| Batch setups (setups) | 583,000 | 310 | 220 | 530 | ||
| Product sustaining (number of products) | 780,000 | 1 | 1 | 2 | ||
| Other | 80,000 | NA | NA | NA | ||
| Total manufacturing overhead cost | $ | 2,331,000 | ||||
Compute the product margins for the Xtreme and the Pathfinder products under the activity-based costing system.
3. Prepare a quantitative comparison of the traditional and activity-based cost assignments.
In: Accounting