How do you find the average value of #sinx# as x varies between #[0,pi]#?