Questions
Demonstrate the attempt to justify the free market in both utilitarian and rights-based (deontological) ethics. Do...

Demonstrate the attempt to justify the free market in both utilitarian and rights-based (deontological) ethics. Do you think that either of these approaches (or perhaps both) effectively serves to justify a free market system in whole or in part? Give reasons for your answer.

In: Economics

Write a paragraph of synthesis on how coefficient of static and kinetic plays an important role...

Write a paragraph of synthesis on how coefficient of static and kinetic plays an important role in determining the price of certain goods that we purchase? [Example: Think about why some running shoes/sneakers are very expensive]. Provide research links

In: Physics

The pOH of an aqueous solution of 0.366 M hypochlorous acid is __________

The pOH of an aqueous solution of 0.366 M hypochlorous acid is __________

In: Chemistry

Please write JavaScript and HTML code for the following problems Problem 1 - Array Usage Ask...

Please write JavaScript and HTML code for the following problems

Problem 1 - Array Usage

Ask the user to enter positive numeric values. Store each value in an array. Stop reading values when the user enters -1. After all values have been entered, calculate the sum and the average of the values in the array (if you do not know what a sum or average is, or how to calculate them, it is your responsibility to look up this information). Print out the values entered by the user, the sum of those values, and the average value.

You must create one function that calculates the sum of the values in the array and one function that calculates the average of the values in the array.

  • Your sum function should take one parameter (an array) and return the sum
  • Your average function should take one parameter (an array) and return the average

Problem 2 - Circles

For this problem, you will create a simple HTML page that allows the user to draw circles by clicking inside of a canvas element.

The HTML page shall contain a title, a header, two text fields, and a canvas. The title shall include your name. The header shall contain the text "Problem 2". The first text field shall have a label indicating that the field controls the number of circles that will be drawn. The second text field shall have a label indicating that the field controls the radius of the circles that will be drawn. The canvas shall have a height of 400 pixels and a width of 600 pixels.

The HTML page shall also contain a script that uses an event listener to draw circles whenever the user clicks inside of the canvas element with their mouse. The number of circles to draw, and the radius of the circles, shall be obtained from the text fields. Each circle shall be colored with an alpha value of 0.1. The canvas shall be cleared before any circle is drawn. The x and y position of each circle shall be randomly determined. You can use the following code to assign a random value to x and y:

 let x = Math.floor(Math.random() * (width - 2 * r)) + r;
 let y = Math.floor(Math.random() * (height - 2 * r)) + r;

In: Computer Science

Two 460 g blocks of wood are 2.0 m apart on a frictionless table. A 9.0...

Two 460 g blocks of wood are 2.0 m apart on a frictionless table. A 9.0 g bullet is fired at 420 m/s toward the blocks. It passes all the way through the first block, then embeds itself in the second block. The speed of the first block immediately afterward is 5.2 m/s .

What is the speed of the second block after the bullet stops?

In: Physics

what relevance does the song "We didn't start the fire" by billy Joel relate to stereochemistry...

what relevance does the song "We didn't start the fire" by billy Joel relate to stereochemistry in organic chemistry? Can you give an example using a molecule?

In: Chemistry

Two charges each of magnitude q = 3 μC are situated at (x,y) = (1m,0) and...

Two charges each of magnitude q = 3 μC are situated at (x,y) = (1m,0) and (x,y) = (0,1m) respectively. The magnitude of the electric field at (x,y) = (0,0), is

In: Physics

Find the energy of an electron in the n = 2 state of hydrogen. eV If...

Find the energy of an electron in the n = 2 state of hydrogen.
eV

If this electron undergoes a transition to the ground state, what is the energy, in electron-volts, of the photon that is emitted?
eV

In: Physics

PROBLEM 7–18 Relevant Cost Analysis in a Variety of Situations [LO 7–2, LO 7–3, LO 7–4]Andretti...

PROBLEM 7–18 Relevant Cost Analysis in a Variety of Situations [LO 7–2, LO 7–3, LO 7–4]Andretti Company has a single product called a Dak. The company normally produces and sells 60,000 Daks each year at a selling price of $32 per unit. The company’s unit costs at this level of activity are given below:Direct materials................................$10.00Direct labor ...................................4.50Variable manufacturing overhead................2.30Fixed manufacturing overhead ..................5.00($300,000 total)Variable selling expenses.......................1.20Fixed selling expenses ......................... 3.50($210,000 total)Total cost per unit..............................$26.50A number of questions relating to the production and sale of Daks follow. Each question is independent.Required: 1. Assume that Andretti Company has sufficient capacity to produce 90,000 Daks each year without any increase in fixed manufacturing overhead costs. The company could increase its sales by 25% above the present 60,000 units each year if it were willing to increase the fixed selling expenses by $80,000. Would the increased fixed selling expenses be justified? 2. Assume again that Andretti Company has sufficient capacity to produce 90,000 Daks each year. A customer in a foreign market wants to purchase 20,000 Daks. Import duties on the Daks would be $1.70 per unit, and costs for permits and licenses would be $9,000. The only selling costs that would be associated with the order would be $3.20 per unit shipping cost. Compute the per unit break-even price on this order. 3. The company has 1,000 Daks on hand that have some irregularities and are therefore consid-ered to be “seconds.” Due to the irregularities, it will be impossible to sell these units at the normal price through regular distribution channels. What unit cost figure is relevant for set-ting a minimum selling price? Explain. 4. Due to a strike in its supplier’s plant, Andretti Company is unable to purchase more material for the production of Daks. The strike is expected to last for two months. Andretti Company 318Chapter 7nor78542_ch07_280-332.indd 318 11/19/15 11:02 AMhas enough material on hand to operate at 30% of normal levels for the two-month period. As an alternative, Andretti could close its plant down entirely for the two months. If the plant were closed, fixed manufacturing overhead costs would continue at 60% of their normal level during the two-month period and the fixed selling expenses would be reduced by 20%. What would be the impact on profits of closing the plant for the two-month period? 5. An outside manufacturer has offered to produce Daks and ship them directly to Andretti’s cus-tomers. If Andretti Company accepts this offer, the facilities that it uses to produce Daks would be idle; however, fixed manufacturing overhead costs would be reduced by 75%. Because the outside manufacturer would pay for all shipping costs, the variable selling expenses would be only two-thirds of their present amount. Compute the unit cost that is relevant for comparison to the price quoted by the outside manufacturer.PROBLEM 7–19 Dropping or Retaining a Segment [LO 7–2]Jackson County Senior Services is a nonprofit organization devoted to providing essential ser-vices to seniors who live in their own homes within the Jackson County area. Three services are provided for seniors—home nursing, Meals On Wheels, and housekeeping. Data on revenue and expenses for the past year follow:TotalHomeNursingMeals OnWheelsHouse-keepingRevenues..........................$900,000$260,000$400,000$240,000Variable expenses .................. 490,000 120,000 210,000 60,000Contribution margin................. 410,000 140,000 190,000 80,000Fixed expenses: Depreciation .....................68,0008,00040,00020,000 Liability insurance.................42,00020,0007,00015,000 Program administrators’ salaries . . . .115,00040,00038,00037,000 General administrative overhead*... 180,000 52,000 80,000 48,000Total fixed expenses ................ 405,000 120,000 165,000 120,000Net operating income (loss) ..........$ 5,000$ 20,000$ 25,000$ (40,000)*Allocated on the basis of program revenues.The head administrator of Jackson County Senior Services, Judith Miyama, is concerned about the organization’s finances and considers the net operating income of $5,000 last year to be razor-thin. (Last year’s results were very similar to the results for previous years and are represen-tative of what would be expected in the future.) She feels that the organization should be building its financial reserves at a more rapid rate in order to prepare for the next inevitable recession. After seeing the above report, Ms. Miyama asked for more information about the financial advisability of perhaps discontinuing the housekeeping program.The depreciation in housekeeping is for a small van that is used to carry the housekeepers and their equipment from job to job. If the program were discontinued, the van would be donated to a charitable organization. None of the general administrative overhead would be avoided if the housekeeping program were dropped, but the liability insurance and the salary of the program administrator would be avoided.Required: 1. Should the Housekeeping program be discontinued? Explain. Show computations to support your answer. 2. Recast the above data in a format that would be more useful to management in assessing the long-run financial viability of the various services.PROBLEM 7–20 Sell or Process Further [LO 7–7](Prepared from a situation suggested by Professor John W. Hardy.) Lone Star Meat Packers is a major processor of beef and other meat products. The company has a large amount of T-bone steak on hand, and it is trying to decide whether to sell the T-bone steaks as they are initially cut or to process them further into filet mignon and the New York cut. has enough material on hand to operate at 30% of normal levels for the two-month period. As an alternative, Andretti could close its plant down entirely for the two months. If the plant were closed, fixed manufacturing overhead costs would continue at 60% of their normal level during the two-month period and the fixed selling expenses would be reduced by 20%. What would be the impact on profits of closing the plant for the two-month period? 5. An outside manufacturer has offered to produce Daks and ship them directly to Andretti’s cus-tomers. If Andretti Company accepts this offer, the facilities that it uses to produce Daks would be idle; however, fixed manufacturing overhead costs would be reduced by 75%. Because the outside manufacturer would pay for all shipping costs, the variable selling expenses would be only two-thirds of their present amount. Compute the unit cost that is relevant for comparison to the price quoted by the outside manufacturer.

In: Accounting

1) calculate the [OH-] of a solution having a [H3O+]=2.85x10-6M. 2) A solution is tested with...

1) calculate the [OH-] of a solution having a [H3O+]=2.85x10-6M.

2) A solution is tested with a series of indicatores. the solution turns blue when bromcresol green is added, it turns purple when bromcresol purple is added, and its colorless when phenolphthalein is added. what is the estimated pH of this solution?

3) how does a pH indicator work? provide an equilibrium equation to illustrate your answer.

In: Chemistry

You dig a hole in the ground, removing a volume 0.87 m3 of earth. If the...

You dig a hole in the ground, removing a volume 0.87 m3 of earth. If the density of the earth is 5044 kg/m3 calculate the weight of the earth removed in N, to 2 sf.

In: Physics

code in C Step 1 Write a program that will read in a list of addresses...

code in C

Step 1

  • Write a program that will read in a list of addresses (100 maximum) from a file.
  • The program should read records from a file until an EOF is found.
  • The program must read one character at a time from the file using fgetc.

For example: chrLetter = fgetc( pfilInput );

  • No partial addresses/records will be given.
  • The format of the addresses is: RecordID, Full Name, Street, City, State, ZipCode

Step 2

  • Store the addresses in an array of structures.
  • Use the typedef below
  • You will have to parse the input lines to separate the fields.
  • You will have to separate full name into first, middle and last name.
  • Trim all leading and trailing whitespace for EACH field.

typedef struct

{

      long lngRecordID;

      char strFirstName[ 50 ];

      char strMiddleName[ 50 ];

      char strLastName[ 50 ];

      char strStreet[ 100 ];

      char strCity[ 50 ];

      char strState[ 50 ];

      char strZipCode[ 50 ];

} udtAddressType;

Step 3

  • Call a subroutine from main and pass the array of structures as a parameter. In the subroutine, load all the addresses from the file into the array of structures.

Step 4

  • Call a subroutine from main and pass the array of structures as a parameter. In the subroutine, print out all the addresses. Make it look pretty. Don’t print out blank records. For example:

------------------------------------------------------------

Customer #1

            First Name:          Luke

            Middle Name:      

            Last Name:          Skywalker

            Address:              123 Elm Street

            City:                    Corusant

            State:                  Ohio

            Zip Code:             45202

------------------------------------------------------------

Customer #2

Extra Credit

  • After you read in the addresses call a subroutine to sort the addresses alphabetically by last name, first name. Try the quick sort in the STL (standard template library).

Extra Extra Credit

  • Eliminate any duplicates addresses (just check street and zip code).

In: Computer Science

5. A sandbag is dropped from a hot air balloon that is 315 m above the...

5. A sandbag is dropped from a hot air balloon that is 315 m above the ground. When the sandbag is dropped, the balloon is rising at 11 m/s. Find (a) the maximum height reached by the bag, (b) its position (relative to the ground) and velocity 4.3 s after it is released, and (c) when the bag hits the ground. PLEASE GO STEP BY STEP AND WRITE THE EQAUTION SO I UNDERSTAND HOW YOU GOT TO THE SOULTION! :) I AM TRYING TO LEARN THE INFO!

In: Physics

Show how it is possible to get the other state functions, G, A, and H, from...

Show how it is possible to get the other state functions, G, A, and H, from just S and U.

In: Chemistry

If a discount is not available for a payment based on the discount date, can you...

If a discount is not available for a payment based on the discount date, can you still enter the discount? If so, how?

In: Accounting