Match each sequence to a good candidate for a closed form. Note that for each of the given sequences, the initial value of the index n is given.
| selectABCDE | 1.
f(n)=5n−2 |
| selectABCDE | 2.
f(n)=((1+5√)2)n−((1−5√)2)n5–√ |
| selectABCDE | 3.
f(n)=2n+1−1 |
| selectABCDE | 4.
f(n)=5n+3 |
| selectABCDE | 5.
f(n)=2n−1 |
| selectABCDE | 6.
f(n)=(n+1)2−1 |
| selectABCDE | 7.
f(n)=n2−1 |
In: Advanced Math
1.
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 | $2,410 per week | $30 per hour | $48 per hour | |||
| Overtime earnings rate | Not applicable | 1.5 times hourly rate | 2 times hourly rate | |||
| Number of withholding allowances | 3 | 2 | 1 | |||
For the current pay period, the computer programmer worked 60 hours and the administrator worked 50 hours. The federal income tax withheld for all three employees, who are single, can be determined by adding $356.90 to 28% of the difference between the employee's amount subject to withholding and $1,796.00. Assume further that the social security tax rate was 6%, the Medicare tax rate was 1.5%, and one withholding allowance is $70.
Determine the gross pay and the net pay for each of the three employees for the current pay period. Assume the normal working hours in a week are 40 hours. If required, round your answers to two decimal places.
| Consultant | Computer Programmer | Administrator | |
| Gross pay | $ | $ | $ |
| Net pay | $ | $ | $ |
2.
Summary Payroll Data
In the following summary of data for a payroll period, some amounts have been intentionally omitted:
| Earnings: | ||
| 1. At regular rate | ? | |
| 2. At overtime rate | $64,700 | |
| 3. Total earnings | ? | |
| Deductions: | ||
| 4. Social security tax | 25,920 | |
| 5. Medicare tax | 6,480 | |
| 6. Income tax withheld | 110,000 | |
| 7. Medical insurance | 14,900 | |
| 8. Union dues | ? | |
| 9. Total deductions | 160,000 | |
| 10. Net amount paid | 272,000 | |
| Accounts debited: | ||
| 11. Factory Wages | 229,000 | |
| 12. Sales Salaries | ? | |
| 13. Office Salaries | 86,400 | |
a. Calculate the amounts omitted in lines (1), (3), (8), and (12).
| (1) | $ |
| (3) | $ |
| (8) | $ |
| (12) | $ |
b. Journalize the entry to record the payroll accrual. If an amount box does not require an entry, leave it blank.
c. Journalize the entry to record the payment of the payroll.
3.
Quick Ratio
Gmeiner Co. had the following current assets and liabilities on December 31 of two recent years:
| Current Year | Previous Year | ||||||
| Current assets: | |||||||
| Cash | $525,000 | $571,000 | |||||
| Accounts receivable | 465,000 | 269,000 | |||||
| Inventory | 287,000 | 227,000 | |||||
| Total current assets | $1,277,000 | $1,067,000 | |||||
| Current liabilities: | |||||||
| Current portion of long-term debt | $72,000 | $63,000 | |||||
| Accounts payable | 144,000 | 126,000 | |||||
| Accrued and other current liabilities | 234,000 | 231,000 | |||||
| Total current liabilities | $450,000 | $420,000 | |||||
a. Determine the quick ratio for December 31 of both years. If required, round your answers to one decimal place.
| Quick Ratio | |
| Previous year: | |
| Current year: |
I put 2.2 & 2 and there was a decrease but that was incorrect. I am not sure exactly what I am doing wrong.
b. How did the quick ratio change between the
two balance sheet dates?
Decreased
In: Accounting
3. Write a function named "countNonAlpha" that accepts a string.
It will return the number of non-alphabet characters (excluding
blanks) in the string.
For example, if the string is "Hello, World!", it will return 2 for
',' and '!" in the string.
4. Write a function named "deleteZeros" that takes two
arguments:
a. an array of integer values;
b. an integer for the number of elements in the array;
The function will return the number of zeros that it has deleted
from the array
The function should shift the contents of each element in the array
whenever a zero
element is deleted
For example, if the array is defined as
int numList[] = {10, 0, 20, 30, 40, 0, 50};
The function will return 2 and shift to make the array to
contain
10 20 30 40 50
5. Write a function named "reverseCase" that takes only one
argument of a C-string (an array of characters that terminates with
a NULL ('\0') character).
The function will change all lower cases to upper case and vice
versa in that given
C-string. If the character is not an alphabet, it will be
unchanged.
The function will return the number of letters that it has
changed.
For example, if the array is defined as
char greeting[] = " Hello, World! ";
It will return 10 and change the array to contain
hEELO, wORLD!
In: Computer Science
In: Computer Science
Using excel and the data in chapter 14 data set 2, complete the analysis and interpret the results. It is a 2 x 3 experiment: There are two levels of severity, where the Level 1 is severe and Level 2 is mild, and there are three levels of treatment, where Level 1 is Drug #1, Level 2 is Drug #2, and Level 3 is Placebo. This is an ANOVA with replication because each participant received all three levels of treatment, which are represented by the columns of data; severity is represented by the rows.
Severity 1
6 6 2
6 5 1
7 4 3
7 5 4
7 4 5
6 3 4
5 3 3
6 3 3
7 4 3
8 5 4
7 5 5
6 5 3
5 6 1
6 6 2
7 7 4
8 6 5
9 5 3
8 7 4
7 6 2
7 8 3
Severity 2
7 7 4
8 5 5
8 4 6
9 3 5
8 4 4
7 5 4
6 4 6
6 4 5
6 3 4
7 3 2
7 4 1
6 5 3
7 6 2
8 7 2
8 7 3
8 6 4
9 5 3
0 4 2
9 4 2
8 5 1
In: Statistics and Probability
Java program.
Need to create a class names gradesgraph which will represent the GradesGraphtest program.
Assignment
Create a class GradesGraph that represents a grade distribution for a given course. Write methods to perform the following tasks:
• Set the number of each of the letter grades A, B, C, D, and F.
• Read the number of each of the letter grades A, B, C, D, and F.
• Return the total number of grades.
• Return the percentage of each letter grade as a whole number between 0 and 100, inclusive.
• Draw a bar graph of the grade distribution.
The graph will have five bars, one per grade. Each bar can be a horizontal row of asterisks, such that the number of asterisks in a row is proportionate to the percentage of grades in each category. Let one asterisk represent 2 percent, so 50 asterisks correspond to 100 percent. Mark the horizontal axis at 10 percent increments from 0 to 100 percent, and label each line with its letter grade.
For example, if the grades are 1 A, 4 Bs, 6 Cs, 2 Ds, and 1 F, the total number of grades is 14, the percentage of As is 7, the percentage of Bs is 29, the percentage of Cs is 43, the percentage of Ds is 14, and the percentage of Fs is 7. The A row would contain 4 asterisks (7 percent of 50 rounded to the nearest integer), the B row 14, the C row 21, the D row 7, and the F row 4.
Test Program
public class GradesGraphTest
{
public static void main(String[] args)
{
int numberOfAs;
int numberOfBs;
int numberOfCs;
int numberOfDs;
int numberOfFs;
System.out.println();
System.out.println("Test case 1: readInput() and writeOutput()");
GradesGraph grades = new GradesGraph();
grades.readInput();
System.out.println();
grades.writeOutput();
System.out.println();
System.out.println("===============================");
System.out.println();
System.out.println();
System.out.println("Test case 2:");
System.out.println("set counts as a group: A=1, B=2, etc.");
grades.set(1, 2, 3, 4, 5);
System.out.println();
System.out.println("Verify results with writeOutput():");
grades.writeOutput();
System.out.println("===============================");
System.out.println();
System.out.println();
System.out.println("Test case 3:");
System.out.println("set counts individually");
System.out.println("A=10, B=9, etc.");
grades.setAcount(10);
grades.setBcount(9);
grades.setCcount(8);
grades.setDcount(7);
grades.setFcount(6);
System.out.println();
System.out.println("Verify results with writeOutput():");
grades.writeOutput();
System.out.println("===============================");
System.out.println();
System.out.println();
System.out.println("Test case 4:");
System.out.println("write (display) counts individually:");
System.out.println();
System.out.println("Verify A=10, B=9, etc.");
System.out.println();
grades.writeAcount();
grades.writeBcount();
grades.writeCcount();
grades.writeDcount();
grades.writeFcount();
System.out.println("===============================");
System.out.println();
System.out.println();
System.out.println("Test case 5:");
System.out.println("return counts individually:");
System.out.println();
System.out.println("Verify A=10, B=9, etc.");
System.out.println();
System.out.println("A count = " + grades.getAcount());
System.out.println("B count = " + grades.getBcount());
System.out.println("C count = " + grades.getCcount());
System.out.println("D count = " + grades.getDcount());
System.out.println("F count = " + grades.getFcount());
System.out.println();
System.out.println("===============================");
System.out.println();
System.out.println();
System.out.println("Test case 6:");
System.out.println("return total number of grades");
System.out.println();
System.out.println("Verify total = 40");
System.out.println();
System.out.println("Total number of grades = "
+ grades.getTotalNumberOfGrades());
System.out.println();
System.out.println("===============================");
System.out.println();
System.out.println();
System.out.println("Test case 7:");
System.out.println("return percentages of each grade");
System.out.println();
System.out.println("Verify A=25, B=23, C=20, D=18, & F=15");
System.out.println();
System.out.println("A = " + grades.getPercentA());
System.out.println("B = " + grades.getPercentB());
System.out.println("C = " + grades.getPercentC());
System.out.println("D = " + grades.getPercentD());
System.out.println("F = " + grades.getPercentF());
System.out.println();
System.out.println("===============================");
System.out.println();
System.out.println();
System.out.println("Test case 8:");
System.out.println("Draw graph of grade percentages");
System.out.println();
System.out.println("Verify A=25, B=23, C=20, D=18, & F=15");
System.out.println();
grades.draw();
System.out.println();
System.out.println("Test case 9:");
System.out.println("Draw graph of grade percentages");
System.out.println();
System.out.println("Verify A=100%");
grades.set(1, 0, 0, 0, 0);
System.out.println();
grades.draw();
System.out.println();
System.out.println("Test case 10:");
System.out.println("Draw graph of grade percentages");
System.out.println();
System.out.println("Verify all 0%");
grades.set(0, 0, 0, 0, 0);
System.out.println();
grades.draw();
}
}
The output will be:
Test case 1: readInput() and writeOutput()
How many A's?
5
How many B's?
9
How many C's?
5
How many D's?
6
How many F's?
2
Number of A's = 5
Number of B's = 9
Number of C's = 5
Number of D's = 6
Number of F's = 2
===============================
Test case 2:
set counts as a group: A=1, B=2, etc.
Verify results with writeOutput():
Number of A's = 1
Number of B's = 2
Number of C's = 3
Number of D's = 4
Number of F's = 5
===============================
Test case 3:
set counts individually
A=10, B=9, etc.
Verify results with writeOutput():
Number of A's = 10
Number of B's = 9
Number of C's = 8
Number of D's = 7
Number of F's = 6
===============================
Test case 4:
write (display) counts individually:
Verify A=10, B=9, etc.
Number of A's = 10
Number of B's = 9
Number of C's = 8
Number of D's = 7
Number of F's = 6
===============================
Test case 5:
return counts individually:
Verify A=10, B=9, etc.
A count = 10
B count = 9
C count = 8
D count = 7
F count = 6
===============================
Test case 6:
return total number of grades
Verify total = 40
Total number of grades = 40
===============================
Test case 7:
return percentages of each grade
Verify A=25, B=23, C=20, D=18, & F=15
A = 25
B = 23
C = 20
D = 18
F = 15
===============================
Test case 8:
Draw graph of grade percentages
Verify A=25, B=23, C=20, D=18, & F=15
2 10 20 30 40 50 60 70 80 90 100
| | | | | | | | | | |
**************************************************
************ A
*********** B
********** C
********* D
******* F
Test case 9:
Draw graph of grade percentages
Verify A=100%
2 10 20 30 40 50 60 70 80 90 100
| | | | | | | | | | |
**************************************************
************************************************** A
B
C
D
F
Test case 10:
Draw graph of grade percentages
Verify all 0%
2 10 20 30 40 50 60 70 80 90 100
| | | | | | | | | | |
**************************************************
A
B
C
D
F
In: Computer Science
Provide an appropriate response.
A district administrator wants to determine the effect of truancy
on academic achievement. She asks the dean at a high school to
randomly select the records of 50 truant students and to randomly
select the records of 50 nontruant students. Identify any problems
that are likely to cause confounding.
|
the use of records from only one school |
||
|
nothing (this is a well-designed retrospective study) |
||
|
the use of one person to select the records for members of both groups |
||
|
the number of records in each group (since, presumably, there are more nontruant students, there should be more members selected from that group) |
2 points
Question 40
Identify which of these types of sampling is used:
random, stratified, systematic, cluster,
convenience.
To avoid working late, a quality control analyst simply inspects
the first 100 items produced in a day.
|
Random |
||
|
Convenience |
||
|
Cluster |
||
|
Stratified |
||
|
Systematic |
2 points
Question 41
Construct the requested table. Round relative
frequencies to the nearest hundredth of a percent, unless otherwise
indicated.
The following data show the body temperatures (°F) of randomly
selected subjects. Construct a relative frequency table with seven
classes: 96.9 - 97.2, 97.3 - 97.6, 97.7 - 98.0, and so on.
Round relative frequencies to the nearest tenth of a percent.
|
|
||
|
|
||
|
|
||
|
|
2 points
Question 42
Construct the requested table.
The following data represent the total number of years of formal
education for 40 employees of a bank.
Create a frequency table for the number of years of education.
|
|
||
|
|
||
|
|
||
|
|
2 points
Question 43
Determine whether the evaluated group is a population or
a sample.
A researcher determines that 42.7% of all downtown office buildings
have ventilation problems.
|
Population |
||
|
Sample |
2 points
Question 44
Determine whether the evaluated group is a population or
a sample.
A researcher examines the records of all the registered voters in
one city and finds that 43% are registered Democrats.
|
Sample |
||
|
Population |
2 points
Question 45
Provide a written description of the complement of the
given event.
Of ten adults, at least one of them has high blood pressure.
|
None of the adults have high blood pressure. |
||
|
At most one of the adults has high blood pressure. |
||
|
All of the adults have high blood pressure. |
||
|
Nine of the adults have high blood pressure. |
2 points
Question 46
Provide a written description of the complement of the
given event.
When several textbooks are edited, none of them are found to be
free of errors.
|
All of the textbooks are free of errors. |
||
|
One of the textbooks is free of errors. |
||
|
At least one of the textbooks is free of errors. |
||
|
At most one of the textbooks is free of errors. |
2 points
Question 47
| $663 | $273 | $410 | $622 | $174 | $374 |
|
36,838.3 dollars2 |
||
|
1,207,582.7 dollars2 |
||
|
30,698.6 dollars2 |
||
|
36,838.2 dollars2 |
2 points
Question 48
| 17.2 | 16.6 | 30.8 | 28.6 | 20.3 | 18.4 |
|
6.15 in. |
||
|
3088.7 in. |
||
|
2899.6 in. |
||
|
29.7 in. |
2 points
Question 49
Determine if the outcome is unusual. Consider as unusual
any result that differs from the mean by more than 2 standard
deviations. That is, unusual values are either less than μ - 2σ or
greater than μ + 2σ.
A survey for brand recognition is done and it is determined that
68% of consumers have heard of Dull Computer Company. A survey of
800 randomly selected consumers is to be conducted. For such groups
of 800, would it be unusual to get 504 consumers who recognize the
Dull Computer Company name?
|
Yes |
||
|
No |
2 points
Question 50
Find the standard deviation, σ, for the binomial
distribution which has the stated values of n and p. Round your
answer to the nearest hundredth.
n = 1617; p = 0.57
|
σ = 17.50 |
||
|
σ = 24.03 |
||
|
σ = 23.18 |
||
|
σ = 19.91 |
In: Statistics and Probability
We wish to predict the salary for baseball players (y) using the variables RBI (x1) and HR (x2), then we use a regression equation of the form ˆy=b0+b1x1+b2x2.
The following is a chart of baseball players' salaries and statistics from 2016.
| Player Name | RBI's | HR's | Salary (in millions) |
|---|---|---|---|
| Miquel Cabrera | 108 | 38 | 28.050 |
| Yoenis Cespedes | 86 | 31 | 27.500 |
| Ryan Howard | 59 | 25 | 25.000 |
| Albert Pujols | 119 | 31 | 25.000 |
| Robinson Cano | 103 | 39 | 24.050 |
| Mark Teixeira | 44 | 15 | 23.125 |
| Joe Mauer | 49 | 11 | 23.000 |
| Hanley Ramirez | 111 | 30 | 22.750 |
| Justin Upton | 87 | 31 | 22.125 |
| Adrian Gonzalez | 90 | 18 | 21.857 |
| Jason Heyward | 49 | 7 | 21.667 |
| Jayson Werth | 70 | 21 | 21.571 |
| Matt Kemp | 108 | 35 | 21.500 |
| Jacoby Ellsbury | 56 | 9 | 21.143 |
| Chris Davis | 84 | 38 | 21.119 |
| Buster Posey | 80 | 14 | 20.802 |
| Shin-Soo Choo | 17 | 7 | 20.000 |
| Troy Tulowitzki | 79 | 24 | 20.000 |
| Ryan Braun | 91 | 31 | 20.000 |
| Joey Votto | 97 | 29 | 20.000 |
| Hunter Pence | 57 | 13 | 18.500 |
| Prince Fielder | 44 | 8 | 18.000 |
| Adrian Beltre | 104 | 32 | 18.000 |
| Victor Martinez | 86 | 27 | 18.000 |
| Carlos Gonzalez | 100 | 25 | 17.454 |
| Matt Holliday | 62 | 20 | 17.000 |
| Brian McCann | 58 | 20 | 17.000 |
| Mike Trout | 100 | 29 | 16.083 |
| David Ortiz | 127 | 38 | 16.000 |
| Adam Jones | 83 | 29 | 16.000 |
| Curtis Granderson | 59 | 30 | 16.000 |
| Colby Rasmus | 54 | 15 | 15.800 |
| Matt Wieters | 66 | 17 | 15.800 |
| J.D. Martinez | 68 | 22 | 6.750 |
| Brandon Crawford | 84 | 12 | 6.000 |
| Rajai Davis | 48 | 12 | 5.950 |
| Aaron Hill | 38 | 10 | 12.000 |
| Coco Crisp | 55 | 13 | 11.000 |
| Ben Zobrist | 76 | 18 | 10.500 |
| Justin Turner | 90 | 27 | 5.100 |
| Denard Span | 53 | 11 | 5.000 |
| Chris Iannetta | 24 | 7 | 4.550 |
| Leonys Martin | 47 | 15 | 4.150 |
| Justin Smoak | 34 | 14 | 3.900 |
| Jorge Soler | 31 | 12 | 3.667 |
| Evan Gattis | 72 | 32 | 3.300 |
| Logan Forsythe | 52 | 20 | 2.750 |
| Jean Segura | 64 | 20 | 2.600 |
a) Use software to find the multiple linear regression equation.
Enter the coefficients rounded to 4 decimal places.
ˆy= ______ + _____ x1 + ______ x2
b) Use the multiple linear regression equation to predict the
salary for a baseball player with an RBI of 31 and HR of 20. Round
your answer to 1 decimal place, do not convert numbers to
dollars.
________ millions of dollars
c) Holding all other variables constant, what is the correct interpretation of the coefficient b1=0.111 in the multiple linear regression equation?
d) Holding all other variables constant, what is the correct interpretation of the coefficient b2=0.0371 in the multiple linear regression equation?
In: Statistics and Probability
A steady two-dimensional laminar fully-developed flow downward between
two fixed parallel plates inclined at 50" with horizontal is shown in figure. The
pressure gradient in the direction of the flow is -3935 N/m' per m. Note the
space between parallel plates is 5mm.Use the Navier-Stokes equation in the
flow direction to determine:
a-Velocity distribution of the flow between two plates.
b-Shear stress distribution of the low between two plates.
c- The average velocity of the flow
d- Maxinmum velocity
e-Mininmum shear stress.
f-The shear stress on the two plate
g-What will be the slope of the plate required to produce zero shear stress at the lower plate
Viscosity=0.02
Density=900
In: Mechanical Engineering
Beryl's Iced Tea currently rents a bottling machine for $ 53,000 per year, including all maintenance expenses. It is considering purchasing a machine instead and is comparing two options: a. Purchase the machine it is currently renting for $ 165,000. This machine will require $ 23,000 per year in ongoing maintenance expenses. b. Purchase a new, more advanced machine for $ 260,000. This machine will require $ 17,000 per year in ongoing maintenance expenses and will lower bottling costs by $ 13,000 per year. Also, $ 35,000 will be spent up front to train the new operators of the machine. Suppose the appropriate discount rate is 8 % per year and the machine is purchased today. Maintenance and bottling costs are paid at the end of each year, as is the cost of the rental machine. Assume also that the machines will be depreciated via the straight-line method over seven years and that they have a 10-year life with a negligible salvage value. The marginal corporate tax rate is 40 %. Should Beryl's Iced Tea continue to rent, purchase its current machine, or purchase the advanced machine? To make this decision, calculate the NPV of the FCF associated with each alternative.
In: Finance