#### A PHP Error was encountered

Severity: Warning

Message: Undefined array key "userid"

Filename: views/question.php

Line Number: 212

Backtrace:

File: /home/statpmkj/public_html/application/views/question.php

Line: 212

Function: _error_handler

File: /home/statpmkj/public_html/application/controllers/Questions.php

Line: 416

Function: view

File: /home/statpmkj/public_html/index.php

Line: 315

Function: require_once

## A bag contains 9 red, 8 orange, and 7 green jellybeans

Qn18. A bag contains 9 red, 8 orange, and 7 green jellybeans. What is the probability of reaching into the bag and randomly withdrawing 16 jellybeans such that the number of red ones is 5, the number of orange ones is 7, and the number of green ones is 4? Express your answer as a fraction or a decimal number rounded to four decimal places.

Qn19.

Larissa is ordering apple pie at a restaurant, and the server tells her that she can have up to four toppings: walnuts, pecans, whipped cream, and caramel. Since she cannot decide how many of the toppings she wants, she tells the server to surprise her. If the server randomly chooses which toppings to add, what is the probability that Larissa gets just walnuts and pecans? Express your answer as a fraction or a decimal number rounded to four decimal places.