Topic: Matrix Manipulation Problem / Level: advanced

Problem: Write a program to compute the expected value of a random variable using a probability matrix.

Run the code to see the output here...