# Average value of sin(x) integral of sin(x)/x

This isn't a homework question by the way
I was trying to think what the average value of sin(x) was between 0 and pi/2.
I came to the conclusion it must be integral of sin(x)/x evaluated at those bounds. But I tried to do that in matlab to no avail.
Any help would be awesome