Develop a routine to loop over all of the edges of polygon

Assignment Help Marketing Management
Reference no: EM131135501

Computing Project 2

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 formulas 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 eigenvalue 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 location 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).

Please consult the document Evaluation of Computing Projects to see how your project will be evaluated to make sure that you can get full marks. Note that there is no peer review process for reports in this course.

Reference no: EM131135501

Questions Cloud

The senbet discount tire company : During the year, the Senbet Discount Tire Company had gross sales of $1.14 million. The firm's cost of goods sold and selling expenses were $533,000 and $223,000, respectively. The firm also had notes payable of $880,000.
Find the maximum amplitude of the oscillation at which the : 0.118 kg block is suspended from a spring. When a small pebble of mass 30 g is placed on the block, the spring stretches an additional 5.1 cm. With the pebble on the block, the block oscillates with an amplitude of 12cm. Find the maximum amplitude of..
Write an annotated bibliography : Use 3 sources in the construction of the annotated bibliography, paying attention to content reliability and author credibility.
Statements regarding the sale of a partnership interest : Which of the following statements regarding the sale of a partnership interest is false? a. The seller's primary tax concern in a partnership interest sale is calculating the amount and character of gain or loss on the sale.
Develop a routine to loop over all of the edges of polygon : 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..
Located in central shopping district : You have been asked to come up with an advertising campaign for a video game store that is located in a central shopping district. How would you go about it? What would your process be? What would your big idea be? How would you execute it?
What is the charge density : Show transcribed image text Assuming you have 6.24 x 10^14 electrons and the surface area of the pail is 0.2 m^2, what is the charge density (C/m^2)?
Application set protocols and transport set protocols : Network protocols are the following two types: a. Application Set Protocols and Transport Set Protocols b. Physical Set Protocols and Transport Set Protocols c. Application Set Protocols and Packet Set Protocols d.Physical Set Protocols and Packet Se..
Job cost sheets accumulate the actual overhead : Which of the following statements is true? (You may select more than one answer.) A. The Manufacturing Overhead account is debited when manufacturing overhead is applied to Work in Process.

Reviews

Write a Review

Marketing Management Questions & Answers

  Integrated marketing communication

Developing an IMC plan of Amazon that aims to create awareness and knowledge amongst Singaporean  consumers of the ethics involved in buying clothing made from Bangladeshi factories  .

  Multiple choice questions on e-commerce

The assignment in Computer Science or Information Technology is about multiple choice questions, particularly in e-commerce. Questions such as types of e-commerce websites, commercial websites, disintermediation, Platform for Piracy, the data that ca..

  Balanced scorecard for red lobster

The assignment in marketing is about Red Lobster, which is one US and Canada's most loved seafood restaurant. It has hundreds of outlets in US and Canada and it now wants to expand further. The approach adopted by Red Lobster has been discussed in fu..

  Marketing plan - marketing audit, swot and smart report

The assignment in marketing is about preparing a marketing plan. As part of marketing plan, the SWOT analysis, assessing the competitive position, identifying critical competitive issues, marketing objectives, strategy and actions have been suggested..

  Marketing plan

Marketing deals with preparing a marketing plan for either an existing product or a new product. Various aspects about launching a new product into the market are discussed ranging from the industry the product belongs to, goals and vision of the com..

  Yamato corporation analysis - harvard case study

Please refer to the PDF for the Case Study and questions.The case study from Harvard Business School is about Yamato Corporation, a parcel delivery company which provides door to door delivery in Japan.

  Marketing plan - create a new product

The assignment in marketing is about competitive analysis for a new product namely "heated insoles". These heated insoles can be put in shoes and they can protect the wearer's feet by keeping them warm during cold winters.

  Report on digital marketing strategy for a website

Promotion strategies of  the one's own developed website

  Integrated marketing campaign of mccafe

Integrated marketing campaign for McDonald's McCafe. McCafe has been launched in Canada. This is a case study which involves the use of digital marketing and social media marketing apart from regular marketing such as TV and radio. All these more are..

  New product development at adidas

In this paper, the researcher also determines the different kind of practices used by Adidas to manufacture shoes for its customers.

  Managing services in competitive environment

Services can be defined as separately identifiable, intangible activities which provide want-satisfaction when marketed to household consumers and/or industrial users.

  Prepare a marketing plan

A marketing plan is an essential tool for any marketer, providing direction for a brand, product or organization. A marketing plan describes the marketing environment, marketing objectives and marketing strategies.

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