Find Probability of Random Variable Using MATLAB

$29.00$19.001265 reads

Question

Solve the following using MATLAB:

Let X be uniformly distributed in the unit interval of [0,1]. Consider the random variable Y=g(X), where  g(x)=1 if x£1/3, and g(x) = 2, if x> 1/3.  Find the expected value of Y.

Summary

This question belongs to MATLAB software and discusses about application of MATLAB in mathematics to solve the probability distribution problems.

Answer is in MATLAB format

 

Add to Cart