MATLAB Centroids

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

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

View Full Document Right Arrow Icon
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
Background image of page 1

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

View Full DocumentRight Arrow Icon
>> 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
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

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 Right Arrow Icon
Ask a homework question - tutors are online