% LMex110401_4th.m
% An interesting application of Matlab's symbolic math toolbox.
% Page 703 in:
% Larsen & Marx (2006) Introduction to Mathematical Statistics, 4th edition
% Written by Eugene.Gallagher@umb.edu, Revised 11/28/10
syms x y yint mux muy; int('8*x*y',y,0,x)
int('8*x*y',x,y,1)
mux=int('x * 4*x^3',x,0,1)
muy=int('y*(-4*y*(y^2 - 1))',y,0,1)
int('x*y*8*x*y',y,0,x)
int(int('x*y*8*x*y',y,0,x),x,0,1)-32/75
