Subject - Work environment and Ergonomics. A training needs analysis examines training requirements at 3 levels,...

Subject - Work environment and Ergonomics.

A training needs analysis examines training requirements at 3 levels, what are they and describe why important.

What is the estimated extent of MSDs across the developed world?

In: Operations Management

an expanding gas absorbs 1.55 kj of heat. if its internal energy increases by 1.32 kj....

an expanding gas absorbs 1.55 kj of heat. if its internal energy increases by 1.32 kj. A) what quantity of work is involved? B) Estimate the change in H for the process.

In: Chemistry

Design, implement and test a C++ class to work with real numbers as rational numbers called...

Design, implement and test a C++ class to work with real numbers as rational numbers called class "Rational". The data members are the numerator and denominator, stored as integers. We have no need for setters or getters (aka mutators or accessors) in the Rational class. All of our operations on rational numbers involve the entired number, not just the numerator or denominator."

  • <<" and">>" (i.e., input and output). It's a design decision as to when to "normalize" a rational number. The numerator and denominator will be in "lowest terms" and only the numerator may be negative. For example, if we were given as input 4/-8, we would store and display it as -1/2. Simililarly -8/-6 would turn into 4/3. Thus when they are first created, they must be stored as normalized and any operation that might change a number must also normalize it. We will maintain the numbers in their normalized form at all times. Either (or both) of the numerator and the denominator may be input as negative integers. The following are all possible inputs: 1/2, -1/-2, -1/2 and 1/-2. Rational numbers are read and written as an integer, followed by a slash, and followed by an integer.
  • "+=" operator must be implemented as a member function, aka method. "+" operator must be implemented (ie., addition) as a non-member function that calls the "+="operator. Do not make "+" operator a friend."==" operator must be Implement as a non-member. "!=" operator must be implemented as non-member, but not as a friend.
    • "++" operator and "--" operator must be:
      • Both pre- and post-.
      • Member for "++" operator
      • Non-member, non-friend for "--" operator
    • "<" operator must be non-member
    • "<=" , ">" and ">=" operators must be implemented as non-member and non-friend.
  • Make it possible to write "if (r) {}", where r is a Rational number. Use the code given below to compute the greatest common divisor of two non-negative integers, that should be useful for writing the normalize function:

Code:

int greatestCommonDivisor(int x, int y) {
while (y != 0) {
int temp = x % y;
x = y;
y = temp;
}
return x;
}

In: Computer Science

Database - Data Modelling  || Select Correct Answer: CUSTOMER (CustomerID, CustomerFName, CustomerLName, CustomerStrNo, CustomerStr, CustomerSuburb, CustomerState, CustomerPostcode,...

Database - Data Modelling  || Select Correct Answer:

CUSTOMER (CustomerID, CustomerFName, CustomerLName, CustomerStrNo, CustomerStr, CustomerSuburb, CustomerState, CustomerPostcode, CustomerEmail, PreferredStoreId*)

FD: CustomerID --> CustomerFName, CustomerLName, CustomerStrNo, CustomerStr, CustomerSuburb, CustomerState, CustomerPostcode, CustomerEmail, PreferredStoreId*

This relation is in?

  • 3NF

  • 1NF

  • 2NF

  • None

In: Computer Science

Pick three questions from the following list and write a thorough 3-5 paragraph response. 1. Explain...

Pick three questions from the following list and write a thorough 3-5 paragraph response.

1. Explain the primary role and responsibilities of business analysts/system analysts.

2. Describe the need for Business Process Management. What is an AS IS model?

3. Describe the origins of SDLC and how it came to prominence.

4. Explain two reasons why SDLC is falling out of favor.

5. Describe advantages of using Agile methods like Scrum.

6. What are the keys for successful SDLC projects?

7. How can Agile overcome the problems of the SDLC?

8. How do information systems support business processes?

9. Comment on you own experiences with business process improvement and systems development projects you have seen at your employer.

In: Computer Science

Heptane and water do not mix, and heptane has a lower density (0.684 g/mL) than water...

Heptane and water do not mix, and heptane has a lower density (0.684 g/mL) than water (1.00 g/mL). A 100 mL graduated cylinder with an inside diameter of 3.200 cm contains 39.0 g of heptane and 32.0 g of water. Before we can determine the height of the liquid column, we need to know the total volume of liquid in the cylinder. Which equation expresses the total volume in terms of the volumes of heptane and water?

In: Chemistry

Write a C++ program that reads five (or more) cards from the user, then analyzes the...

Write a C++ program that reads five (or more) cards from the user, then analyzes the cards and prints out the category of hand that they represent.

Poker hands are categorized according to the following labels: Straight flush, four of a kind, full house, straight, flush, three of a kind, two pairs, pair, high card.

To simplify the program we will ignore card suits, and face cards. The values that the user inputs will be integer values from 2 to 9. When your program runs it should start by collecting five integer values from the user and placing the integers into an array that has 5 elements. It might look like this:

Enter five numeric cards, no face cards. Use 2 - 9.
Card 1: 8 
Card 2: 7
Card 3: 8
Card 4: 2
Card 5: 3

(This is a pair, since there are two eights)

No input validation is required for this assignment. You can assume that the user will always enter valid data (numbers between 2 and 9).

Since we are ignoring card suits there won't be any flushes. Your program should be able to recognize the following hand categories, listed from least valuable to most valuable:

Hand Type Description Example
High Card There are no matching cards, and the hand is not a straight 2, 5, 3, 8, 7
Pair Two of the cards are identical 2, 5, 3, 5, 7
Two Pair Two different pairs 2, 5, 3, 5, 3
Three of a kind Three matching cards 5, 5, 3, 5, 7
Straight 5 consecutive cards 3, 5, 6, 4, 7
Full House A pair and three of a kind 5, 7, 5, 7, 7
Four of a kind Four matching cards 2, 5, 5, 5, 5

(A note on straights: a hand is a straight regardless of the order. So the values 3, 4, 5, 6, 7 represent a straight, but so do the values 7, 4, 5, 6, 3).

Your program should read in five values and then print out the appropriate hand type. If a hand matches more than one description, the program should print out the most valuable hand type.

Here are three sample runs of the program:

Enter five numeric cards, no face cards. Use 2 - 9.
Card 1: 8 
Card 2: 7
Card 3: 8
Card 4: 2
Card 5: 7
Two Pair!
Enter five numeric cards, no face cards. Use 2 - 9.
Card 1: 8 
Card 2: 7
Card 3: 4
Card 4: 6
Card 5: 5
Straight!
Enter five numeric cards, no face cards. Use 2 - 9.
Card 1: 9 
Card 2: 2
Card 3: 3
Card 4: 4
Card 5: 5
High Card!

Additional Requirements

1) You must write a function for each hand type. Each function must accept a const int array that contains five integers, each representing one of the 5 cards in the hand, and must return "true" if the hand contains the cards indicated by the name of the function, "false" if it does not. The functions should have the following signatures.

bool  containsPair(const int hand[])
bool  containsTwoPair(const int hand[])
bool  containsThreeOfaKind(const int hand[])
bool  containsStraight(const int hand[])
bool  containsFullHouse(const int hand[])
bool  containsFourOfaKind(const int hand[])

Note that there are some interesting questions regarding what some of these should return if the hand contains the target hand-type and also contains a higher hand-type. For example, should containsPair() return true for the hand [2, 2, 2, 3, 4]? Should it return true for [2, 2, 3, 3, 4]? [2, 2, 3, 3, 3]? I will leave these decisions up to you.

2) Of course, as a matter of good practice, you should use a constant to represent the number of cards in the hand, and everything in your code should still work if the number of cards in the hand is changed to 4 or 6 or 11 (for example).  Writing your code so that it does not easily generalize to more than 5 cards allows you to avoid the objectives of this assignment (such as traversing an array using a loop). If you do this, you will receive a 0 on the assignment.

3) You do not need to write a containsHighCard function. All hands contain a highest card. If you determine that a particular hand is not one of the better hand types, then you know that it is a High Card hand.

4) Do not sort the cards in the hand. Also, do not make a copy of the hand and then sort that.

5) An important objective of this assignment is to have you practice creating excellent decomposition.  Don't worry about efficiency on this assignment. Focus on excellent decomposition, which results in readable code.This is one of those programs where you can rush and get it done but end up with code that is really difficult to read, debug, modify, and re-use. If you think about it hard, you can think of really helpful ways in which to combine the tasks that the various functions are performing.  5 extra credit points on this assignment will be awarded based on the following criteria: no function may have nested loops in it. If you need nested loops, the inner loop must be turned into a separate function, hopefully in a way that makes sense and so that the separate function is general enough to be re-used by the other functions. Also, no function other than main() may have more than 5 lines of code. (This is counting declarations, but not counting the function header, blank lines, or lines that have only a curly brace on them.) In my solution I was able to create just 3 helper functions, 2 of which are used repeatedly by the various functions.

These additional criteria are intended as an extra challenge and may be difficult for many of you. If you can't figure it out, give it your best shot, but don't be too discouraged. It's just 5 points. And be sure to study the posted solution carefully.

Suggestions

Test these functions independently. Once you are sure that they all work, the program logic for the complete program will be fairly straightforward.

Here is code that tests a containsPair function:

int main() {
        int hand[] = {2, 5, 3, 2, 9};

        if (containsPair(hand)) {
                cout << "contains a pair" << endl;
        }
}

In: Computer Science

5) Which of the following statements correctly describe(s) E1 reactions of alkyl halides (RX)? I.   ...

5) Which of the following statements correctly describe(s) E1 reactions of alkyl halides (RX)?

I.    Rate = k[base]

II. Rate = k[base][RX]

III.       Rate = k[RX]

IV.       The reactions occur in two distinct steps.

V. The reaction involves a carbocation intermediate.

In: Chemistry

Given the values of ΔH∘rxn , ΔS∘rxn , and T below, determine ΔSuniv . ΔH∘rxn= 90...

Given the values of ΔH∘rxn , ΔS∘rxn , and T below, determine ΔSuniv .

ΔH∘rxn= 90 kJ , ΔSrxn= 145 J/K , T= 308 K

ΔH∘rxn= 90 kJ , ΔSrxn= 145 J/K , T= 757 K

ΔH∘rxn= 90 kJ , ΔSrxn=− 145 J/K , T= 308 K

ΔH∘rxn=− 90 kJ , ΔSrxn= 145 J/K , T= 403 K

Please show work.

Spontaneous or not?

In: Chemistry

Q.1) Oil-rich countries in the Gulf, already confronted by strong labor protests, are facing renewed pressure...

Q.1) Oil-rich countries in the Gulf, already confronted by strong labor protests, are facing renewed pressure from India to pay minimum wages for unskilled workers. With five million immigrant workers in the region, India is trying to win better conditions for their citizens.

source : International Herbal Tribune, March 27, 2008.

Suppose that the Gulf countries paid a minimum wage above the equilibrium wage to the Indian workers. Answer the following questions assuming that migrants to the Gulf are required to have jobs: that means the number of migrants cannot be larger than the quantity of labor demanded.

a) How would the market for labor be affected in the Gulf countries? Would migrant Indian workers be better off or worse off or unaffected by this minimum wage? Draw a supply and demand graph to illustrate your answers.

b) How would the market for labor be affected in India? Draw a supply and demand graph to illustrate your answer. Be careful: the minimum wage is in the Gulf countries, not in India.

( Microeconomics )

In: Economics

Approximate the percent increase in waist size that occurs when a 135 lb person gains 35.0...

Approximate the percent increase in waist size that occurs when a 135 lb person gains 35.0 lbs of fat. Assume that the volume of the person can be modeled by a cylinder that is 4.0 feet tall. The average density of a human is about 1.0 g/cm^3 and the density of fat is 0.918 g/cm^3

Express your answer using two significant figures.

In: Chemistry

What’s the difference between a fable/parable/tale and a short story?What’s the difference between a protagonist and...

What’s the difference between a fable/parable/tale and a short story?What’s the difference between a protagonist and an antagonist? please use 200 words if you can

In: Psychology

[The following information applies to the questions displayed below.] Brothers Harry and Herman Hausyerday began operations...

[The following information applies to the questions displayed below.]

Brothers Harry and Herman Hausyerday began operations of their machine shop (H & H Tool, Inc.) on January 1, 2016. The annual reporting period ends December 31. The trial balance on January 1, 2018, follows (the amounts are rounded to thousands of dollars to simplify):

Account Titles Debit Credit
Cash $ 4
Accounts Receivable 4
Supplies 11
Land 0
Equipment 68
Accumulated Depreciation $ 7
Software 24
Accumulated Amortization 8
Accounts Payable 6
Notes Payable (short-term) 0
Salaries and Wages Payable 0
Interest Payable 0
Income Tax Payable 0
Common Stock 83
Retained Earnings 7
Service Revenue 0
Salaries and Wages Expense 0
Depreciation Expense 0
Amortization Expense 0
Income Tax Expense 0
Interest Expense 0
Supplies Expense 0
Totals $ 111 $ 111

Transactions and events during 2018 (summarized in thousands of dollars) follow:

  1. Borrowed $13 cash on March 1 using a short-term note.
  2. Purchased land on March 2 for future building site; paid cash, $7.
  3. Issued additional shares of common stock on April 3 for $31.
  4. Purchased software on July 4, $12 cash.
  5. Purchased supplies on account on October 5 for future use, $17.
  6. Paid accounts payable on November 6, $14.
  7. Signed a $30 service contract on November 7 to start February 1, 2019.
  8. Recorded revenues of $176 on December 8, including $48 on credit and $128 collected in cash.
  9. Recognized salaries and wages expense on December 9, $93 paid in cash.
  10. Collected accounts receivable on December 10, $32.

Data for adjusting journal entries as of December 31:

  1. Unrecorded amortization for the year on software, $8.
  2. Supplies counted on December 31, 2018, $11.
  3. Depreciation for the year on the equipment, $7.
  4. Interest of $2 to accrue on notes payable.
  5. Salaries and wages earned but not yet paid or recorded, $11.
  6. Income tax for the year was $9. It will be paid in 2019.

C4-2 Part 6

  1. 6-a. Prepare an income statement.

  2. 6-b. Prepare the statement of retained earnings.

  3. 6-c. Prepare the balance sheet.

In: Accounting

What are the names of the planets in order from the Sun outward? What caused this...

What are the names of the planets in order from the Sun outward?

What caused this difference to occur?

What was the Earth like when it first formed?

How is it different today?

What are the three main layers of the Earth based on chemical composition?

What are the five layers of the Earth based on physical characteristics?

How did these layers originally form?

What are the two most voluminous element is the Earth’s crust?

What are the two kinds of crust? What is the igneous rock that makes up each layer called?

What is the main difference between them, that makes them act so differently?

What was the basic composition of the early atmosphere?

What had to change in the atmosphere before life could evolve?

What were the first organisms’ food come from?

What type of organisms make most of the food for the basis of the food chain today?

What is the basic history of organisms’ evolution on Earth?

What is the study of geology?

How is environmental geology defined?

Why study environmental geology?

What is carrying capacity?

Who is the population on Earth effected by environmental geology?

Define:

Scientific method

Hypothesis

Theory

What are some of the environmental issues influenced by population growth?

In: Other

When the three blocks in the figure below are released from rest, they accelerate with a...

When the three blocks in the figure below are released from rest, they accelerate with a magnitude of 0.680 m/s2. Block 1 has mass M, block 2 has 3M, and block 3 has 3M. What is the coefficient of kinetic friction between block 2 and the table?

In: Physics