Finding Centroid Location using Symbolic Math in Matlab

  • Thread starter Thread starter WRX200
  • Start date Start date
  • Tags Tags
    Centroid
WRX200
Messages
4
Reaction score
0
I'm at a complete loss on this one, so far. This problem needs to be solved symbolically with Matalb (which won't be a problem once I know what to do), but I'm not even sure where to begin. Any help would be greatly appreciated

[PLAIN]http://img227.imageshack.us/img227/9344/prob18.jpg
 
Last edited by a moderator:
Physics news on Phys.org
Due to symmetry of the function xc = b/2. To find xc, just evaluate the two integrals. Are you having trouble setting them up?
 
Yes, I'm unsure how to manipulate the other functions in order to relate everything. I just seem to be completely missing something
 
That's pretty vague. You need to evaluate two integrals. What do you have for them?
 
I was just being dumb, looking at the problem the wrong way. I was trying to relate yc and y, and I wasn't considering how y and dx were factoring into dA and y_bar.

I now have:
y_bar = y/2

dA = y*dx

yc = (1/2) Integral(y2*dx) / Integral(y*dx)
evaluated from 0 to b

where y = H*sin(pi*x/b)
 
Yes, that's pretty much it.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top