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
katovenus [111]
2 years ago
6

A bag contains 3 gold marbles, 9 silver marbles, and 20 black marbles. Someone offers to play this game: You randomly select one

marble from the bag. If it is gold, you win $3. If it is silver, you win $2. If it is black, you lose $1.
Mathematics
1 answer:
Genrish500 [490]2 years ago
3 0
What’s the question?
You might be interested in
Consider the vector x: x <- c(2, 43, 27, 96, 18) Match the following outputs to the function which produces that output. Opti
Nookie1986 [14]

<u>Completed Question</u>

Outputs to be matched to the functions are:

  • 1,2,3,4,5
  • 1,5,3,2,4
  • 1, 4, 3, 5, 2
  • 2, 18, 27, 43, 96

Answer:

  • sort(x): 2, 18, 27, 43, 96
  • order(x): 1, 5, 3, 2, 4
  • rank(x) : 1, 4, 3, 5, 2
  • none of these :  1, 2, 3, 4, 5

Step-by-step explanation:

Given the vector x: x <- c(2, 43, 27, 96, 18)

<u>Sort</u>

In R, the sort(x)  function is used to arrange the entries in ascending or descending order. By default, R will sort the vector in ascending order.

Therefore, the output that matches the sort function is:

sort(x): 2, 18, 27, 43, 96

<u>Rank</u>

The rank function returns a vector with the "rank" of each value.

x <- c(2, 43, 27, 96, 18)

  • 2 has a rank of 1
  • 43 has a rank of 4
  • 27 has a rank of 3
  • 96 has a rank of 5
  • 18 has a rank of 2

Therefore, the output of rank(x)  is: 1, 4, 3, 5, 2

<u>Order</u>

When the function is sorted, the order function gives the previous location of each of the element of the vector.

Using the sort(x) function, we obtain: 2, 18, 27, 43, 96

In the vector: x <- c(2, 43, 27, 96, 18)

  • 2 was in the 1st position
  • 18 was in the 5th position
  • 27 was in the 3rd position
  • 43 was in the 2nd position
  • 96 was in the 4th position

Therefore, the output of order(x) is: 1, 5, 3, 2, 4

7 0
3 years ago
In the toy shop of the theme park is a shelf full of gifts. Two of the gift packets are yellow. One of the yellow packets is the
Angelina_Jolie [31]

Answer:

There is 9 gifts packets on the shelf.

Step-by-step explanation:

"o" represents a not yellow gift packet and "i" represents a yellow packet.

It says "One of the yellow packets is the sixth from the left" so we have

???iooooo

then it says "the other packet is the eighth from the right" AND "Between the two yellow gift packets there are three differently colored packages"

So we have

oooioooio because there is no "17" answer so it can't be

oooooooioooiooooo

8 0
3 years ago
Read 2 more answers
Which is dependent and independent <br> Time spent jogging and distance traveled
Ede4ka [16]
Time spent jogging is independent and distance traveled is dependent

Hope it helps :)
7 0
3 years ago
When Pascal build a dog house,he knew he wanted the floor of the house to have an area of 24 square feet.He also wanted the widt
Leona [35]
The length would be 6 and the width would be 4 to get 24 as the area.

3 0
3 years ago
Helpppppppppppp!<br> this is an exam
kari74 [83]

Answer:

84.7 but don't cheat on exams from now on ;)

8 0
3 years ago
Read 2 more answers
Other questions:
  • Im trying to find out how to explain the place value of thedecimal point in 8.2
    10·1 answer
  • A rectangular picture measuring 5 in. by 9 in. is surrounded by a frame with uniform width x. Write a quadratic function in stan
    10·2 answers
  • if a number line starts at 0, and there are 10 ticks before the 400, how much is one tick worth?!?! help!!!
    6·1 answer
  • If you multiply the slopes of two perpendicular lines, the product is -1.
    14·1 answer
  • Approximate f(y) = sqrt(3y + 7) for y = 10 to the nearest thousandth
    5·1 answer
  • The diameter of Jim’s circular flower bed is 10 feet. What is the area, in square feet, of Jim’s flower bed?
    7·2 answers
  • IF Russo had 8 apples and dodge had 4 fewer apples how many apples did dodge have
    14·1 answer
  • What is the maximum number of turns in the graph of f(x)=2x^3-2x^2+7x-25 ?
    14·2 answers
  • What is the ratio from the<br> area of the small square to<br> the large square?
    8·1 answer
  • M + 1 = 8 <br><br>But what’s the m=__
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!