MATLAB Centroids

# MATLAB Centroids - y(a(b Using MATLAB and symbolic...

This preview shows pages 1–2. Sign up to view the full content.

a β (a) Using MATLAB and symbolic integration, determine the x and y-coordinate of the location of the centroid of a sector of a circle of radius a and angle β . (b) (b) Show that your results reduce to the well-tabulated values for a quarter of a circular area ( β = π /2) and a half of a circular area ( β = π ). x y

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
>> syms r t a b >> I = int( r,r , 0 , a) I = a^2/2 >> A =int(I, t, 0 ,b) A = (a^2*b)/2 >> I1 = int(r^2*cos(t),r,0,a) I1 = (a^3*cos(t))/3 >> xA =int(I1, t, 0, b) xA= (a^3*sin(b))/3 >> xc = xA/A
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 2

MATLAB Centroids - y(a(b Using MATLAB and symbolic...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online