Learn practical skills, build real-world projects, and advance your career

Updated 3 years ago

`!pip install jovian --upgrade --quiet`

`import jovian`

`jovian.commit()`

```
[jovian] Attempting to save notebook..
[jovian] Updating notebook "samantha-roberts/probability-homework" on https://jovian.ai
[jovian] Uploading notebook..
[jovian] Uploading additional files...
[jovian] Committed successfully! https://jovian.ai/samantha-roberts/probability-homework
```

### this is a test -- trying to understand how jovian commit works

### Mutually Exclusive Events

Given two events $A$ and $B$, we know that

$P(A \cup B) = P(A) + P(B) - P(A \cap B)$

In some cases, $P(A \cap B)$ is $0$ e.g. if we roll a fair die and A & B represent the conditions "getting a 2" and "getting a 3" respectively, then condition $A \cap B$ represents the condition "getting a 2 and a 3", which is impossible.

If $P(A \cap B)$ is 0, then $A$ & $B$ are said to be mutually exclusive, and it follows that

$P(A \cup B) = P(A) + P(B)$