00:01
In this problem, where is to find a centroid of the region bounded by y is equal sine x and y is equal cosine as x equals 0 and x equals pi over 4.
00:08
So that is the shaded region.
00:11
Let's first calculate the area of that region.
00:15
The idea is to form 10 strips width of dx and sum those up between the limits of x.
00:28
So since we're summing, we need integral and x changes between 0 and pi over 4.
00:32
4.
00:34
And we have two functions here.
00:35
And as we can see, our upper function is cosine x, and sine x is the lower function.
00:40
So that will be f of x, and this will be g of x.
00:44
So the area will then be f of x minus g of x d x.
00:47
So cosine x minus sine x d x.
00:52
That is then equal to sine x plus cosine of x where exchanges between 0 and pi over 4.
01:04
And from this, we see that area is then square root of 2 minus 1.
01:10
All right, let's calculate at x bar.
01:12
We know that x bar is 1 over area integral from a to b x times f of x minus g of x d x.
01:22
And we know that y bar is up for 1 over area integral from a to be 1 half of f squared of x minus g squared of x d x.
01:34
Okay, we have everything that we need.
01:36
So let's just plug those in...