IN C++
As in previous labs, RESIST THE URGE TO CODE! Determine what data will be necessary in order to complete this task. Then design the steps necessary to process that data. Do you need if statements? Do you need loops? Do you need if statements within your loops?
Write a program that prompts the user to enter the number of students and each student’s name and score, and finally displays the student with the highest score (display the student’s name and score). Also calculate the average score and indicate by how much the highest score differs from the average. Use a for loop.
Test Data:
Ben Simmons 70
Carson Wentz 80
Joel Embiid 90
Bryce Harper 75
In: Computer Science
13) Why do some baseball teams have many wins, but are not as profitable as some teams who do not have as good of a win-loss record?
In: Economics
Let X represent the number of times a student visits a bookstore in a one-month period. Assume that the probability distribution of X is as follows: Let X represent the number of times a student visits a bookstore in a one-month period. Assume that the probability distribution of X is as follows:
|
x |
0 |
1 |
2 |
3 |
|
p(x) |
0.15 |
0.20 |
0.45 |
? |
Find the mean µ and the standard deviation σ of this distribution.
(1 mark)
(1 mark)
In: Statistics and Probability
#11 According to an airline, flights on a certain route are on
time 75% of the time. Suppose 15 flights are randomly selected and
the number of on-time flights is recorded.
(a) Explain why this is a binomial experiment.
(b) Find and interpret the probability that exactly 9 flights are
on time.
(c) Find and interpret the probability that fewer than 9 flights
are on time.
(d) Find and interpret the probability that at least 9 flights are
on time.
(e) Find and interpret the probability that between 7 and 9
flights, inclusive, are on time.
Identify the statements that explain why this is a binomial experiment. Select all that apply.
A. There are two mutually exclusive outcomes, success or failure.
B. The experiment is performed until a desired number of successes is reached.
C. There are three mutually exclusive possibly outcomes, arriving on-time, arriving early, and arriving late.
D. Each trial depends on the previous trial.
E. The probability of success is the same for each trial of the experiment.
F. The experiment is performed a fixed number of times.
G. The trials are independent.
b) The probability that exactly 9 flights are on time is
In 100 trials of this experiment, it is expected about __ to result in exactly 9 flights being on time.
c) The probability that fewer than 9 flights are on time is ____
In 100 trials of this experiment, it is expected about ___ to result in at least 9 flights being on time.
e) The probability that between 7 and 9 flights, inclusive, are on time is ___
In 100 trials of this experiment, it is expected about ___ to result in between 7 and 9 flights, inclusive, being on time.(Round to the nearest whole number as needed.)
In: Statistics and Probability
1. Suppose approximately 80% of all marketing personnel are extroverts, whereas about 55% of all computer programmers are introverts. (For each answer, enter a number. Round your answers to three decimal places.)
(a) At a meeting of 15 marketing personnel, what is the
probability that 10 or more are extroverts?
What is the probability that 5 or more are extroverts?
What is the probability that all are extroverts?
(b) In a group of 4 computer programmers, what is the
probability that none are introverts?
What is the probability that 2 or more are introverts?
What is the probability that all are introverts?
2. Innocent until proven guilty? In Japanese criminal trials, about 95% of the defendants are found guilty. In the United States, about 60% of the defendants are found guilty in criminal trials. (Source: The Book of Risks, by Larry Laudan, John Wiley and Sons) Suppose you are a news reporter following ten criminal trials. (For each answer, enter a number.)
(a) If the trials were in Japan, what is the probability that
all the defendants would be found guilty? (Round your answer to
three decimal places.)
What is this probability if the trials were in the United States?
(Round your answer to three decimal places.)
(b) Of the ten trials, what is the expected number of guilty
verdicts in Japan? (Round your answer to two decimal places.)
verdicts
What is the expected number in the United Sates? (Round your answer
to two decimal places.)
verdicts
What is the standard deviation in Japan? (Round your answer to two
decimal places.)
verdicts
What is the standard deviation in the United States? (Round your
answer to two decimal places.)
verdicts
In: Statistics and Probability
An office furniture store is having a sale on a certain type of office chair. The chairs are priced at GH¢800 per chair. The probability distribution for the number of chairs sold to an individual customer is
|
Number of chairs |
1 |
2 |
3 |
4 |
|
Probability |
0.15 |
0.40 |
0.10 |
0.35 |
a) Find the probability that the number of chairs sold to an individual customer is odd.
b) Find the expected number and standard deviation of chairs sold to an individual customer.
c) Find the expected amount and standard deviation of the amount a customer pays for the chairs he or she buys.
d) The delivery charge for an order of chairs is GH¢100. Find the expected amount and standard deviation of the amount a customer pays for the chairs he or she buys, including the delivery charge.
In: Statistics and Probability
In: Advanced Math
In a group of
10
batteries,
5
are dead. You choose 2 batteries at random.
a) Create a probability model for the number of good batteries you get.
b) What's the expected number of good ones you get?
c) What's the standard deviation?
a) Create a probability model.
|
Number good |
0 |
1 |
2 |
|---|---|---|---|
|
P(Number good) |
nothing |
nothing |
nothing |
(Round to three decimal places as needed.)
b) The expected number of good batteries is
nothing.
(Round to two decimal places as needed.)
c) The standard deviation is
nothing.
In: Statistics and Probability
The average comic book has 55 pages and a standard deviation of 7 pages. Assume it has a normally distributed.
a) If a single comic book is selected, find the probability that the number of pages will be greater than 73.
b) If 25 comic books are selected, find the probability that the that the number of pages will be greater than 73.
In: Statistics and Probability
Steam, initially at 700 lbf/in.2, 550°F undergoes a
polytropic process in a piston–cylinder assembly to a final
pressure of 2200 lbf/in.2 Kinetic and potential energy
effects are negligible.
Determine the heat transfer, in Btu per lb of steam, for a
polytropic exponent of 1.4,
(a) using data from the steam tables.
(b) assuming ideal gas behavior.
In: Mechanical Engineering