calculating+by+using+bayesian+network