# Simple Calculus Problem

1. Jul 14, 2010

### 6Stang7

I'm trying to determine the centroid of the shape below:

The curve line is that of a circle, but the equation of for a circle, (x-a)2+(y-b)2=r2, won't work here for obvious reasons, but the equation y=r-$$\sqrt{2rx-x^{2}}$$ does.

To determine the location of the centroid, the formula is:

To ensure that the equations that I am using are correct, I am going to compare the area calculated by integrating the line with respect to it's corresponding axis against this equation:

Let's assume that we have a circle with a radius r=1. The area is therefore:

Now, I solved the integral two ways: one with Mathcad, and the other with The Integrator.

When I solve it with Mathcad, I get:

which is wrong because the area calculated is negative.

When I solve it with The Integrator, I get:

which is also wrong because if this equation where evaluated, you would obtain a number with imaginary components.

I type this equation into my TI-84 and had it calculate the area under the curve and it got an answer that agreed with the known value, so the equation for the curve is correct.

It's been awhile since I've used calculus like this, but this problem should be very straight forward; however, that is not turning out to be the case.

Where have I gone wrong?

EDIT: I'd like to point out that I've already solved for the location of the centroid using a different method. I posted this because I'm more interested in finding out why this method isn't working for me.

#### Attached Files:

File size:
503 bytes
Views:
19
File size:
4 KB
Views:
16
File size:
4.3 KB
Views:
14
File size:
1.4 KB
Views:
16
File size:
2.4 KB
Views:
15
File size:
503 bytes
Views:
19
• ###### p5yPi.jpg
File size:
6.4 KB
Views:
19
Last edited: Jul 14, 2010
2. Jul 14, 2010

### LCKurtz

These equations look correct to me. I get

$$\bar{x} = \bar{y}= \frac{r(10-3\pi)}{12-3\pi}$$

3. Jul 14, 2010

### 6Stang7

That is exactly the answer. Can you please go into some detail about how you obtained it? Can you also explain why I am not getting the correct answer when I try integrating for the area under the curve?