In the second homework, I am first required to work on probabilistic inference, probabilistic reasoning, sigmoid function. Later, I need to simplify a given probabilistic formula based on conditional independence between variables, including three independent rules and Markov Blanket rule.