is this unifrom distribution
Conceptually I can work it out, but I'm not sure how to put it down mathematically. Since the functions are abstracted a bit. Could some one help write out how this should be done?
pdf : 0.5 delta(t) + 1/4 rect ((t-1)/2)
Not sure what you're asking, my graph is meant to show that there's a 50% of the random variable X being 0 and a 50% chance of being uniformly distributed between 0 and 2. I'm unsure how to deal with the dirac delta function when calculating the E[X]... Thanks in advance.