BaşlayınÜcretsiz Başlayın

Joint probabilities

In this exercise we're going to calculate joint probabilities using the following table:

Joint probability table

Take the values from the table, create variables, and calculate the probability of the event in each step.

Bu egzersiz

Foundations of Probability in Python

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Individual probabilities
P_Eng_works = ____
P_GearB_works = ____

# Joint probability calculation
P_both_works = ____

print(P_both_works)
Kodu Düzenle ve Çalıştır