Consider the following chemical reaction: 2 CH4(g) 3 O2(g) 2 CO(g) 4 H2O(l) Select all the statements that are correct:
The reaction should become more product favored at high temperatures
The reaction should become more product favored at low temperatures
The reactants can adopt a larger number of configurations than the products
The potential energy of the reactants is higher than the potential energy of the products
The potential energy of the reactants is lower than the potential energy of the products
The reactants can adopt a fewer number of configurations than the products
In: Chemistry
1. Find the mean and standard deviation for option 1 and option 2
Option 1:
Year Return
1 15 %
2 -12 %
3 8 %
4 11 %
Option 2:
Prob. Return
0.05 16 %
0.40 8 %
0.25 -6 %
0.30 7 %
In: Finance
Assuming that the population is normally distributed, construct a 95% confidence interval for the population mean for each of the samples below. Explain why these two samples produce different confidence intervals even though they have the same mean and range.
Sample A 1 1 2 4 5 7 8 8
Sample B 1 2 3 4 5 6 7 8
In: Statistics and Probability
A theme park owner records the number of times the same kids from two separate age groups ride the newest attraction.
| Age 13–16 | Time | Age 17–21 | Time |
|---|---|---|---|
| 1 | 11 | 1 | 5 |
| 2 | 8 | 2 | 3 |
| 3 | 3 | 3 | 7 |
| 4 | 1 | 4 | 4 |
| 5 | 9 | 5 | 9 |
| 6 | 2 | 6 | 1 |
| 7 | 7 | 7 | 3 |
| 8 | 8 | 8 | 5 |
| 9 | 6 | 9 | 5 |
| 10 | 6 | 10 | 1 |
Using the computational formula, what is the SS, sample variance, and standard deviation for the age group of 13–16? (Round your answers for variance and standard deviation to two decimal places.)
SS sample variance standard deviation
In: Math
Python Programming, Could you also show the right indents in Python Shell. Below are the skeleton of the program, and the input and output.
# Initialize list
mylist = [ ]
# Set up loop to put menu on screen
num = 1
while num != 0:
print(" ")
print(" ")
print(" Menu ")
print ("0 - Quit")
print ("1 - Add item to list")
print ("2 - Pop item off list and print it")
print ("3 - Print list")
print ("4 - Sort list")
print ("5 - Reverse list")
snum = input("Enter choice from menu ")
num = int(snum)
print (" ")
Put your if or if-else or if-elif statements here
(They will be inside the while
loop)
You should start this lab by entering the above program and saving it as Week5LabA in your Python Programs folder. Then run it to see how it displays the menu. Note that you can enter 0, 1, 2, 3, 4, or 5 in response to the menu choices. Your entry will be assigned to the variable num. Entering a 0 will end the program.
Your other entries (1, 2, 3, 4, or 5 ) should cause something to be done with the list that is called mylist. You will note that mylist has been initialized to the empty list with the mylist = [ ] statement.) For example, if you enter a 1 (value of num is 1), the program should ask you to enter a value to be placed on the list and then append it onto the list. As another example, if you enter a 3 (value of num is 3), the program should print the list using the statement, print(mylist).
The video below shows what the original program (the one I gave you above) should do and how you can enter the if statement for a value of 1 for num.
View video to get started=> https://youtu.be/PxTwMpBFFas
The following is a sample execution of the program. The following integers were placed on the list: (Values entered by the user are in red.)
Menu
0 - Quit
1 - Add item to list
2 - Pop item off list and print it
3 - Print list
4 - Sort list
5 - Reverse list
Enter choice from menu 1
Enter value to put on list 3
Menu
0 - Quit
1 - Add item to list
2 - Pop item off list and print it
3 - Print list
4 - Sort list
5 - Reverse list
Enter choice from menu 1
Enter value to put on list 7
Menu
0 - Quit
1 - Add item to list
2 - Pop item off list and print it
3 - Print list
4 - Sort list
5 - Reverse list
Enter choice from menu 1
Enter value to put on list 9
The following operations were performed on the list:
Menu
0 - Quit
1 - Add item to list
2 - Pop item off list and print it
3 - Print list
4 - Sort list
5 - Reverse list
Enter choice from menu 3
[3, 7, 9]
Menu
0 - Quit
1 - Add item to list
2 - Pop item off list and print it
3 - Print list
4 - Sort list
5 - Reverse list
Enter choice from menu 4
Menu
0 - Quit
1 - Add item to list
2 - Pop item off list and print it
3 - Print list
4 - Sort list
5 - Reverse list
Enter choice from menu 5
Menu
0 - Quit
1 - Add item to list
2 - Pop item off list and print it
3 - Print list
4 - Sort list
5 - Reverse list
Enter choice from menu 3
[9, 7, 3]
Menu
0 - Quit
1 - Add item to list
2 - Pop item off list and print it
3 - Print list
4 - Sort list
5 - Reverse list
Enter choice from menu 2
Value popped = 3
Menu
0 - Quit
1 - Add item to list
2 - Pop item off list and print it
3 - Print list
4 - Sort list
5 - Reverse list
Enter choice from menu 3
[9, 7]
In: Computer Science
1. During cellular respiration, where is NADH produced?
a) nucleus
b) cytosol and mitochondrial matrix
c) cytosol
d) mitochondrial intermembrane space
e) endoplasmic reticulum
2. The condensation of what two compounds in the citric acid cycle results in citrate?
a) Pyruvate and Oxaloacetate
b) Oxaloacetate and Acetyl (from Acetyl-CoA)
c) Oxaloacetate and a phosphate
d) Acetyl (from Acetyl-CoA) and CO2
e) None of the above
3. At the end of glycolysis which products are produced?
a) 1 PYRUVATE, 4 ATP, 2 NAD+
b) 2 PYRUVATE, 4 ATP, 2 NAD+
c) 2 PYRUVATE, 2 ATP, 2NADH
d) 2 PYRUVATE, 4 ATP, 2 NADH
e) NONE OF THE ABOVE
In: Chemistry
1. The weights in ounces of a sample of rats in a lab are given below.
4, 4, 2, 5, 5, 3, 4, 7, 9, 5
a. Construct a frequency distribution using five classes.
b. Construct a histogram for the above distribution.
c. Find the Mean
d. Find the Median & Mode
e. Find the sample variance and standard deviation (5 points)
2. The probability that a part will malfunction is 0, 1, 2, 3, or 4 or more times in a decade is 0.4, 0.2, 0.2, 0.1 and 0.1 respectively.
a. Construct a probability distribution.
b. Find the mean.
c. Find the variance and standard deviation.
d. Graph ()
In: Statistics and Probability
|
For each set of independent facts listed, determine the
appropriate measure of a unit of inventory under U.S. GAAP and
IFRS. Assume the LIFO method is used.
1. 2. 3. 4. 5. |
In: Accounting
We roll the dice 20 times. The results we obtained are presented in the table.
| obtained number | 1 | 2 | 3 | 4 | 5 | 6 |
| number of throws | 1 | 1 | 7 | 4 | 4 | 3 |
a) The value of the relevant test statistics is:
b) Assuming the significance level of 0.05, it can be considered that the dice used to roll IS / IS NOT FAIR
In: Statistics and Probability
Lottery’s Powerball game, each ticket costs $2 and consists of two parts:--> Five distinct integers (i.e., no duplicates) between 1-69, inclusive • One integer (the “Powerball number”) between 1-26, inclusive. The Powerball number may or may not coincide with one of the previously chosen numbers. A ticket wins the jackpot if all five distinct numbers plus the Powerball number match the randomly drawn numbers. The matching of the five distinct numbers is done without regard to order. For example, a ticket with 54, 49, 3, 18, and 20 matches drawn numbers of 3, 54, 18, 20, and 49. In math, the set of five distinct numbers chosen by the player is known as a combination. The number of possible combinations of k items chosen from a set of n items is usually written as (pronounced “n choose k”) and is computable using this formula: This concept should be familiar; it was discussed in an earlier lab. As mentioned then, calculating the factorials directly is not an efficient way to find n choose k. This is because the terms in (n−k)! cancel some of the terms in n!, so there’s no need to compute those cancelled terms at all. A more efficient way to compute n choose k is this:
The number of possible Powerball tickets can be computed by letting n = 69, k = 5, and multiplying the result of n choose k by 26 (the quantity of possible Powerball numbers):Number of possible tickets = 26
plus one of m bonus numbers, we can compute the number of possible tickets like this. Number of possible tickets =
The game settings (i.e., the values of k, n, and m above) can be chosen by the play.All of your code should be within a single class named Lottery.java.numPossibleTickets(int k, int n, int m-->This method should return the number of possible tickets in a lottery game that involves choosing k distinct integers from 1 to n (inclusive), plus one bonus integer from 1 to m (inclusive). Use equation (3) to compute this, and use the efficient technique of equation (2) when computing the value of n choose k. Because the number of tickets can be quite large, return it as a long value.getPlayerNumbers(int k, int n-->This method should get user input for k distinct integers between 1 and n (inclusive). The results should be returned in a 1D array of length k. Include input validation with loops to ensure that each input cannot be outside the range 1 to n, and also does not duplicate any previously entered value.getDrawnNumbers(int k, int n-->This method should simulate randomly drawing k distinct integers between 1 and n (inclusive). The results should be returned in a 1D array of length k. countMatches(int[] a, int[] b-->This method should return the number of elements in array a that also appear in array b. You may assume that both parameter arrays contain distinct elements. Here are some example arguments for this method and their expected return values:
|
a |
b |
Return Value |
|
{1, 2, 3} |
{3, 1} |
2 |
|
{1, 2, 3} |
{5, 7, -1} |
0 |
1 2 3 4 || Bonus: 2
The moment of truth has arrived! Here are the drawn numbers:
4 2 1 3 || Bonus: 2
Your best ticket(s):
1 2 3 4 || Bonus: 2
You matched 4/4 drawn numbers.You did match the bonus number.WOOHOO, JACKPOT!!
Example program run (underlined parts indicate what the user enters)First, let’s set up the game!How many distinct numbers should the player pick? 5OK. Each of those 5 numbers should range from 1 to what? 69OK. And finally, the bonus number should range from 1 to what? -1Error - range must be at least 1 to 1 to have a valid game. Please try again: 26There are 292201338 possible tickets in this game. Each ticket has a3.4222978130237034E-7% chance of winning the jackpot. Let’s play, good luck!How many tickets would you like to buy? -22Error - must buy at least 1 ticket! Please try again: 3* Ticket #1 of 3 *Pick your 5 distinct numbers!Enter number 1 (must be 1-69, cannot repeat): 77Error - number must be between 1 and 69. Please try again.Enter number 1 (must be 1-69, cannot repeat): 1Enter number 2 (must be 1-69, cannot repeat): 2Enter number 3 (must be 1-69, cannot repeat): 3Enter number 4 (must be 1-69, cannot repeat): 4Enter number 5 (must be 1-69, cannot repeat): 5Now pick your bonus number (must be 1-26): 22Your tickets so far: --------------------
1 2 3 4 5 || Bonus: 22
* Ticket #2 of 3 *Pick your 5 distinct numbers!Enter number 1 (must be 1-69, cannot repeat): 55Enter number 2 (must be 1-69, cannot repeat): 22Enter number 3 (must be 1-69, cannot repeat): 33Enter number 4 (must be 1-69, cannot repeat): 44Enter number 5 (must be 1-69, cannot repeat): 22Error - you’ve already entered 22. Please try again.Enter number 5 (must be 1-69, cannot repeat): 11Now pick your bonus number (must be 1-26): 19
Your tickets so far: --------------------
1 2 3 4 5 || Bonus: 22
55 22 33 44 11 || Bonus: 19
* Ticket #3 of 3 *Pick your 5 distinct numbers!Enter number 1 (must be 1-69, cannot repeat): 8Enter number 2 (must be 1-69, cannot repeat): 13 Enter number 3 (must be 1-69, cannot repeat): 2Enter number 4 (must be 1-69, cannot repeat): 17Enter number 5 (must be 1-69, cannot repeat): 29Now pick your bonus number (must be 1-26): 4
Your tickets so far: --------------------
1 2 3 4 5 || Bonus: 22
55 22 33 44 11 || Bonus: 19 8 13 2 17 29 || Bonus: 4
*****
The moment of truth has arrived! Here are the drawn numbers:
43 3 22 36 51 || Bonus: 4
Your best ticket(s):
1 2 3 4 5 || Bonus: 22
55 22 33 44 11 || Bonus: 19
You matched 1/5 drawn numbers. You did not match the bonus number.
Sorry, no jackpot this time. Really, did you expect anything else?
Try may be next time!!!!
In: Computer Science