Questions
Write a Java program that allows the user to specify a file name on the command...

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...

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:

  1. Using one of your sheets of colored and one of your sheets of white paper, cut out 20 squares of each (20 colored and 20 white). There is a square at the top of this page that shows you the size of the square to use.
  2. Place a sheet of white paper on the table and irregularly arrange 20 white cutouts and 20 colored cutouts over the surface.
  3. Use forceps to pick up as many of the cutouts as you can in 15 seconds. Eating is simulated by picking up the cutouts with forceps and placing them on the countertop in front of you. Imagine yourself as a “predator” in the wild.
  4. This trial will be repeated. Next place the cutouts on the colored background. Record the data on the next page. You will have a total of four trials: two with the colored paper background and two with the white paper background

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:

  1. What did the experiment show about how predators select their prey? Did your experiment support your hypothesis?

  1. If the cutouts represented moths, what moth coloration is best adapted for a dark (colored) background? How do you know?

  1. What would you expect the next generation of moths to look like after trial 1? What about the next generation after trial 3?

  1. Did the experiment work in the way it was supposed to? Why/why not?

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...

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...

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...

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....

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...

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...

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...

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 Sapphirecredit card. The credit card...

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