Write a Java program that allows the user to specify a file name on the command line and prints the number of characters, words, lines, average number of words per line, and average number of characters per word in that file. If the user does not specify any file name, then prompt the user for the name.
In: Computer Science
Lab: Darwin’s Theory of Natural Selection in Action: Peppered Moth Simulation
Purpose:
To describe the importance of coloration in avoiding predation
To relate environmental change to changes in organisms
To explain how natural selection causes populations to change
Background:
Industrial melanism is a term used to describe that adaptation of a population in response to pollution. One example of rapid industrial melanism occurred in populations of peppered moths in the area of Manchester, England from 1845 to 1890. Before the industrial revolution, the trunks of the trees in the forest around Manchester were light grayish-green due to the presence of lichens. Most of the peppered moths in the area were light colored with dark spots. As the industrial revolution progressed, the tree trunks became covered with soot (chimney smoke) and turned dark. Over a period of 45 years, the dark variety of the peppered moth became more common.
Materials:
2 sheets of white paper
2 sheets of any colored paper
Tweezers
Scissors
Clock with a second hand
Hypothesis: (remember that a hypothesis is a testable statement)
If the color of the prey matches the background color than (complete the statement)______
____________________________________________________________________________.
Procedure:
Data Table:
|
Trial # |
Background |
Starting Population of white cutouts |
Starting population of colored cutouts |
Number remaining of white cutouts |
Number remaining of colored cutouts |
|
1 |
White |
20 |
20 |
||
|
2 |
White |
20 |
20 |
||
|
3 |
colored |
20 |
20 |
||
|
4 |
colored |
20 |
20 |
Analysis:
Conclusion:
Write a 5 sentence summary of a) what the experiment tested and showed b) how the experiment relates to natural selection c)how the experiment is an example of evolution (gradual change). Use the space below:
In: Biology
write a 500-word essay on your interpretation of the Electoral College map, keeping in mind the candidate who reaches 270 electoral votes wins the presidency. For further discussion, view the 2016 Electoral Map (go to the site and click on the 2016 tap) to understand how citizens voted in the last presidential election. Pay particular interest to “toss up” states. How to you think they will vote and why?
In: Economics
What is the DuPont analysis for Exxonmobil from 2016 and 2017? What is the significant changes that may affect the ROE from 2016 to 2017? Identify what areas are responsible and investigate the financial statements futher by calculating few financial ratios in that area. Determine whether the firms FIXED or CURRENT ASSESTS have changed significantly? Has Exxonmobil's cash position changed during this time? Explain. This question is fromFinancial Management.
In: Finance
Eckland Manufacturing Co. purchased equipment on January 1,
2016, at a cost of $90,900. Straight-line depreciation for 2016 and
2017 was based on an estimated eight-year life and $2,100 estimated
residual value. In 2018, Eckland revised its estimate and now
believes the equipment will have a total service life of only six
years, while the residual value remains the same.
Required:
Compute depreciation for 2018 and 2019.
In: Accounting
On June 5, 2016, Leo purchased and placed in service a new car that cost $20,000. The business use percentage for the car is always 100%. Leo claims any available additional first-year depreciation but does not claim any expense under § 179.
a. What MACRS convention applies to the new car?
b. Is the automobile considered "listed property"?
c. Leo's cost recovery deduction in 2016 is ________ and for 2017 is
In: Accounting
|
On January 1, 2016, Phillips Company made a basket purchase including land, a building and equipment for $830,000. The appraised values of the assets are $54,000 for the land, $820,000 for the building and $136,000 for equipment. Phillips uses the double declining balance method of depreciation for the equipment which is estimated to have a useful life of four years and a salvage value of $10,000. The depreciation expense for 2016 for the equipment is |
$68,000.
$34,000.
$27,950.
$55,901.
In: Accounting
Agrico Inc accepted a 6 month, 9% (annual rate), $8,000 note from one of its customers on November 1, 2016; interest payable with the principal at maturity.
a. Use the horizontal model to record the interest OWED TO AGRICO on the customer's books during its year ended December 31, 2016.
b. Use the horizontal model to record payment of the note and interest at maturity on the customer's books.
In: Accounting
1. How has the relationship between pollsters and the media developed over time both in terms of the field of polling journalism overall, and specifically, The Marist Poll? 3. What lessons in polling journalism from the 2016 presidential election can be applied to the current 2020 presidential campaign?
3. What lessons in polling journalism from the 2016 presidential election can be applied to the current 2020 presidential campaign?
In: Economics
Today is December 31st, 2017. Mr. Barrett owns a Chase Sapphire credit card. The credit card has 12% APR with monthly billing cycles. This credit card has no minimum monthly payment requirement (a special promotion). Mr. Barrett only made one transaction using this credit card. On Jan. 1st, 2016, he spent $2,000 to buy an iMac Pro. He has not paid back any money to Chase yet. Please help Mr. Barrett calculate how much money he owes to Chase as of today, which is the end of 24th billing cycle since Jan. 1st, 2016.
Mr. Barrett cows to Chase $______ as of today, which is the end of 8th billing cycle since Jan. 1st, 2016. (Round to nearest cent.)
In: Finance