Why is culture important to consider when studying populations in experimental psychology?
In: Psychology
ABC Company produces a chemical. At the start of the year, they had the following cost information:
|
Direct material: (10 pounds @ $1.60) |
$16.00 |
|
Direct labor: (0.75 hours @ $18.00) |
$13.50 |
|
Variable overhead: (0.75 @ $4.00) |
$3.00 |
|
Fixed overhead: (0.75 @ $3.00) |
$2.25 |
|
Standard cost per unit |
$34.75 |
ABC Company computes its overhead rates using practical volume, which is 72,000 units. The actual results are as follows:
a. Units produced: 70,000.
b. Direct materials purchased: 744,000 pounds @ $1.50 per pound.
c. Direct materials used: 736,000 pounds.
d. Direct labor: 56,000 hours @ $17.90 per hour.
e. Fixed overhead: $214,000
f. Variable overhead: $175,400
Required: You must show all your calculations for question 1 (below) to get credit.
1. Calculate all the following variances:
a. Direct materials price and efficiency variances.
b. Direct labor price and efficiency variances.
c. Variable overhead price and efficiency variances.
d. Fixed overhead price and efficiency variances.
2. Record all the necessary journal entries for:
a. Materials purchases.
b. Materials used in production.
c. Direct labor costs incurred in production.
d. Actual variable overhead costs incurred.
e. Variable overhead costs applied.
f. Actual fixed overhead costs incurred.
g. Fixed overhead costs applied.
h. Recognition of variable overhead variances.
i. Recognition of fixed overhead variances.
j. Closing of all the variance accounts
In: Accounting
Could you use saturated sodium bicarbonate as a test reagent to distinguish between the following pairs of compounds
1. Aspirin and ibuprofen
2. Aspirin and methyl salicylate
Explain you rationale clearly, describing what you might expect to observe when each substance is mixed with the test reagent
In: Chemistry
First level CS, should not be too complex. Need in a week.
You must turn in three java files - FoodItem.java, Order.java and MyOrder.java. In addition to these, you must include a screenshot of the output by executing the file MyOrder.java. Submissions without all these files will not be graded.
Task 1:
Design a class named FoodItem which contains the following fields:
Type of food item: Like entree, bread, soup, salad, drink or dessert to name a few
Item number: could be an alphanumeric code or just a number
Unit price: $xx.xx
You must include appropriate instance methods like constructors, getters , setters and toString for all the fields.
Task 2:
Create another class named Order which has the following fields:
Order number: It could be an alphanumeric id or numeric.
Customer Name: First and last name of the customer
Combo meal option: yes or no
DiscountAmount: If combo meal is chosen, offer a 5% discount
OrderTotal: Total bill amount
You must create the following methods for the Order class:
Constructor (s) - You may include an extra constructor that takes in the Customer name as a parameter.
Setters, getters and toString methods for the appropriate fields.
add(item,quantity) - this method adds the price of purchasing an item to the Order total.
getOrderTotal() - this method returns the total bill amount to be paid by the customer after including any discounts applicable and also a 10% sales tax on the total amount.
Task 3:
Create a class named MyOrder that displays a Menu of items available to choose from, creates an order for two different customers and reports their total bill amount. Use appropriate print statements to guide the user through the ordering process. Remember, this is the class where you are actually placing an order (action required). So, this class must contain the main method.
In: Computer Science
a) The maximum daily water level at an embankment with height 6m can be described with mean 2m and varians 1m2.
What is the upper bound that the embankment will be flooded the given day?
b) For the stochastic variable Z = 4X − 5Y − 5, it is given that E(X) = 5, E(Y ) = 3, Var(X) = 16 and Var(Y ) = 9 while Cov(X, Y ) = 8.
Find Var(Z)
In: Math
Memory Blocks #4100, 8196, 2052, 8196, 2052, 4100
If the cache is initially empty, what is the cache hit/miss rate?
In: Computer Science
Four two-dimensional objects are shown below, with a square grid drawn for reference. Each white square is empty, while each green square contains uniformly dense mass. For each object, choose the row (1-4) and column (a-d) in which the object\'s center of mass is located.
Go to this link to see the pictures: https://www.chegg.com/homework-help/questions-and-answers/four-two-dimensional-objects-shown-square-grid-drawn-reference-white-square-empty-green-sq-q8131931
In: Physics
The x-bar and R values for 20 samples of size five are shown in Table 10E.6. Specifications on this product have been established as 0.550 +/- 0.02.
Table 10.E.8
| Sample No. | X Bar | R |
| 1 | 0.549 | 0.0025 |
| 2 | 0.548 | 0.0021 |
| 3 | 0.548 | 0.0023 |
| 4 | 0.551 | 0.0029 |
| 5 | 0.553 | 0.0018 |
| 6 | 0.552 | 0.0017 |
| 7 | 0.550 | 0.0020 |
| 8 | 0.551 | 0.0024 |
| 9 | 0.553 | 0.0022 |
| 10 | 0.556 | 0.0028 |
| 11 | 0.547 | 0.0020 |
| 12 | 0.545 | 0.0030 |
| 13 | 0.549 | 0.0031 |
| 14 | 0.552 | 0.0022 |
| 15 | 0.550 | 0.0023 |
| 16 | 0.548 | 0.0021 |
| 17 | 0.556 | 0.0019 |
| 18 | 0.546 | 0.0018 |
| 19 | 0.550 | 0.0021 |
| 20 | 0.551 | 0.022 |
(a) Construct a modified control chart with α=0.0013, assuming that if the true process
fraction nonconforming is as large as 1%, the process is unacceptable.
(b) Suppose that if the true process fraction nonconforming is as large as 1%, we would like an
acceptance control chart to detect this out-of control condition with probability 0.90.
Construct this acceptance control chart, and compare it to the chart obtained in part (a).
In: Math
How can i quit this python program.
#********************************************************************************
#Program : SearchClassInfo.py
#Description: This program will ask a user to enter 6 courses and
will allow him
# to search a class by course number, room number, intructor or
time,
# the program will run until the user stop it.
#********************************************************************************
from os import sys
def main():
#Definition of 4 lists
courses = []
rooms = []
instructors = []
times = []
#Allow user to enter six courses
for x in range(2):
Course_Number =input('Enter the course number: ')
Room_Number = input('Enter a room number: ')
Instructor =input('Enter the Instructor of the course: ')
Time = input('Enter the time the course meets: ')
#Add elements in appriate list.
courses.append(Course_Number)
rooms.append(Room_Number)
instructors.append(Instructor)
times.append(Time)
loop = 1 #initialisation of a flag.
while loop != 0:
try:
#Display a menu of four choices to make to search a class.
print('\nEnter 1 to search by course number: ')
print('Enter 2 to search by room number: ')
print('Enter 3 to search by instructor: ')
print('enter 4 to search by time: ')
choice = int(input('Enter your choice: '))#ask user to enter his
choise for search.
if choice == 1 :
#ask user to enter course number for search of corresponding
elements.
Course_Number = input('Enter a course number: ')
if Course_Number in courses: #verify if the couse number entered is
in the list
#extract the index of the course number in list.
i=courses.index(Course_Number)
#printing elements on the same index as course number in other
lists.
print('\nThe detail for course',courses[i], 'are:'
'\nRoom:', rooms[i],
'\nInstructor:',instructors[i],
'\nTime:',times[i], end=' ''\n')
else:#message to alerte when course number does not exit
print('\nThis course number is not on schedule')
elif choice == 2 :
# #ask user to enter room number for search of corresponding
elements.
Room_Number = input('Enter a room number: ')
if Room_Number in rooms:#verify if the room number entered is in
the list
#extract the index of the room number in list.
i=rooms.index(Room_Number)
#printing elements on the same index as room number in other
lists.
print('\nThe detail for course',courses[i], 'are:'
'\nRoom:', rooms[i],
'\nInstructor:',instructors[i],
'\nTime:',times[i], end=' ' '\n')
else:#message to alerte when room number does not exit
print('\nThis room number is not on schedule')
elif choice == 3 :
Instructor = input('Enter the Instructor of the course: ')
if Instructor in instructors:
i=instructors.index(Instructor)
print('\nThe detail for course',courses[i], 'are:'
'\nRoom:', rooms[i],
'\nInstructor:',instructors[i],
'\nTime:',times[i], end=' ' '\n')
else:
print('\nThis instructor is not on schedule')
elif choice == 4 :
Time = input('Enter the time the course meets: ')
if Time in times:
i=times.index(Time)
print('\nThe detail for course',courses[i], 'are:'
'\nRoom:', rooms[i],
'\nInstructor:',instructors[i],
'\nTime:',times[i], end=' ' '\n')
else:
print('\nThis time is not on schedule')
elif choice!=' ':
print('Choice goes from 1--->4')
loop = 0
print('\nDo you want to continue? Enter y for yes')
control = input(' ')
if control == 'y'or'Y':
loop = 1
elif control!=' ':
sys.exit(0)
except:
print('incorrect choice, must be 1,2,3 or4')
pass
main()
In: Computer Science
Foreign market entry mode – International joint venture vs. Exporting ABYZ Company is a successful Australian business. Currently, it manufactures within Australia and exports its products to overseas markets. From the perspective of ABYZ Company, discuss why the use of Exporting might be a more appropriate international foreign market entry mode than entering through a Foreign Direct Investment (FDI) Greenfields approach. Discuss the advantages and disadvantages of both for the company. Recommended length is approximately 250 words. (dont paste anothers need a new one)
In: Finance
Chapter 17 Betty to the Rescue
—T.S. Eliot
Sometimes angels work behind the scenes in secret ways. Betty Mavis was an unsuspected angel for Supervisor Mark Armen of Glacier Hills Township. Glacier Hills was just north of the city of Westminister. Armen had been a political science professor at Ansell College in Westminister, but he was a resident of Glacier Hills, and when the opportunity present itself, he decided a tour of duty in public service was in order. He still had to get elected. Several students helped in his campaign and all were supportive. Particularly helpful was graduate student Paul Turwill. Tur-will took the lead in getting together volunteers to knock on every door in Glacier Hills. He also talked residents into having signs on their lawn. In the true sense of the word, he was a go-getter. After long summer nights of campaigning, Armen and Turwill and those students who were over 21 would gather at the Knolls Tavern to discuss their activities. Betty Mavis often came along, usually with a textbook in hand, and always with a smile.
Armen told Turwill that he would help him get a job with the township if he were to be elected and a job opening was available. The election was a success, and as it happened, the previous, outgoing supervisor had a secretary who indicated she wished to resign when her boss left office. That created an opening for a secretary. Armen approached the township clerk, another elected official who served as personnel director. Armen was told that he could choose anyone he wished to be his secretary. He brought up the possibilities of having Turwill serve instead as his assistant, but with the understanding that Turwill and Armen would take care of all of the secretarial tasks of the supervisor’s office. The clerk had no problem with that arrangement, and at the first meeting led by new Supervisor Mark Armen, the issue was placed in front of the full board, and it was discussed briefly. There was no opposition when it was established that Turwill could type and he had had some clerical work experience. Turwill was hired. He was able to continue with his master’s degree program as all his remaining classes were in the evening. He agreed not to take any class on Monday night, as that was when the township board meetings were.
Political leaders often praise the patronage system. If an official is given the power to make an appointment untied to arms-length merit considerations and open competition, it is considered a plus. This is what Mark Armen had been teaching right out of the textbooks in his political personnel classes. He had his classes read George Washington Plunkitt,1 which explained that the only way you can motivate staff is if you get to select them unhindered by rules and examinations. Patronage was the key to loyalty. When Armen the professor yielded to Armen the political leader, it didn’t seem to work out that way at all. Turwill was a big mistake. He immediately took on a lazy air. He did not show respect to other members of the staff, mostly older women who, while a bit stern in demeanor, had efficiently taken care of township business over the previous 3 decades. Stern was the nature of most workers in the community of German immigrants—many of whom were recent immigrants. Turwill was a bit sloppy in his work. Armen had to have letters retyped, and after a while just took on the task of typing his letters by himself.
Armen was outgoing and liked to joke around with citizens and students alike. He was into jogging, and would tour the township streets in his running outfit two or three mornings a week. He actually used the running to look at sites for rezoning or other issues that had come up in meetings. It was a good way to keep in touch with the citizens. He would wave and smile at constituents and even stop to chat if the occasion called for it. Some of the solid citizens took offense at this style of activity. They were especially critical when they would phone the township and ask for the supervisor only to get Turwill to answer in a sarcastic way that the supervisor was out jogging.
Armen was very concerned when some of Turwill’s college friends would stop by and have closed-door meetings with him. Armen also had an impression that Turwill and his friends would go behind the township hall and participate in recreational drug activity. Armen was well aware that many of the students on campus did drugs, and he had seen Turwill smoking on occasion. The township hall was not the place, and working hours were not the time.
A patronage appointee cannot be easily fired. This is especially the case if he or she earned the job through hard political work. This is the case when someone won an appointment through the recommendation of a close friend. A patronage appointee who knows this may use this. The patronage appointee may take on a feeling that he already paid his dues for the job and he doesn’t have to work as hard as others for their pay. Such was the case with Turwill. Armen pondered solutions, and he knew that any direct action would have costs in friendships on campus, and in respect from his township colleagues who had gone along with his judgment when Turwill was hired. The solution to the problem of Turwill was not easy. Armen’s first thought was to move him to some work outside of the township hall. Armen did let Turwill know that he could not defend him if anyone else saw him smoking marijuana about the premises, and Turwill seemed to understand the warning.
Armen thought about putting Turwill with the township work crews, but that was mostly manual labor, and Armen was not going to make Turwill a supervisor of work crews—where the workers were more skilled than he was. Fortunately the township received a neighborhood development grant for a poor area near the river—Riverdale. The grant entailed hiring crews to clean up the streets, paint houses, and conduct recreational programs. Armen put Turwill in charge of organizing teams to go to the Riverdale area and to work with them. While Turwill thought the work was a bit demeaning, he thought it was less boring that being at township hall all day. He seemed to be doing a satisfactory job in Riverdale. Armen only worried about the fall—in 2 months the Riverdale project would be over—then he would have the Tur-will project on his hands again.
Ah! The day of miracles. One day in August, Turwill came into Armen’s office with a big smile and announced that there was an opening for an assistant public works director in the city of Westminister, and the pay was 40% higher than his current salary. He asked if he should apply.
Armen put on his professor’s hat for a moment and said, “Paul, you know you are welcome here. I owe you this; I know I wouldn’t be here without your work. But the job you have here has to be considered temporary—I am here on a 2-year term; you know my job here is temporary too. You do not have a career job here; there is no career ladder. Westminister is a big city, a post like assistant public works director can have a career ladder. And I can’t raise your salary. Believe me, I know I owe you, and I know you can work hard, and I’ll let the people in Westminister know you are a good student and you can work hard. My professorial advice is simply ‘go for it.’”
Armen made a few inquiries about the position in Westminister, and he found that they wanted a person with a master’s degree and experience, and that they were conducting a national search. His brief moments of thinking that the “Paul problem” was being solved ended. On the other hand, maybe his talk with Turwill could encourage him to look for other jobs, too. But hopes dashed can be hopes revived. Two days later Turwill told the supervisor that he had made the list of ten finalists for the job at Westminister. Armen was indeed a bit dumbfounded.
The next week Turwill was invited for a personal interview. He reported back to Armen with another smile on his face. He had been the first candidate interviewed, because they were talking to people in the local area first. He related that the interview had gone extremely well. In the course of discussions about work experience Turwill had told the Westminister director of public works that he had worked on sidewalk construction crews during summers of his college years. The director asked where, and Turwill replied in Geddes, where he grew up. Geddes was a town of 10,000, forty miles to the west of Glacier Hills.
“You grew up in Geddes?” the director had exclaimed. “So did I. Turwill, your name is? Is that right?”
“Yes, Paul Turwill.”
The director asked, “Do you know Tom Turwill?”
“Of course,” Turwill replied. “That’s my father.”
“I can’t believe it. Your father, wow! You must be that little kid he brought to the class picnics,” the director said. “Your father was my best buddy all though school. The stories I won’t tell you, wow!”
And so went the interview. The director said he would call Turwill in a few days.
The next day the director called Mark Armen. Armen gave Turwill a toned-down good recommendation, but the director sensed something. He asked, “You’re not trying to get rid of him are you?”
Without giving a direct answer, Supervisor Armen repeated the essence of his conversation with Turwill. “I am also Paul’s professor at the college, and I have to reflect on what the job here means and what your job would mean for his career. You are offering a professional public administration post with career opportunities. His job here is simply more limited. He is certainly welcome to stay here, but you are presenting a real professional opportunity and he is capable of taking advantage of it and doing a good job.”
Armen worried that his line of bull might not be effective, but he let it rest, and the director thanked him for his views on Turwill. Turwill got the job.
Armen dropped into the Knolls a few weeks later and Betty Mavis strolled in, books in hand. He asked her how the term was going. She said, “This internship and one more class and I’ve got my degree.”
“Hey, great, tell me about your internship,” Armen said.
Mavis said, “You should know about my internship, you helped set it up last fall.”
Armen sort of remembered and said, “Something to do with personnel, at the county.”
“Right on personnel, but it is the personnel department with the city of Westminister, and let me tell you, I saved your friend Paul’s butt, too.”
Armen inquired as to how she had done that.
Mavis related that the applicants for the assistant public works director were on her desk, and a screening committee had selected ten for interviews. Turwill’s application was in the pile of rejected applications. Mavis said she simply took out the bottom application from the pile of ten and placed Turwill’s into the second spot. Evidently, the director just grabbed the pile of ten and sorted out the locals, and Tur-will was the first one to get an interview call. Mavis heard he had gotten the job, but she hadn’t told anyone how he got the interview. Turwill told her that she had really saved him. She said she thought so because Turwill was always complaining about his township job.
Armen had not thought about Mavis’s graduation, and Mavis had not brought up the subject. But Armen knew she was a waitress at a nice restaurant, the Great Lakes Steakhouse. Armen went into the tavern the week after graduation, and Mavis was there again. This time she was direct.
“Hey, Professor, when you going to take care of me? When do I get a job?”
Armen said, “O.K. Right now, this is your job interview.”
They went though her courses, the jobs she had held, and her skill levels.
Armen said, “Look, I never filled Paul Turwill’s job, and I told the clerk I really didn’t need an assistant, but I know we have a backlog of clerical work, and we could use some organization. You come in tomorrow, and we’ll discuss your job with the clerk.”
The next day Mavis was hired. Armen returned to teaching when his 2-year term ended. Mavis’s new job was a clerical job, but over the next 25 years she grew her position into a professional position. The word in township hall was that she made the place work. Indeed she was even recognized by the Greater Westminister Women’s Club as “Professional Woman of the Year.”
Rethinking patronage—sometimes it can work out O.K.
Questions
In: Economics
The amount of I3–(aq) in a solution can be determined by titration with a solution containing a known concentration of S2O32–(aq) (thiosulfate ion). The determination is based on the net ionic equation
2S2O32-(aq) + I3- (aq)---------> S4O62-(aq) + 3I-(aq)
Given that it requires 40.1 mL of 0.340 M Na2S2O3(aq) to titrate a 15.0-mL sample of I3–(aq), calculate the molarity of I3–(aq) in the solution.
In: Chemistry
OpenACC.
Insert OpenACC directives to improve the performance only within the matmul function. Enhance the comments throughout.
Clearly identify, in your report, the execution time of your implementation the algorithm. How large do the matrices need to be before the performance of a P100 exceeds that of 28 cores on Bridges (using square matrices with power of two order)?
///////////////////////////////////////////////////////////////////////////////
// matmul.c
//
// Procedures:
//
// main generates matrices and tests matmul
// matmul basic, brute force matrix multiply
///////////////////////////////////////////////////////////////////////////////
#include <stdio.h>
#include <sys/time.h>
///////////////////////////////////////////////////////////////////////////////
// int main( int argc, char *argv[] )
// Description: Generates two matrices and then calls matmul to
multiply them.
// Finally, it verifies that the results are
correct.
//
// Parameters:
// argc I/P int The
number of arguments on the command line
// argv I/P char
*[] The arguments on the command line
// main O/P int
Status code
///////////////////////////////////////////////////////////////////////////////
#ifndef L
#define L (1*1024/1)
#endif
#ifndef M
#ifdef SQUARE
#define M L
#else
#define M (1*1024/1)
#endif
#endif
#ifndef N
#ifdef SQUARE
#define N L
#else
#define N (1*1024/1)
#endif
#endif
float A[L*M], B[M*N], C[L*N];
int matmul( int l, int m, int n, float *A, float *B, float *C );
int main( int argc, char *argv[] )
{
int i, j, k;
#ifdef OMP
#pragma omp parallel
{
int np = omp_get_num_procs();
fprintf( stderr, "Threads = %d\n", np );
}
#endif
for( i=0; i<L; i++ )
for( j=0; j<M; j++ )
{
if( i <= j )
{
A[i*M+j] = (float) (i*M+j+1);
}
else
{
A[i*M+j] = 0.0;
A[i*M+j] = (float) (i*M+j+1);
}
}
for( j=0; j<M; j++ )
for( k=0; k<N; k++ )
{
if( j <= k )
{
if( k < M )
B[j*N+k] = 1.0;
else
B[j*N+k] = B[j*N+k-1] + 1.0;
}
else
{
B[j*N+k] = 0.0;
}
}
for( i=0; i<L; i++ )
for( k=0; k<N; k++ )
{
C[i*N+k] = - (float) L*M*N;
}
struct timeval start, stop;
gettimeofday( &start, NULL );
matmul( L, M, N, A, B, C );
gettimeofday( &stop, NULL );
float elapsed = ( (stop.tv_sec-start.tv_sec) +
(stop.tv_usec-start.tv_usec)/(float)1000000 );
float flops = ( 2 * (float)L * (float)M * (float)N ) / elapsed;
printf( "L=%d, M=%d, N=%d, elapsed=%g,
flops=%g\n",
L, M, N, elapsed, flops );
#ifdef DEBUG
printf( "A:\n" );
for( i=0; i<L; i++ )
{
printf( "%g", A[i*M] );
for( j=1; j<M; j++ )
{
printf( " %g", A[i*M+j] );
}
printf( "\n" );
}
printf( "B:\n" );
for( j=0; j<M; j++ )
{
printf( "%g", B[j*N] );
for( k=1; k<N; k++ )
{
printf( " %g", B[j*N+k] );
}
printf( "\n" );
}
printf( "C:\n" );
for( i=0; i<L; i++ )
{
printf( "%g", C[i*N] );
for( k=1; k<N; k++ )
{
printf( " %g", C[i*N+k] );
}
printf( "\n" );
}
#endif
}
///////////////////////////////////////////////////////////////////////////////
// int main( int argc, char *argv[] )
// Description: Generates two matrices and then calls matmul to
multiply them.
// Finally, it verifies that the results are
correct.
//
// Parameters:
// l I/P int The
first dimension of A and C
// m I/P int The
second dimension of A and first of B
// n I/P int The
second dimension of B and C
// A I/P float *
The first input matrix
// B I/P float *
The second input matrix
// C O/P float *
The output matrix
// matmul O/P int
Status code
///////////////////////////////////////////////////////////////////////////////
int matmul( int l, int m, int n, float *restrict A, float *restrict
B, float *restrict C )
{
int i, j, k;
for( i=0; i<l; i++ )
// Loop
over the rows of A and C.
for( k=0; k<n; k++ )
// Loop over the columns of B
and C
{
// Initialize the output element for the inner
// product of row i of A with column j of B
C[i*n+k] = 0;
for( j=0; j<m; j++ )
// Loop over the columns of A
and C
{
C[i*n+k] += A[i*m+j] *
B[j*n+k]; // Compute the inner product
}
}
}
In: Computer Science
The double acetylation of the drug morphine gives a historically important compound. Discuss.
In: Chemistry