Conditional Probability - Choosing without replacement

preview_player
Показать описание
We only solve the math problems our subscribers send in! Let us be your Free Online Math Tutor. In this video we learn how to calculate conditional probability - and we make sense of that formula too!
Рекомендации по теме
Комментарии
Автор

Coloured cards
Description
A card stack contains white and black cards. Two cards are drawn randomly without replacement. The probability of selecting a white and then a black card is x. The probability of selecting a white card in the first draw is y. You have to find the probability of drawing a black card, given that the first card drawn was white.
The input will contain two lines with x and y respectively.
The output should be displayed as a float(no need to round it off).
Sample Input:
0.2
0.5
Sample Output:
0.4
Execution Time Limit
Default.

rachnabahl
Автор

“Upside down U”💀. Its called intersection.

heyumm
Автор

Please don't call this simple formula ugly.

Ash-bcvw