Calculate Payroll
Breakin Away Company has three employees—a consultant, a computer programmer, and an administrator. The following payroll information is available for each employee:
| Consultant | Computer Programmer | Administrator | ||||
| Regular earnings rate | $4,000 per week | $60 per hour | $50 per hour | |||
| Overtime earnings rate* | Not applicable | 1.5 times hourly rate | 2 times hourly rate | |||
| Number of withholding allowances | 2 | 1 | 2 | |||
| *For hourly employees, overtime is paid for hours worked in excess of 40 hours per week. | ||||||
For the current pay period, the computer programmer worked 50 hours and the administrator worked 48 hours. The federal income tax withheld for all three employees, who are single, can be determined from the wage bracket withholding table in Exhibit 2. Assume further that the social security tax rate was 6.0%, the Medicare tax rate was 1.5%, and one withholding allowance is $75.
Determine the gross pay and the net pay for each of the three employees for the current pay period. If required, round your answers to two decimal places.
| Consultant | Computer Programmer | Administrator | |
| Gross pay | $4,000 | $3,300 | $2,800 |
| Net pay | $fill in the blank 4 | $fill in the blank 5 | $fill in the blank 6 |
In: Accounting
8. An SAT prep course claims to improve the test score of students. The table below shows the scores for seven students the first two times they took the verbal SAT. Before taking the SAT for the second time, each student took a course to try to improve his or her verbal SAT scores. Do these results support the claim that the SAT prep course improves the students' verbal SAT scores?
Let d=(verbal SAT scores prior to taking the prep course)−(verbal SAT scores after taking the prep course)d=(verbal SAT scores prior to taking the prep course)−(verbal SAT scores after taking the prep course). Use a significance level of α=0.01 for the test. Assume that the verbal SAT scores are normally distributed for the population of students both before and after taking the SAT prep course.
|
Student |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
|
Score on first SAT |
430 |
500 |
420 |
380 |
560 |
450 |
510 |
|
Score on second SAT |
480 |
570 |
480 |
420 |
580 |
530 |
530 |
Step 1 of 5: State the null and alternative hypotheses for the test.
Ho: μd (=,≠,<,>,≤,≥) 0
Ha: μd (=,≠,<,>,≤,≥) 0
Step 2 of 5: Find the value of the standard deviation of the paired differences. Round your answer to one decimal place.
Step 3 of 5: Compute the value of the test statistic. Round your answer to three decimal places.
Step 4 of 5: Determine the decision rule for rejecting the null hypothesis H0H0. Round the numerical portion of your answer to three decimal places.
Reject Ho if (t, I t I), (<,>) _____
Step 5 of 5: Make the decision for the hypothesis test.
Reject Null Hypothesis Fail to Reject Null Hypothesis
In: Statistics and Probability
A sports mortgage is the brainchild of Stadium Capital Financing Group, a company headquartered in Chicago, Illinois. It is an innovative way to finance cash-strapped sports programs by allowing fans to sign up to pay a “mortgage” over a certain number of years for the right to buy good seats at football games for several decades with season ticket prices locked in. The locked-in price period is 50 years in California. Assume you and your brother went to UCLA. Your brother, Harold, purchases a $50,000 mortgage and pays for it now to get season tickets for $290 each for 50 years, while you, being a three-time alumnus of the same university, are able to buy season tickets at $390 in year 1, with prices increasing by $20 per year for 50 years. NOTE: This is a multi-part question. Once an answer is submitted, you will be unable to return to this part. What should Harold have been willing to pay UCLA upfront for the mortgage to make the two plans exactly equivalent economically if the rate of interest is 8% per year? (Assume Harold has no reason to give extra money to UCLA at this point and that the seats are the same level and next to each other.) Harold should have paid $ ________ to UCLA up front for the mortgage to make the two plans exactly equivalent economically.
In: Economics
Using C++,
Write a program that will use pointer syntax to access variables, dynamically allocate memories, and pass pointers to functions.
1. The program should ask the user to enter a size to the array.
2. The program should dynamically allocate an array with the size.
3. The program should then ask user to input values to the array
4. The program should then find the maximum, display all elements forward and reversed using two different ways of pointer access
5. The program must use functions with pointers as parameters.
6. The manipulation/access of the array must be done through pointer syntax.
7. Your main function should only declare the variables and call the functions.
Variable:
You’ll need the following pointer to be declared in your main function.
float * ptData;
Data Validation:
1. The size of the array cannot be less or equal to 1 (E.g. 2, 5, 100 is fine, but 1 or 0 is no acceptable).
2. Check if pointer has successfully allocated the array.
Functions:
You should have separate functions to handle user input, maximum, and display the array (all the values needs to be returned to the function call, you need to have pointer as the input parameter). Main function should only call other functions.
|
Function Header |
Explanation |
|
void getSize(int * ptr) |
This function will ask user to enter a size to the array. The size of the array cannot be less or equal to 1. For example: 2, 5, 100 is fine, but 1 or 0 is no acceptable. |
|
float * getValues(const int SIZE) |
This function will declare and use a pointer to dynamically allocate an array with the size user has entered. The pointer should be returned to the function’s call. Check if pointer has successfully allocated the array. |
|
float getMax(const float * ptr, const int SIZE) |
This function will find and return the maximum value of the array using pointer syntax. |
|
void displayForward(const float * ptr, const int SIZE) |
This function should display all array elements forward (from the first to the last) |
|
void displayBackward(float * const ptr, const int SIZE) |
This function should display all array elements backward (from last to the first) You are required to use the following pointer and loop to accomplish this task. float * ptr2 = ptr + SIZE; while (ptr < ptr2) |
Sample Output:
|
Please enter a size to the array: -9 !!!Error: an array’s size cannot be less or equal to 1 Please enter a size to the array: 6 Please enter all values of the array: Value 1: 4 Value 2: 5 Value 3: 7 Value 4: 2 Value 5: 1 Value 6: 8 Displaying all values forward: 4 5 7 2 1 8 Displaying all values backward: 8 1 2 7 5 4 The maximum value of this array is: 8 |
In: Computer Science
QUESTION 1
In a study designed to compare fasting blood sugar readings for 3 groups of diabetic patients, one group used insulin to control the problem, one group used oral drugs and another group used diet and exercise. The blood sugar readings for the three samples are shown below. Conduct an ANOVA test to determine if there is a difference in the three different treatments effect to blood sugar (Ho: Blood sugar means are equivalent , Ha: At least one of the means is different). Conduct this test at alpha equal .05. Answer each of the questions. What are the degrees of freedom for the treatment?
| Insulin | Oral Drug | Diet/Exercise |
| 110 | 120 | 100 |
| 95 | 135 | 95 |
| 125 | 140 | 110 |
| 130 | 130 | 115 |
| 110 | 125 | 100 |
|
2 |
||
|
3 |
||
|
4 |
||
|
5 |
||
|
Cannot Answer the question as there is not enough information provided |
Hypothesis Tests are defined as
| a. |
A process that uses sample statistics to test claim about the value of a population parameter |
|
| b. |
A process that involves calculating probabilities of normal distributions |
|
| c. |
A process that involves determining the upper and lower value confidence intervals associated with the distribution |
|
| d. |
All of the above |
|
| e. |
None of the above |
QUESTION 5
Which of the following statements is true about hypothesis testing
| a. |
Hypothesis testing is always two sided |
|
| b. |
It is a process by which a decision is made by calculating probability of the binomial distribution |
|
| c. |
A process where the "burden of proof" is traditionally on the alternate hypothesis. As such, it is up to the analyst to provide evidence in support of the alternate hypothesis |
|
| d. |
All of the above |
|
| e. |
None of the above |
QUESTION 6
For a one way analysis of variance problem, If degrees of freedom for the treatment (or factor) is three, then what is the null hypothesis being tested?
|
Ho: U1 = U2 = U3 |
||
|
Ho: U1 = U2 = U3 = U4 |
||
|
Ho: U = Do |
||
|
The null Hypothesis cannot be determined from this information |
In: Statistics and Probability
Use the SEVEN Thinking Hats to explore all the possible aspects of choosing the right future spouse. Towards the end use the Blue Hat to summarize, conclude and design 7-10 strategies that help you to make a sound decision.
In: Psychology
Masterfoods USA states that their color blends were selected by conducting consumer preference tests, which indicated the assortment of colors that pleased the greatest number of people and created the most attractive overall effect. On average, they claim the following percentages of colors for M&Ms® milk chocolate candies: 24% blue, 20% orange, 16% green, 14% yellow, 13% red and 13% brown.
5. Test their claim that the true proportion of red M&Ms® candies is 0.13 at the 0.05 significance level.
6. Test their claim that the true proportion of brown M&Ms® candies is 0.13 at the 0.05 significance level.
7. On average, they claim that a 1.69 oz bag will contain more than 54 candies. Test this claim (µ > 54) at the 0.01 significance (σ unknown).
HELP:
As an example, say we had found 732 purple candies out of 3500
total candies. The sample proportion of purple candies is 732/3500
= 0.2091428571.
Now let's say you want to test that the true proportion of purple
candies is 21% (0.21).
First define your hypotheses:
H0: p = 0.21 (claim)
H1: p ≠ 0.21
Next we need to calculate the test statistic. For this type of test, it is a z and a two tailed test. You have been asked to test at alpha = 0.05, so we will reject the null if the test statistic, z, is positive and greater than 1.96 OR if the test statistic, z, is negative and smaller than -1.96. (NOTE: This is the same as if the absolute value of the test statistic is greater than 1.96.)
Review: → sample proportion (0.209143)
p → assumed value in null (0.21)
q → 1 - p (0.79)
n → total number of candies (3500)
Because the test statistic is negatiae and is NOT smaller than -1.96, we FAIL TO REJECT. We have insufficient evidence to suggest the true proportion is not 0.21.
You will follow this procedure for EACH color.
| Blue | Orange | Green | Yellow | Red | Brown | Total Number of Candies in Bag |
| 6 | 17 | 10 | 8 | 10 | 7 | 58 |
| 8 | 8 | 11 | 12 | 9 | 10 | 58 |
| 8 | 13 | 14 | 4 | 12 | 7 | 58 |
| 7 | 13 | 10 | 7 | 14 | 7 | 58 |
| 12 | 13 | 4 | 13 | 5 | 10 | 57 |
| 13 | 8 | 12 | 13 | 1 | 10 | 57 |
| 8 | 8 | 14 | 7 | 9 | 11 | 57 |
| 16 | 10 | 10 | 5 | 11 | 4 | 56 |
| 11 | 11 | 8 | 13 | 6 | 7 | 56 |
| 10 | 9 | 14 | 10 | 9 | 4 | 56 |
| 6 | 12 | 13 | 8 | 9 | 8 | 56 |
| 14 | 10 | 2 | 13 | 7 | 10 | 56 |
| 11 | 10 | 11 | 12 | 5 | 7 | 56 |
| 14 | 11 | 8 | 6 | 7 | 10 | 56 |
| 14 | 8 | 9 | 5 | 5 | 15 | 56 |
| 11 | 12 | 10 | 12 | 7 | 3 | 55 |
| 12 | 9 | 12 | 8 | 5 | 9 | 55 |
| 7 | 12 | 10 | 7 | 10 | 9 | 55 |
| 8 | 9 | 13 | 11 | 10 | 4 | 55 |
| 10 | 11 | 9 | 10 | 6 | 9 | 55 |
| 10 | 10 | 9 | 10 | 7 | 9 | 55 |
| 9 | 3 | 9 | 13 | 8 | 13 | 55 |
| 10 | 8 | 13 | 10 | 9 | 5 | 55 |
| 11 | 6 | 11 | 7 | 8 | 12 | 55 |
| 12 | 13 | 10 | 11 | 5 | 3 | 54 |
| 12 | 8 | 5 | 15 | 8 | 6 | 54 |
| 12 | 8 | 5 | 15 | 8 | 6 | 54 |
| 14 | 14 | 9 | 4 | 6 | 7 | 54 |
| 13 | 7 | 12 | 9 | 4 | 9 | 54 |
| 13 | 10 | 11 | 8 | 5 | 6 | 53 |
| 7 | 11 | 10 | 9 | 7 | 9 | 53 |
| 9 | 14 | 8 | 6 | 6 | 10 | 53 |
| 12 | 10 | 8 | 7 | 9 | 6 | 52 |
| 10 | 7 | 11 | 7 | 8 | 8 | 51 |
| 11 | 3 | 12 | 8 | 7 | 10 | 51 |
| 8 | 10 | 12 | 6 | 7 | 6 | 49 |
In: Statistics and Probability
Polaris is not a particularly bright star. To find Polaris, use the
two stars in the bowl of the Big Dipper, farthest away from the
handle. These two stars point to Polaris as discussed in class.
Polaris is about five times the distance between these two
stars.
1. Check you can find the two stars that point to Polaris.
2. Check that you can locate Polaris.
3. Draw a picture showing the two stars pointing to Polaris.
4. What constellation is Polaris in?
5. Fill in the below chart with different locations on Earth on the
Northern Hemisphere.
Location Latitude Longitude Polaris Altitude
Vancouver, BC 49° N 123° W
6. Make a graph of Polaris Altitude vs. Latitude.
7. Make a graph of Polaris Altitude vs. Longitude.
8. Are there any relationship between one’s location and the
altitude of Polaris? Explain using a drawing showing the earth,
Polaris, and different observers on Earth.
9. Change the location to Santiago, Chile.
10. Turn off the landscape/ground.
11. What is the altitude of Polaris now? What does this
mean?
In: Physics
Assume that United States residents invest heavily in the Australian government and stocks. In addition, Australian residents invest heavily in the United States.
Because your firm imports goods from Australia, you are assigned to forecast the value of AUD (the Australian dollar) against the USD – i.e., you forecast St(AUDUSD). Explain how each of the following conditions will affect the value of the AUD, holding other things equal. Then, aggregate all of these impacts to develop an overall forecast of the AUD’s movement against the USD. (Please plot a figure to explain each condition, except for question f. No figures, no points.)
a. U.S. inflation has suddenly increased substantially, while Australian inflation remains low. (7 points)
b. The U.S. interest rates have increased substantially, while the Australian interest rates remain the same. (7 points)
c. The income level in the U.S. increased substantially, while the Australian income level has remained unchanged. (7 points)
d. The U.S. is expected to impose a new small tariff on goods imported from Australia. (7 points)
e. In Australia, the recent dysfunction within the two major political parties has seen seven different Prime Ministers take office in the past decade. You expect that this situation may be going to get worse and assume Australia is not a safe haven. (7 points)
f. Combine all expected impacts to develop an overall forecast. (2 points)
In: Accounting
Follow a public traded stock and analyze the changes in stock price. Write a presentation and an executive memo of your findings. Choose one of the following companies:
In your presentation you should:
In: Finance