Questions
. In what way the deflection affects the strength and stability of the steel structure?. Elaborate...

. In what way the deflection affects the strength and stability of the steel structure?. Elaborate the limit states that controls the deflection. As a civil engineer specify the standard codal provision for deflection limits?

In: Civil Engineering

Write a two-page report which states clearly all the differences between Hadoop 1, 2 & 3....

Write a two-page report which states clearly all the differences between Hadoop 1, 2 & 3. Explain the function of every daemon in all the three versions.

In: Computer Science

how has the corretional system evolved over the last 100 yers and how has technology faciliated...

how has the corretional system evolved over the last 100 yers and how has technology faciliated or hindered that evolution?
et least 350 words

in the unated states

In: Psychology

Create, test, and validate an HTML document that defines a table with columns for state, state...

Create, test, and validate an HTML document that defines a table with columns for state, state bird, state flower, and state tree. There must be at least five rows for states in the table.

In: Computer Science

Soap Makers International Several years ago, Ingrid Krause wanted some international expertise and applied for a...

Soap Makers International

Several years ago, Ingrid Krause wanted some international expertise and applied for a transfer to her company’s soap division, which is located south of Warsaw, Poland. The soap division manufactures hand soap for use in a large number of settings, from hospitals to luxury hotels. Ingrid was awarded the transfer to the soap division and was assigned to the accounting department. She is responsible for overseeing the costing and probability analysis of the various soaps and soap-making processes. During her tenure in the soap division, there were numerous changes in the number of soaps manufactured and the processes to make the different soaps. Consequently, Ingrid’s position required her to consider changes in the accounting processes to reflect the changes in the soap division’s business.

For several decades, the company’s soap-making process required a large labour force that manufactured and packaged the soap mainly by hand. Local economic changes meant that the labour force that the factory required was not as available as it had been in the past. As a result, the division was experiencing slower processing time, and more snap being rejected during inspections because of quality concerns. To address the issues related to the lack of labour availability, the division’s management decided three years ago that automation was the way to go. Consequently, over the last three years, the soap making processes have changed with the implementation of automation.

The automation of the soap making processes have allowed for a much larger variety of soap and packing, a reduced direct labour force and direct labour costs, and a higher level of traceability of costs to the various soaps because of technological improvements. Soaps made for industrial applications require different ingredients, less time in processing, less time in finishing, and less time in and cheaper packaging than do soaps for the hotel industry. The costs of materials and packaging are directly traceable to the various types of soaps through new software that uses bar codes and counters to trace material costs to the various soaps directly.

Ingrid feels that the current costing system should be revisited. The cost driver for allocation of the overhead costs (such as supervisory salaries and plant utilities) have always been direct labour hours cost. However, given the decline in the use of labour due to automation, Ingrid is questioning its suitability as a basis of allocation. Ingrid would like to explore activity based costing to allocate overhead costs.

Ingrid has gathered cost data for two representative soaps: one sold to hospitals and one sold to hotels. Further, Ingrid has gathered data from the automated system on the amount of time each type of soap spends in the three manufacturing processes: processing, finishing, and packaging. The soap is produced in large batches, consequently, the data are adjusted to reflect the average cost per 100g of soap. The data for type of soap for one month’s production are in Exhibit 1.

REQUIRED

  1. Calculate the costs (of direct material, direct labour, and overhead) for each of the two representative types of soap using direct labour as the basis for the allocation of overhead.

EXHIBIT 1 – COSTS FOR ONE MONTH’S PRODUCTION OF SOAP

Cost Components

Total

Costs Per 100 g of soap

Industrial Soap (Hospital)

Luxury Soap (Hotel)

Direct Materials

$4.000,000

$0.40

$0.80

Packaging

$2,000,000

$0.10

$0.60

Direct Labour

$750,000

$0.14

$0.15

Manufacturing

$5,000,000

Processing

$2,500,000

Finishing

$1,500,000

Packaging

$1,000,000

EXHIBIT 2 – TIME REQUIRED FOR ONE MONTH’S PRODUCTION OF SOAP

Time Components

Total

Time per 100 g of soap

Industrial Soap (Hospital)

Luxury Soap (Hotel)

Processing

750,000 seconds

0.2 second

0.4 second

Finishing

300,000 seconds

0.03 second

0.4 second

Packaging

100,000 seconds

0.006 second

0.5 second

In: Accounting

Java Programming Project 6: File I/O Purpose: To practice reading from as well as writing to...

Java Programming Project 6: File I/O

Purpose: To practice reading from as well as writing to text files with the help of Scanner class methods, and PrintStream class methods. You will also learn to implement some simple Exception Handling.

Carefully examine and follow ALL the program specifications.

Take a look at the PPT slides for Chapter 7 File I/O for examples that will help with this program.

Hotel Expense Recording Keeping:

A hotel bookkeeper enters client hotel expenses in a text file. Each line contains the following, separated by semicolons: client name, service sold (i.e., Dinner, Conference, Lodging, etc.), the sales amount, and the date.

  1. Your program should first query the user for the name of the input file and read it in. Display an error if the input file is not found (does not exist).
  2. Then the program should read the file (line by line), keep a running tally of the total amount for each kind of service,
  3. Finally display the total amount for each service category. In addition to displaying totals on the screen, the totals should also be written to an output file.
  4. Additionally your program should include some exception handling. An Exception that should be checked (and handled) would be a FileNotFoundException.

Attached (and below) is an example input file that your program will be tested with, so you will need to make sure that you program will run correctly using this file. Since this may be your first experience reading from an input file, you will likely find it easiest if you store the input file in the same folder with your Java program file so that they can easily communicate with one another. The easiest way to store this file is as a plain text file in Notepad (do not use MS word or any other sophisticated word processor or you will be processing embedded text commands, which is not at all recommended). Here is what the input file looks like:

Jason Inouye;Conference;250.00;11/10/2016

Jason Inouye;Lodging;78.95;11/10/2016

Mary Ryan;Dinner;16.95;11/10/2016

Mark Twain;Dinner;25.50;11/10/2016

Mark Twain;Spa;50.00;11/10/2016

Steven Hawking;Conference;250.00;11/10/2016

Steven Hawking;Room Service;45.00;11/11/2016

Steven Hawking;Lodging;78.95;11/11/2016

Ayrton Senna;Room Service;23.20;11/10/2016

Ayton Senna;Dinner;22.50;11/10/2016

Ayton Senna;Lodging;78.95;11/10/2016

One feature of the input file, is that it uses a semicolon (;) to delimit the tokens on each line of input, rather than whitespace. You will need to use a delimiter statement after you construct your line scanner object.

To see how to construct a line scanner object, go to Chapter 7 PowerPoint slide in the Week 13 folder. So for example, if you create an object called lineScan of type Scanner to process tokens on a given line of input, then you could call the useDelimiter method on your lineScan object, as follows:

lineScan.useDelimiter(";");

This will allow you to tokenize each input line based, not on white space delimiters, but using the semicolon as a delimiter instead.

This is what should be in your Output file after you run your program (this file will most likely be located in the same folder as your Java program).

Dinner expenses : 64.95
Lodging expenses : 236.85
Conference expenses : 500.00
Room Service expenses : 68.20
Spa expenses : 50.00

Submission Requirements:

  1. Please be sure to use appropriate prologue comments at the top of your program, Javadoc formatted comments for your methods, as well as inline comments within the body of your code (as needed).

In: Computer Science

The patient you took care of today, Sharon Cole, was subsequently transferred to a psych hospital...

The patient you took care of today, Sharon Cole, was subsequently transferred to a psych hospital involuntarily because she declined to sign voluntary consents. She states that she is going to sue you and the hospital for involuntarily admitting her, restraining her, and forcing medication on her. You begin to prepare your defense in case it does go to court. For your defense, explore the following points. Be sure to include sources and a reference list using APA format.

  • Cole states that you held her against her will in the hospital when she was involuntarily admitted. What behaviors/mental status concerns was she exhibiting that justified an involuntary admission? What are the legal standards that exist for involuntary admission?
  • Cole states that you assaulted her when you restrained her and administered IM injections. What behavior concerns could she exhibit that would justify restraints? What are the legal standards that exist for restraining a patient?
  • Cole does not want to continue to take her lithium after discharge. What recourse does Mr. Cole or her provider have to enforce compliance with her medications?

In: Nursing

In restaurants, it is common for waiters and waitresses to receive a substantial amount of their earnings in tips (with low base wages).

In restaurants, it is common for waiters and waitresses to receive a substantial amount of their earnings in tips (with low base wages). But other workers (such as cooks, and those who clear and clean the tables) are paid hourly wages. From the point of view of creating the right incentives for workers, try to explain/answer the following:

Waiters and waitresses get a large share of their pay in the form of incentives (from tips), but other restaurant workers do not. Why?

In contrast to other incentive schemes in whichemployers pay for certain types of behavior, restaurant owners let customers decide how much to pay. Why?

Minimum wage laws in some states allow a tip credit. For example, if the minimum wage is $10, and there is a 50% tip credit, then the employer only has to pay the worker a base wage of $5/hour, as long as tips provide at least another $5/hour (and hence the wage is at least $10). Other states do not allow a tip credit, in which case employers have to pay a base wage at least equal to the minimum wage. In light of your answers to the questions above, in which states is it likely that waiters and waitresses provide better service? Why?

In: Economics

A Gallup poll asked a random sample of 1000 adults nation-wide the following question:: "Are you...

A Gallup poll asked a random sample of 1000 adults nation-wide the following question:: "Are you in favor of the death penalty for a person convicted of murder?" 71% of the people in the sample answered "Yes".

1. A 95% Confidence Interval for the percent of all adults nation-wide in favor of the death penalty is (Hint: Fill in the first blank with the sample % and the second with the margin of error.)

( ) % +/- ( )%

A recent CBS New poll randomly sampled 1,142 adults nationwide asking them the following question:

"As you may know, the legal drinking age is 21. Would you approve or disapprove of states lowering the drinking age to 18, if the states felt that would give the police more time to enforce other laws?" 24% answered that they approved.

1. What is the expected value for the percent of all US adults who would say they approve of lowering the drinking age to 18, if the states felt that would give the police more time to enforce other laws? ( )%

2. What is the SD of the sample? (Round to 3 decimal places.)

3. Calculate the SE of the percentage of people in the sample who answered "Approve". (Round to 2 decimal places.)

In: Math

8. A decision maker is faced with three decision alternatives and four states of nature shown...

8. A decision maker is faced with three decision alternatives and four states of nature shown in the following profit (pay- off) table in terms of Millions.

Payoff table for three Decision alternatives and four states of nature

Decision Alternatives

S1

S2

S3

S4

A   

$ 12

$ 7

$ 8

$ 3

B   

$ 9

$ 8

$ 13

$ 5

C

$ 7

$ 6

S 9

S 11

If the decision maker knows nothing about the probabilities of the four states of nature (s1, s2, s3, and s4) then what would be your decision;   (2+ 2+4 + 4+3=15)

  1. Using pessimistic or Conservative approach (2)

Ans.

                What decision?

                

                Value of decision?

  1. Using Optimistic Approach (2)

Ans.

                What decision?

                

                Value of decision?

  1. Minimizing the maximum regret approach (4)

Ans.

                What decision?

                

                Value of decision?

  1. If, for s1, s2, s3, and s4 probability is given as 0.3, 0.1, 0.4, and 0.2 respectively then what would be the best expected pay off under risk? (4)

Ans.

                What decision?

                

                Value of decision?

  1. What would be the expected value of perfect information? (3)

Ans.

In: Operations Management