Questions
1. The correlations between +/-, PTS, AST, TOV. What does this tell you about how each...

1. The correlations between +/-, PTS, AST, TOV. What does this tell you about how each of the variables are related? Explain.

Variable

+/-

Points

AST

TOV

+/-

1

Pts

0.446

1

AST

0.354

0.608

1

TOV

-0.081

-0.183

-0.077

1

2. Home/Away data is made up of only two numerical results which 1s and 0s. Would it be appropriate to also include Home/Away in correlation? Explain

In: Statistics and Probability

The following table provides data related to the production technology of a firm that use only...

  1. The following table provides data related to the production technology of a firm that use only two inputs – labor and capital – to produce output. Both inputs are variable.

Production with Two Variable Inputs

Labor Input

Capital Input

1

2

3

4

5

1

40

80

110

130

150

2

80

120

150

170

180

3

110

150

180

200

210

4

130

170

200

220

230

5

150

180

210

230

240

  1. Keeping capital on the y-axis and labor on the x-axis, draw an isoquant map for the firm’s production technology (At least 3 isoquant maps)
  2. Does this production technology exhibit diminishing marginal returns to labor? Justify your answer.
  3. Does this production technology exhibit diminishing marginal returns to capital? Justify your answer.
  4. Does this production technology exhibit diminishing MRTS? Justify your answer.

In: Economics

Please Provide the solution in java, already have a question which is answer in C++. Language:...

Please Provide the solution in java, already have a question which is answer in C++.

Language: java.

Please don't provide your email for private answer.

Q1. Implement a program which allows the user to find the shortest path between two nodes in a graph possibly passing through a third node. I.e. the user should be able to ask questions like: Which is the shortest path from A to B passing through C? The program should output an ordered list of the nodes to traverse from A to B if such a path exists. If no such path exists then the program should output that no such path exists.

Use sample text provided below as input when not executing tests (in the case that the tests should be executed you may use another input). This is the undirected road network of New York City. It is connected, contains parallel edges, but no self-loops. The edge weights are travel times and are strictly positive. You should also calculate/show the time complexity of your algorithm.

Sample Text file:

264346
733846
1 2 2008
2 1 2008
3 4 395
4 3 395
5 6 1935
6 5 1935
7 8 3828
8 7 3828
9 10 4182
10 9 4182
9 11 3500
11 9 3500
1 12 2105
12 1 2105
2 13 1478
13 2 1478
14 15 3427
15 14 3427
16 17 4148
17 16 4148
18 19 2529
19 18 2529
20 21 3065
21 20 3065
20 22 3163
22 20 3163
23 24 6768
24 23 6768
25 26 1300
26 25 1300
27 28 1957
28 27 1957
29 30 1295
30 29 1295
31 32 8530
32 31 8530
33 34 4986
34 33 4986
33 35 843
35 33 843
36 37 908
37 36 908
38 39 2545
39 38 2545
40 41 980
41 40 980
29 42 2686
42 29 2686
43 44 1425
44 43 1425
44 45 4410
45 44 4410
46 47 2759
47 46 2759
2 48 1541
48 2 1541
49 50 3787
50 49 3787
49 51 2964
51 49 2964
52 53 5170
53 52 5170
54 55 1300
55 54 1300
56 57 1834
57 56 1834
58 59 1762
59 58 1762
60 61 1253
61 60 1253
62 63 6045
63 62 6045
64 65 2578
65 64 2578
66 58 1527
58 66 1527
67 68 8081
68 67 8081
68 60 793
60 68 793
60 69 4270
69 60 4270
70 71 883
71 70 883
69 70 1136
70 69 1136
72 73 12904
73 72 12904
74 75 1995
75 74 1995
74 76 3516
76 74 3516
77 78 1220
78 77 1220
77 79 2327
79 77 2327
78 80 11763
80 78 11763
78 81 3209
81 78 3209
82 83 922
83 82 922
82 84 4359
84 82 4359
85 86 19802

In: Computer Science

Gas Laws Units in Gas Law Problems One problem associated with gas law problems is unit...

Gas Laws

Units in Gas Law Problems

One problem associated with gas law problems is unit agreement. It is important that pressure, volume and temperature units match or agree within a problem. Solve 1-4 using the factor-label method. Problems 5 and 6 are done without factor-label.

1. Convert 1.52 atm to kPa 2. Convert 85 kPa to mmHg

3. Convert 156.3 mmHg to atm 4. Convert 950 torr to kPa

5. Convert -250.0 °C to K 6. Convert 253 K to °C

Boyle’s Law

7. Equation for Boyle’s Law:

8. A gas occupies 12.3 L at 825.7 mmHg. What will the pressure be when the volume is 75 L?

9. A gas occupies 25 L at 2.5 atm. What is the volume if the pressure changes to 1.5 atm?

10. You have 50 L of CO2 gas at standard temperature and pressure (STP). What would need to be done to the pressure to cut the volume of gas in half?

Charles’ Law

11. Equation for Charles’ Law:

12. How do these two factors relate to each other?

13. What does temperature actually measure?

14. At 27.8 °C, a gas occupies 1500 m. What volume will it have at 100.0 °C?

15. What temperature (in K) must a gas be if it occupied 1.396 L at 72.3 °C and now occupies 1.044 L?

Gay-Lussac’s Law

16. Equation for Charles’ Law:

17. A gas cylinder contains nitrogen gas at 10-atm pressure and a temperature of 20˚C. The cylinder is left in the sun, and the temperature of the gas increases to 50˚C. What is the pressure in the cylinder?

18. A bike tire has a volume of 0.850L at a pressure of 40 psi and 0˚C. What will be the pressure of the tire at 35˚C?

19. An aerosol can has a fixed volume of gas at 4.0-atm of pressure and room temperature (25˚C). If the pressure inside the can reaches 5.9-atm the can will explode. The can is thrown into a fire that is 400˚C. Will the can explode? Show all calculations to support your answer.

In: Chemistry

There is a new type of drug to alleviate migraines but some have wondered if it...

  1. There is a new type of drug to alleviate migraines but some have wondered if it has some impact on users’ blood pressure. Ten people interested in taking the drug were randomly selected and their blood pressure was measured, and then measured again after using the drug five weeks later. Here are the data. Was there a significant change in blood pressure? Use a two-tailed test with α = .05 (t-Table is on p. 439).

Patient

Before

After

1

120

135

2

117

118

3

119

131

4

130

128

5

121

121

6

105

115

7

128

124

8

114

111

9

109

117

10

120

120

In: Statistics and Probability

1.A group of psychologists is interested in determining if private practice doctors and hospital doctors have...

1.A group of psychologists is interested in determining if private practice doctors and hospital doctors have the same distribution of working hours. They survey 150 private practice doctors and 150 hospital doctors (selected at random) and asked about the number of hours per week they worked Determine whether there is a difference in hours worked per week for private practice and hospital doctors.

20-30

30-40

40-50

50-60

Private Practice

62

44

38

6

Hospital

22

44

59

25

  1. What kind of statistical test will you be performing?

  1. Will you need to test for equal variance? If so, what are your results and how does that influence the next steps in your analysis?

  1. What are your null and alternative hypotheses?

H0:

HA:

  1. Discuss the results of your analysis. Will you accept or reject your null hypothesis? Why? What can you specifically say about the data?

In: Math

Use Python to Complete the following on a single text file and submit your code and...

Use Python to Complete the following on a single text file and submit your code and your output as separate documents. For each problem create the necessary list objects and write code to perform the following examples:

Sum all the items in a list.

Multiply all the items in a list.

Get the largest number from a list.

Get the smallest number from a list.

Remove duplicates from a list.

Check a list is empty or not.

Clone or copy a list.

Find the list of words that are longer than n from a given list of words.

Take two lists and returns True if they have at least one common member.

Print a specified list after removing the 0th, 4th and 5th elements.
Sample List: ['Red', 'Green', 'White', 'Black', 'Pink', 'Yellow']
Expected Output: ['Green', 'White', 'Black']

Print the numbers of a specified list after removing even numbers from it.

Shuffle and print a specified list.

Get the difference between the two lists.

Convert a list of characters into a string.

Find the index of an item in a specified list.

Append a list to the second list.

Select an item randomly from a list.

Find the second smallest number in a list.

Find the second largest number in a list.

Get unique values from a list.

Get the frequency of the elements in a list.

Count the number of elements in a list within a specified range.

Check whether a list contains a sub list.

Create a list by concatenating a given list which range goes from 1 to n.
Sample list : ['p', 'q'], n = 5
Sample Output : ['p1', 'q1', 'p2', 'q2', 'p3', 'q3', 'p4', 'q4', 'p5', 'q5']

Find common items from two lists.

Change the position of every n-th value with the (n+1)th in a list.
Sample list: [0, 1, 2, 3, 4, 5]
Expected Output: [1, 0, 3, 2, 5, 4]

Convert a list of multiple integers into a single integer.
Sample list: [11, 33, 50]
Expected Output: 113350

Split a list based on the first character of a word.

Select the odd items of a list.

Insert an element before each element of a list.

Print all elements of a nested lists (each list on a new line) using the print() function.

Split a list every Nth element.
Sample list: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n']
Expected Output: [['a', 'd', 'g', 'j', 'm'], ['b', 'e', 'h', 'k', 'n'], ['c', 'f', 'i', 'l']]

Create a list with infinite elements.

Concatenate elements of a list.

Convert a string to a list.

Replace the last element in a list with another list.
Sample data : [1, 3, 5, 7, 9, 10], [2, 4, 6, 8]
Expected Output: [1, 3, 5, 7, 9, 2, 4, 6, 8]

Check if the n-th element exists in a given list.

Find a tuple with the smallest second index value from a list of tuples.

Insert a given string at the beginning of all items in a list.
Sample list: [1,2,3,4], string: emp
Expected output: ['emp1', 'emp2', 'emp3', 'emp4']

Find the list in a list of lists whose sum of elements is the highest.
Sample lists: [1,2,3], [4,5,6], [10,11,12], [7,8,9]
Expected Output: [10, 11, 12]

Find all the values in a list are greater than a specified number.

Extend a list without append.
Sample data: [10, 20, 30]
[40, 50, 60]
Expected output: [40, 50, 60, 10, 20, 30]

Remove duplicates from a list of lists.
Sample list : [[10, 20], [40], [30, 56, 25], [10, 20], [33], [40]]
New List : [[10, 20], [30, 56, 25], [33], [40]]

In: Computer Science

An amusement park studied methods for decreasing the waiting time (minutes) for rides by loading and...

An amusement park studied methods for decreasing the waiting time (minutes) for rides by loading and unloading riders more efficiently. Two alternative loading/unloading methods have been proposed. To account for potential differences due to the type of ride and the possible interaction between the method of loading and unloading and the type of ride, a factorial experiment was designed. Use the following data to test for any significant effect due to the loading and unloading method, the type of ride, and interaction. Use a=.05 . Factor A is method of loading and unloading; Factor B is the type of ride.

Type of Ride
Roller Coaster Screaming Demon Long Flume
Method 1 40 56 48
42 48 44
Method 2 48 51 50
50 47 46

Set up the ANOVA table (to whole number, but p-value to 2 decimals and F value to 1 decimal, if necessary).

Source of Variation Sum of Squares Degrees of Freedom Mean Square F p-value
Factor A
Factor B
Interaction
Error
Total

In: Statistics and Probability

Stock Inc. has two sites in Pittsburgh that are four miles apart. Each site consists of...

Stock Inc. has two sites in Pittsburgh that are four miles apart. Each site consists of a large factory with office space for 25 users at the front of the factory and up to 50 workstations in two work cells on each factory floor. All office users need access to an inventory database that runs on a server at the Allegheny Street location; they also need access to a billing application with data residing on a server at the Monongahela site. All factory floor users also need access to the inventory database at the Allegheny Street location. Office space is permanently configured, but the manufacturing space must be reconfigured before each new manufacturing run begins. Wiring closets are available in the office space. Nothing but a concrete floor and overhead girders stay the same in the work cell areas. The computers must share sensitive data and control access to files. Aside from the two databases, which run on the two servers, office computers must run standard word-processing and spreadsheet programs. Work cell machines are used strictly for updating inventory and quality control information for the Allegheny Street inventory database. Workstations in the manufacturing cells are switched on only when they’re in use, which might occur during different phases of a manufacturing run. Seldom is a machine in use constantly on the factory floor. Use the following write-on lines to evaluate the requirements for this network. After you finish, determine the best network topology or topology combination for the company. On a blank piece of paper, sketch the network design you think best suits ENorm, Inc.’s needs.

● Will the network be peer to peer or server-based?

● How many computers will be attached to the network?

● What topology works best for the offices, given the availability of wiring closets? What topology works best for the factory floor, given its need for constant reconfiguration?

In: Computer Science

●In this task, the quick sort algorithm selects the first element in the list as the...

●In this task, the quick sort algorithm selects the first element in the list as the pivot. Revise it by selecting the median among the first, middle, and last elements in the list.

● Write the algorithm for searching for entries using linear probing.

● Write the algorithm for removing entries using linear probing.

● Create a diagram similar to the one above that shows the hash table of size 11 after entries with the keys 34, 29, 53, 44, 120, 39, 45, and 40 are inserted, using separate chaining.

I am very confused, this task involves algorithms , hashing and sorting.

THANK YOU IN ADVANCE

In: Computer Science