1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
nexus9112 [7]
3 years ago
12

Write an expression that evaluates to true if the value of the integer variable numberOfPrizes is divisible (with no remainder)

by the integer variable numberOfParticipants. Assume that numberOfParticipants is not zero.
Mathematics
1 answer:
Tasya [4]3 years ago
4 0

Answer:

number Of Prizes % number Of Participants == 0

When we talk about division, a number 'A' is divisible by any other number 'B',

it means the remainder after division must be 0. And, we denote division for getting the remainder by '%' sign.

So, As per the question, we have to check whether numberOfPrizes is divisible by numberOfParticipants, the expression is

number Of Prizes % number Of Participants == 0

If number Of Prizes % number Of Participants == 0, condition satisfies, the answer will be True otherwise False

You might be interested in
Let X, the number of flaws on the surface of a randomly selected boiler of a certain type, have a Poisson distribution with para
kvasek [131]

Answer:

(a) 0.932

(b) 0.0653

(c) 0.032

(d) 0.316

(e) 0.251

Step-by-step explanation:

From the table with mean parameter μ = 5, we can compute the following cumulative and density probability

(a) P(X \leq 8) = 0.932 (cumulative)

(b) P(X = 8) = 0.0653 (density)

(c) P(9 \leq X) = 1 - P(X \leq 9) = 1 - 0.968 = 0.032 (cumulative)

(d) P(5 \leq X \leq 8) = P(X \leq 8) - P(X \leq 5) = 0.932 - 0.616 = 0.316 (cumulative)

(e) P(5 < X < 8) = P(X \leq 8) - P(X \leq 5) - P(X = 8) = 0.932 - 0.616 - 0.0653 = 0.251

5 0
3 years ago
A committee of 15 members is voting on a proposal. Each member casts a yea or nay vote. On a random voting basis, what is the pr
Igoryamba

Answer:

0.006% probability that the final vote count is unanimous.

Step-by-step explanation:

For each person, there are only two possible outcomes. Either they vote yes, or they vote no. The probability of a person voting yes or no is independent of any other person. So we use the binomial probability distribution to solve this question.

Binomial probability distribution

The binomial probability is the probability of exactly x successes on n repeated trials, and X can only have two outcomes.

P(X = x) = C_{n,x}.p^{x}.(1-p)^{n-x}

In which C_{n,x} is the number of different combinations of x objects from a set of n elements, given by the following formula.

C_{n,x} = \frac{n!}{x!(n-x)!}

And p is the probability of X happening.

Random voting:

So 50% of voting yes, 50% no, so p = 0.5

15 members:

This means that n = 15

What is the probability that the final vote count is unanimous?

Either all vote no(P(X = 0)) or all vote yes(P(X = 15)). So

p = P(X = 0) + P(X = 15)

In which

P(X = x) = C_{n,x}.p^{x}.(1-p)^{n-x}

P(X = 0) = C_{15,0}.(0.5)^{0}.(0.5)^{15} = 0.00003

P(X = 15) = C_{15,15}.(0.5)^{15}.(0.5)^{0} = 0.00003

So

p = P(X = 0) + P(X = 15) = 0.00003 + 0.00003 = 0.00006

0.006% probability that the final vote count is unanimous.

7 0
2 years ago
Find the measurements of ∠ and ∠.
kirza4 [7]

Answer:

<em>m∠ FAE = 20°, m∠ CAD = 60°</em>

Step-by-step explanation:

If you take a look at the picture below, this explanation proves that the measure of FAE ⇒ 20°, and m∠ CAD = 60°;

8 0
2 years ago
At a family reunion, a family friend bring 20 lb of ice and 30 cup. Which expression show the greatest common factor , using dis
Zepler [3.9K]

Answer:

10(2+3)

Step-by-step explanation:

We are given that

Ice=20 lb

Cup=30

We have to find the expression which shows the greatest common factor using distributive property of 20 and 30.

We know that distributive property of integers a,b and c

a\cdot(b+c)=a\cdot b+a\cdot c

20=2\times 10

30=3\times 10

10(2+3)=10\times 2+10\times 3

Hence, the highest common factor of 20 and 30=10

Expression:10(2+3)

3 0
3 years ago
Becky made 2 video tapes while a giant hummingbird fed 4 times and a ruby throated hummingbird fed 8 times from her new feeder.
AURORKA [14]
8 feedings because she recorded it two times and giant humming Bird fed it 4x so 4×2=8

3 0
3 years ago
Read 2 more answers
Other questions:
  • What times what equals 98 and adds up to -21
    14·1 answer
  • 1.) Chloe has a piece of wood molding that is 27 inches long. She cuts the
    10·2 answers
  • lori is running in a marathon which is 26.2 miles long. so far, she has run one-tenth of the marathon. how far has lori ran
    12·1 answer
  • 2. Describe the means-extremes property.
    11·1 answer
  • For the graph y = 4 find the slope of a line that is perpendicular to it.
    13·1 answer
  • Please help on this one?
    15·1 answer
  • 4. Consider the right triangle below.
    10·2 answers
  • Assume a student shows up for EGR 280 completely unprepared and the instructor gives a pop quiz. Assume there are 6 questions, e
    14·1 answer
  • Select all of the situation is below that can be modeled by the expression 4 + 3 * ​
    11·1 answer
  • Ms. Soffer paid $42. 75 for 9 boxes of gummies for the state test last year. This year she will need to order 13 boxes of gummie
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!