This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CE 3101 Fall 2011 Homework 10 – Drawing and Annotating a Truss This is a 25-point PAIRED GROUP assignment. Due Thursday, 17 November 2011, 12:55 P.M. Abstract In self-selected groups of up to two (2) members you will write a MATLAB program (which will include multiple functions and files) for drawing and annotating a user-defined truss. A brief letter report is required in addition to the properly-documented working code. Group Evaluation and the Time Card After completing this assignment you are each required to INDIVIDUALLY complete the Homework 10 Evaluation , found on the course Moodle web site. There will be no future warnings about completing this task in a timely manner. If it is not done before 6:00 PM on Friday, 18 November 2010, you will be penalized 5-points on this assignment. 1 Background To design and analyze a complex structure, an engineer must be able visualize the structure. For an engineer the visualization must go beyond an artist’s rendering. The engineer must embrace an organizational system that allows for the unambiguous identification of members, connections, and forces. The engineer must also be able to step back and see how the various applied loads trace from the point of application to the foundation. To this end, computer graphics is an unparalleled tool. 2 Problem Write a MATLAB program, containing multiple functions and files, that draws a detailed depiction of a user- defined, pin-jointed, planar truss 1 . The depiction comprises two figures, which present the nodes (joints), members, externally applied forces, computed 2 reaction forces, and the internal member forces. Your code is not analyzing or solving the truss, your code is merely drawing and annotating the truss. The problem highlights a number of key ideas in the design and implementation of computer-based tools for engineers. These include, but are not limited to, the following items. • Designing the user interface for an intended audience. • Input validation (using try-catch blocks, while/end loops, and the exist command). • Reading data from files (using dlmread ). • Using for loops. • Writing scalable code – i.e. programs that works for small test problems and big commercial-scale problems, by changing the input not the code. • The creation of complex engineering graphics using color, scale, and rendering techniques to highlight important components. • Organizing programs with multiple interacting functions, where each function has a specific task. • Testing and debugging each of the components as you go, rather than waiting until the end. 1 See, for example, http://en.wikipedia.org/wiki/Truss , http://www.classictruss.com/art/wodd_truss_types_ examples.gif , http://www.simplyairlines.com/images/cityguides/edinburgh/9_top_ten.jpg ....
View Full Document
This note was uploaded on 02/15/2012 for the course CIVIL 3101 taught by Professor Barnes during the Spring '11 term at Minnesota.
- Spring '11