In the casino game roulette, the probability of winning with a bet on red is p = 17/38. Let Y equal the number of winning bets out of 1000 independent bets that are placed. Find P(Y > 500), approximately.
Show all your work.
In: Statistics and Probability
Assume that the number of new visitors to a website in one hour is distributed as a Poisson variable with λ = 4.0. What is the probability in any given hour that two or more new visitors will arrive at the website?
Round to four decimals and use leading zeros if necessary.
In: Math
Consider an ONLINE_AUCTION database system in which members
(buyers and sellers) participate in the sale of items. Design an
ER/EER diagram for this ONLINE_AUCTION database. The data
requirements for this system are summarized as follows:
• The online site has members, each of whom is identified by a
unique member number and is described by an e-mail address, name,
password, home address, and phone number.
• A member may be a buyer or a seller. A buyer has a shipping
address recorded in the database. A seller has a bank account
number and routing number recorded in the database.
• Items are placed by a seller for sale and are identified by a
unique item number assigned by the system. Items are also described
by an item title, a description, starting bid price, bidding
increment, the start date of the auction, and the end date of the
auction.
• Items are also categorized based on a fixed classification
hierarchy (for example, a modem may be classified as COMPUTER →
HARDWARE → MODEM).
• Buyers make bids for items they are interested in. Bid price and
time of bid is recorded. The bidder at the end of the auction with
the highest bid price is declared the winner and a transaction
between buyer and seller may then proceed.
• The buyer and seller may record feedback regarding their
completed transactions. Feedback contains a rating of the other
party participating in the transaction (1–10) and a comment.
In: Computer Science
Hello! I need to add a method that will display the total number of times the user answered the question correctly, how many time he was right or wrong and the percentage of time they were correct in answering.
import java.util.Random;
import java.util.Scanner;
public class Test {
private static int getUserInput() {
int n;
Scanner scanner = new Scanner(System.in);
n = scanner.nextInt();
return n;
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String choice = "Yes";
Random random = new Random();
int[] userdata = new int[100];
int count = 0;
while (!choice.equals("No")) {
int randomInt = 2 * (random.nextInt(5) + 1);
System.out.println("write the number in half " + randomInt + "?");
userdata[count++] = randomInt;
int userInput = getUserInput();
if (userInput == (randomInt / 2)) {
System.out.println("That is correct!");
}
else {
System.out.println("That is incorrect!");
}
System.out.print("Generate another random number?");
choice = scanner.next();
}
int min = userdata[0], max = userdata[0];
for (int i = 0; i < count; i++) {
if (userdata[i] > max) max = userdata[i];
if (userdata[i] < min) min = userdata[i];
}
System.out.println("The highest random number you were given: " + max);
System.out.println("The lowest random number you were given: " + min);
}
}In: Computer Science
You are rolling a pair of balanced dice in a board game. Rolls are independent. You land in a danger zone that requires you to roll doubles (both faces show the same number of spots) before you are allowed to play again.
1. What is the probability of rolling doubles on a single toss of the dice?
A) 25/36
B) 5/36
C) 1/6
D) 1/36
2. What is the probability that you do not roll doubles on the first toss, but you do on the second toss?
A) 2/36
B) 1/36
C) 5/36
D) 6/36
3. What is the probability that the first two tosses are not doubles and the third toss is doubles? This is the probability that the first doubles occurs on the third toss.
A) 5/216
B) 25/216
C) 10/216
D) 20/216
4. Now you see the pattern. What is the probability that the first doubles occurs on the fourth toss? On the fifth toss?
Give the general result, that is, what is the probability that the first doubles occurs on the ?th toss?
A) (5/6)?−1(1/6)
B) (?−1)(5/6)?−1(1/6)
C) (5/6)(1/6)?−1
D) (?−1)(5/6)(1/6)
5. What is the probability that you get to go again within three turns? (Enter your answer rounded to four decimal places.)
probability:
In: Statistics and Probability
The quality control manager of Green Bulbs Inc. is inspecting a batch of energy saving compact fluorescent light bulbs. When the production process is in control, the mean number of bad bulbs per shift is 6.0. The probability that any particular shift being inspected has less than 5.0 or more than 8.0 bad bulbs is _______________.
Given that X is a normally distributed variable with a mean of 50 and a standard deviation of 2, the probability that X is between 47 and 54 is _____.
A company that sells annuities must base the annual payout on the probability distribution of the length of life of the participants in the plan. Suppose the probability distribution of the lifetimes of the participants is approximately a normal distribution with a mean of 68 years and a standard deviation of 3.5 years. The age at which payments have ceased for approximately 86% of the plan participants is ______________.
True or False: The probability that a standard normal variable, Z, is between 1.00 and 3.00 is 0.1574.
The amount of tea leaves in a can from a particular production line is normally distributed with μ = 110 grams and σ = 25 grams. The probability that a randomly selected can will contain between 100 and 120 grams of tea leaves is ______________.
You were told that the mean score on a statistics exann is 75 with the scores normally distributed. In addition, you know the probability of a score between 55 and 60 is 4.41% and that the probability of a score greater than 90 is 6.68%. The middle 86.64% of the students will score between which two scores: _______________.
In: Statistics and Probability
The table below lists a random sample of 53 speeding tickets on
I-25 in Colorado.
| 0-10 mph over limit | 10-20 mph over limit | More than 20 mph over limit | Total | |
| Male | 8 | 15 | 13 | 36 |
| Female | 5 | 9 | 3 | 17 |
| Total | 13 | 24 | 16 | 53 |
(Note: PLease enter your answer as a decimal number , NO
FRACTIONS)
a) If a random ticket was selected, what would be the probability
that the driver was female?
b) Given that a particular ticket had a male offender, what is the
probability that they were more than 20 mph over the limit?
c) Given that a particular ticket was 10-20 mph over the limit,
what is the probability that the driver was female?
d) If a random ticket was selected, what would be the probability
that the driver was a male?
e) If a random ticket was selected, what would be the probability
that the driver is a female and driving 10-20 mph over the
limit?
f) If a random ticket was selected, what would be the probability
that the driver is a female or driving 0-10 mph over the limit?
B. The Wilson family was one of the first to come to the U.S.
They had 8 children. Assuming that the probability of a child being
a girl is .5, find the probability that the Wilson family
had:
at least 7 girls?
at most 2 girls?
In: Math
A Gallup Poll showed that 44% of Americans are satisfied with the way things are going in the United States. Suppose a sample of 25 Americans are selected. Based on this information, generate a cumulative binomial probability.
| Binomial | |
| n | 25 |
| p | 0.44 |
| xi | P(X<=xi) |
| 0 | 0.0000 |
| 1 | 0.0000 |
| 2 | 0.0001 |
| 3 | 0.0007 |
| 4 | 0.0031 |
| 5 | 0.0112 |
| 6 | 0.0323 |
| 7 | 0.0773 |
| 8 | 0.1569 |
| 9 | 0.2750 |
| 10 | 0.4235 |
| 11 | 0.5826 |
| 12 | 0.7285 |
| 13 | 0.8431 |
| 14 | 0.9203 |
| 15 | 0.9647 |
| 16 | 0.9866 |
| 17 | 0.9956 |
| 18 | 0.9988 |
| 19 | 0.9997 |
| 20 | 1.0000 |
| 21 | 1.0000 |
| 22 | 1.0000 |
| 23 | 1.0000 |
| 24 | 1.0000 |
| 25 | 1.0000 |
Find the probability that no less than 10 Americans are satisfied with the way things are going.
Find the probability that exactly 15 Americans are not satified with the way things are going.
Find the probability that the number of Americans who are satified with the way things are going differs by greater than 2 from the mean.
Find the probability that greater than 4 Americans are satified with the way things are going.
Find the probability that at least 17 Americans are not satified with the way things are going.
Find the probability that no more than 5 Americans are satified with the way things are going.
Find the probability that more than 25% but at most 50% of these Americans are satified with the way things are going.
In: Math
Fresh feed containing 55 wt% A and 45 wt% B flowing at 100kg/h enters a separation system that removes a portion of pure component A only, as a bottom product. The top product stream (tops) of the separator unit contains 10 wt% of componenet A and the balance is B. A small part of the tops stream is recycled and mixed with the fresh feed stream- the remainder of the tops stream is purged. The separtor is designed to removed exactly two-thirds of component A that is fed into it. Determine the recycle ration (that is the ratio of the flow of the recycle stream to the flow of the fresh feed stream).
In: Chemistry
In: Economics