Compute orientation of the principal axes of cross section

Assignment Help MATLAB Programming
Reference no: EM131136270

Computing Project: Properties of Areas

The computing project Properties of Areas concerns the computation of various properties of cross sectional areas. In each of our theories (i.e., axial bar, torsion, and beams) we arrive at a point where we need certain properties of the cross section to advance the analysis. For the axial bar we needed only the area; for torsion we needed the polar moment of inertia; for the beam we will need moment of inertia of the cross section about the centroid of the cross section.

We can develop an algorithm that allows the computation of all of the properties of a cross section if the cross section can be described as a polygon. The algorithm is built on formu- las for the properties of a triangle. What that program will do is create a triangle from the origin and the two vertex nodes associated with a side of the polygon. Whether this polygon adds or subtracts from the accumulating properties will be determined from the vectors defining the sides of the polygon (see the CP Notes for further clarification). If you loop over all of the sides, the end result will be the properties of the entire cross section.

The general steps are as follows:

1. Develop a routine that allows you to describe the cross section with a sequence of points numbered in a clockwise fashion starting with 1. The last point should be a repeat of the first one in order to close the polygon. Some suggestions:

a. Store the (x,y) coordinates of each point in a single array x(N,2), where N is the number of points required to describe the cross section (including the repeat of the first point as the last point) and the first column contains the x values of the coordinate and the second column contains the values of the coordinate and the second column contains the y value.

b. It will eventually be a good idea to put the input into a MATLAB function and call the function from your main program. That way you can build up a library of cross sectional shapes without changing your main program.

c. If you need a negative area region (for a cutout section like in an open tube) then number the points in that region in a counter-clockwise fashion. Just keep numbering the vertices in order (no need to start over for the negative areas).

2. Develop a routine to loop over all of the edges of the polygon and compute (and accumulate) the contributions of the triangle defined by the vectors from the origin to the two vertices of the current side of the triangle (that gives two sides) and the vector that points from the first to the second vertex (in numerical order). Calculate the area, centroid, and outer-product contributions to the properties (see the CP Notes for clarification of this issue).

3. Compute the orientation of the principal axes of the cross section using the eigen- value solver in MATLAB (eig) on the moment of inertia matrix J. See the CP Notes for more information on this task.

4. Create an output table (print into the Command Window) giving the relevant cross sectional properties. Develop a routine to plot the cross section. Include the loca- tion of the centroid of the cross section in the graphic along with lines defining the principal axes.

5. Generate a library of cross sections, including some simple ones (e.g., a rectangular cross sections) to verify the code. Include in your library as many of the following cross sections as you can get done:

a. Solid rectangle with width b and height h.
b. Solid circle of radius R.
c. Rectangular tube with different wall thickness on top and bottom.
d. I-beam with flange width b, web depth d, flange thickness tf, and web thickness tw.
e. Angle section with different leg lengths and leg thicknesses.
f. Circular tube with outside radius R and wall thickness t.
g. T-beam.

6. Use the program to explore aspects of the problem. For example,

a. Why is it more efficient to use an open circular tube for torsion rather than a solid cylinder?
b. For beam bending we can control deflections and reduce stresses with a large moment of inertia about the axis of bending. Show the trade-offs available in an I-beam when you can select different web and flange depths and thicknesses.
c. Explore any other feature of the problem that you find interesting.

Write a report documenting your work and the results (in accord with the specification given in the document Guidelines for Doing Computing Projects). Post it to the Critviz website prior to the deadline. Note that there is only one submission for this problem (the final submission).

Attachment:- Project_Properties_of_Areas.pdf

Reference no: EM131136270

Questions Cloud

Communication competence : An important theme throughout this course has been communication competence, which is the ability to choose a communication behavior that is both effective and appropriate for a given situation.
How you think the it profession will change in the future : Analyze how you think the IT profession will change in the future, based on your current understanding of IT as a profession. In your analysis, explain where you think the IT profession (in general) will be in 10, 20 and 50 years from now. Also, e..
Why might the above relationship signal a recession : Why might the above relationship signal a recession? Why might it not?
Discuss the difference between violence and protest : Contrast the differing opinions between liberals and conservatives in regard to the policy of grants-in-aid. Discuss the difference between violence and protest
Compute orientation of the principal axes of cross section : Compute the orientation of the principal axes of the cross section using the eigen- value solver in MATLAB (eig) on the moment of inertia matrix J. See the CP Notes for more information on this task.
What barriers had to be broken down for the civil rights : Explain how the decision reached in Brown vs. Board of Education impacted the Civil Rights movement led by Dr. Martin Luther King, Jr, and how this in turn resulted in greater equality for African Americans. What barriers had to be broken down f..
Description as the chief method of development : Write a 500-750 word essay using description as the chief method of development. Follow the guidelines for formatting as described in Notes on Writing a Descriptive Essay.
What will happen to the relative value of this period''s : What will happen to the relative value of this period's versus next period's dollar-peso exchange rate? [ Hint: Use equation (7).]
The future profitability of u.s. firms : what do such high returns imply about the market's expectations regarding the future profitability of U.S. firms?

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Calculate the response spectra for column - matlab program

I want a program in MATLAB that can calculate the response spectra for the columns. Then we should take a sine function for translation and a different sine function for torsion, and see if we are getting correct results.

  Write program to compute output of mixcolumns transformation

Using Matlab write a program to compute the output of the MixColumns transformation for the following sequence of input bytes "67 89 AB CD" Apply the InvMixColumns transformation to the obtained result to verify your calculation.

  Write a script that will loop through values of n

Write a script that will loop through values of n until the difference between the approximation and the actual value is less than 0.0001.

  Write a matlab that given a sequence of samples

Write a MATLAB or Octave program that, given a sequence, f[k], of samples in the time domain, calculates a filtered output y[k], given by the formula y[k]=-a_2[k-1]-a_1y[k-2]-a_0y[k-3]+b_3f[k]+b_2f[k-1]+b_1f[k-2]+b_0f[k-3].

  Write a menu driven matlab script named grades

Write a menu driven Matlab script named grades that will let the user.

  Find the errors in the matlab codes

The program runs, then stops and gives an error of double going into the switch. I changed the code to make it output the sounds, but my whole reasoning was to make this version work with the row vectors.

  The train will be unsafe if the normal acceleration is

a train track is designed with a radius of 20 meters. the train will be unsafe if the normal acceleration is greater

  You need to prepare a matlab code

You need to prepare a MATLAB code for the following - A randomly generated, [5x5] matrix (A), filled with random [2x2] sub matrices (aa).... for a total of a [10x10] matrix. Also, a multiplication factor

  Does the threshold increase or decrease with axon diameter

Write down your threshold amplitude and duration values in a table and enter into an mfile. Plot the current versus duration. This is called strength-duration curve.

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Approximate the solution to the above initial value problem

1. dydt te3t - 2y 0 le t le 1 y0 0approximate the solution to the above initial value problem usinga modified-euler

  Write the matlab code to create a 1x3 vector

Write the MATLAB code to create a 1x3 vector containing the elements [1,2,3]. Additionally, write the MATLAB code to create a 3x1 vector with the same elements.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd