% LMex030510_4th.m
% Example 3.5.10 p 145 in 
% Larsen & Marx (2006) Introduction to Mathematical Statistics 4th edition
% Written by Eugene.Gallagher@umb.edu, written 2001, revised 1/12/11
% http://alpha.es.umb.edu/faculty/edg/files/edgwebp.html
% Expected value of a function of a random variable
syms y;
s=int(20*pi*y^2*3*y^2, 0,1)
eval(s)