Docsity

Final Exam Study Guide for Exploration Engineering Design | ENGE 1114, Study notes of Engineering

Toggle sidebar
bg1
ENGE 1114: Final Exam Study Guide
70% Programming and Algorithm Development
15% Graphics Communication
15% Design
Programming and Algorithm Development
MATLAB Lecture 1:
- A semicolon will suppress the output
- ā€˜who’ MATLAB command returned the names of the variables in your current MATLAB project
- MATLAB ignores spaces in code
- Exponential is performed via the carrot (^) symbol
- ā€˜pi’ built in MATLAB
- Algebraic hierarchy is observed
- ā€˜fprintf’, when you tell MATLAB what you want for it to output ā€˜%f, variable’ will enter that
variable’s value
- ā€˜sqrt’ = square root
- The special formats \n, \r, \t, \b, \f can be used to produce linefeed, carriage return, tab,
backspace, and form feed characters respectively. Use \\ to produce a backslash character and
%% to produce a percent character
- %5.0f format- no integers to the right of the decimal
- %8.4f format- four digits to the right of the decimal point and, including leading spaces, consists
of eight spaces
- If you haven’t provided enough space for the answer MATLAB will come up with its own format
- ā€˜clc’ clears the command window and can be used in your program
- %0.3f format specifier is okay
- The percent sign (%) allows you to insert comments in your code (necessary)
- Can both record and play sounds via MATLAB
MATLAB Lecture 2:
- May want to put ā€˜clc’ in your program after introductory text
- All text entered in to MATLAB must be put in single quotes
- ā€˜s’ – text string format specifier
- Text strings are dealt with as single elements
- Relational operator, ==, compared two elements, true or false
- 0- False
- 1- True
- Relational Operators: <, <=, >, >=, ==
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Final Exam Study Guide for Exploration Engineering Design | ENGE 1114 and more Study notes Engineering in PDF only on Docsity!

ENGE 1114: Final Exam Study Guide 70% Programming and Algorithm Development 15% Graphics Communication 15% Design Programming and Algorithm Development MATLAB Lecture 1:

  • A semicolon will suppress the output
  • ā€˜who’ MATLAB command returned the names of the variables in your current MATLAB project
  • MATLAB ignores spaces in code
  • Exponential is performed via the carrot (^) symbol
  • ā€˜pi’ built in MATLAB
  • Algebraic hierarchy is observed
  • ā€˜fprintf’, when you tell MATLAB what you want for it to output ā€˜%f, variable’ will enter that variable’s value
  • ā€˜sqrt’ = square root
  • The special formats \n, \r, \t, \b, \f can be used to produce linefeed, carriage return, tab, backspace, and form feed characters respectively. Use \ to produce a backslash character and %% to produce a percent character
  • %5.0f format- no integers to the right of the decimal
  • %8.4f format- four digits to the right of the decimal point and, including leading spaces, consists of eight spaces
  • If you haven’t provided enough space for the answer MATLAB will come up with its own format
  • ā€˜clc’ clears the command window and can be used in your program
  • %0.3f format specifier is okay
  • The percent sign (%) allows you to insert comments in your code (necessary)
  • Can both record and play sounds via MATLAB MATLAB Lecture 2:
  • May want to put ā€˜clc’ in your program after introductory text
  • All text entered in to MATLAB must be put in single quotes
  • ā€˜s’ – text string format specifier
  • Text strings are dealt with as single elements
  • Relational operator, ==, compared two elements, true or false
  • 0- False
  • 1- True
  • Relational Operators: <, <=, >, >=, ==
  • ā€˜if-end’ decision structure, simplest decision structure
  • Stacked decision structure- one on top of another, relatively inefficient
  • ā€˜if-else-end’ decision structure- if something is true do this, if something is not true to this…
  • ā€˜if-else-if-else-end’ and so on
  • MATLAB ignores spaces in code, but not in context bars
  • Nested decision structure- and if inside of an if
  • Rational expressions are shown/ stored via logical operators
  • ~ - not
  • == relational operator
  • = algebraic operator
  • Both sides must be true in order for an ā€˜and’ to work
  • If one side is true for an ā€˜or’ statement it will work
  • There are ā€˜nested decisions’ or ā€˜nested ifs’ in programming MATLAB Lecture 3:
  • A hexagon is the repetition structure in flowcharting; goes in a clockwise direction
  • You typically want a counter in a repetition structure
  • For count=1:1:
  • Includes control variable, start value, increment, and final value
  • ā€˜tand’- tangent of degree angle
  • ā€˜exp’- exponential
  • Value of the control variable (the counter) may be used in the calculation- must be careful about limiting space for output values
  • FOR loops may also be nested
  • WHILE loop- controlled by user
  • FOR loops- know how many times it will be repeated before entering the loop
  • WHILE loop- how many times is determined by what happens in the loop
  • Ctrl+C will exit the program
  • WHILE loop can be used to ensure proper input from the user MATLAB Lecture 4:
  • Built in functions take an argument and then output an argument
  • ā€œformat longā€ – long answer
  • ā€œformat shortā€- short answer
  • What- gives all command files (M-files) created
  • Why- random answer to a question
  • Type why- gives you the content of the function ā€œwhyā€
  • Who- list of variables
  • Type ā€˜function name’ – will give you the definition of that function
  • ā€˜function’ must be the first word in the function file
  • Function [output argument]= function (input argument)

X= A+B+C;

Y=sqrt(X) + A^B; Z=Y-X;

  • How many arguments are there? 2
  • How many output arguments are there? 3
  • What is the name of the function? Slander
  • If you execute the function at the command line will the value of Y be known? No
  • Is an ā€˜end’ statement necessary in a function? No
  • May comments be used within a function file? Yes
  • What must be the 1st^ word in the function file? Function
  • Will the function work? No
  • What is the last assignment statement? Z=Y-X
  • Given the following MATLAB code: A = [1 3 5 7 9 11 13 15]; V = [1:6]; B = V(5); C=A(3:5); D=[0:pi:3]; E=A(3)+V(6);
  • A(5) has what value? 9
  • V(7) has what value? DNE
  • What is/are the value(s) of D? 0, pi
  • What is/ are the value(s) of E? 11
  • What is the value of D(V(2))? Pi
  • What is the value of V(D(2))? DNE
  • What is/are the value(s) (A(6:8)-B)? 6, 8, 10 DyKnow Lecture 4/28/10:
  • Command line entry
  • Script files
  • Function files
  • Input statements
  • fprintf statements
  • %f format specifiers
  • %s format specifiers
  • Decisions structures
  • Repetition structures
  • Vector notation
  • Tabular output
  • MATLAB ā€˜help’
  • Screen commands ā€˜clc’, ā€˜clear’
  • You can plot two vectors
  • Write a MATLAB statement that would allow the user to enter a number into a program: %1.6f
  • Write a statement that would output the value of pi as 3.141493: %.6f
  • Write a statement which determines if a scalar named ā€˜value’ is greater than pi^3: value>pi^
  • Circle rational operators: <, >, ==, >=, <=
  • Circle logical operators: &, |, ~ Graphics Communication:
  • When extruding, what is the difference between distance and through all? When extruding the difference between ā€˜distance’ and ā€˜through all’ is that ā€˜distance’ will extend/ cut whatever distance the user indicates, while ā€˜through all’ will extrude/cut through all of the figure that is already in place.
  • Using parametric equations can help with the uniformity of the shape by ensuring that the figure will follow predetermined ratios, making it easier to adjust the lengths without having to reconfigure the object
  • The purpose of a section view is to show what is going on inside the object which would be shown by hidden lines in a normal orthogonal view
  • A full section view, generally removes on side of the object so the entire side view shows a cut through the object. While a half section view shows half of a cut and half of the side of the actual object
  • In INVENTOR, when referencing a previously defined feature to define the size, location and/or orientation of a new feature, the reference feature is called: Parent feature.
  • As practiced in INVENTOR, the Cartesian coordinate system is the first feature created when using the BORN technique
  • One of the principles of good dimensioning states that each feature of the object is dimensioned once and only once. This means: a feature should be dimensioned in only one of the given views
  • When placing a dimension between two views extension lines should be drawn from both views is not a principle of good dimensioning
  • The current standard for text alignment in dimensioning is unidirectional dimensioning
  • Dimension lines have arrow heads at both ends
  • In blind holes, the specified depth is the depth at the full diameter
  • Holes should be located and sized in the circular view
  • Creating a section in INVENTOR requires a parent view and a cutting plane line identifying the location of the cut
  • A partial auxiliary view shows only the inclined plane
  • Note that apply to the whole drawing are commonly called general notes
  • The drawings that show relationships between all parts, standard and non-standard, are called assembly and subassembly drawings
  • Detail drawing are not created for all standards and non-standard parts in an assembly
  • General tolerances can be given in a note or the title block Graphics Notes from Test 1 review:

Half Section through Assembly:

  • Four different hatch patterns are used to establish/ distinguish different parts Offset Section:
  • The section view gives you NO CLUE, must look at jog of cutting plane A removed section:
  • Amongst many other views, usually labeled Dimensioning:
  • Extensions do NOT touch the object
  • No leading zeroes (English)
  • Dimensions in parenthesis () are for reference only
  • Do not over dimension (tolerance) Dimensioning Convention:
  • Developed in accordance with machining operations\
  • Most ā€œrulesā€ are guidelines
  • Must follow: ā€œyou must include sufficient dimensions to completely describe the size and shape of your part. Anything less and the drawing is useless.ā€
  • Four line types are used in dimensioning:
  1. Dimension line
  2. Extension line
  3. Leader line
  4. Center line
  • Do NOT put units on your dimensions Extension Lines:
  • Break extension lines for arrows
  • Use the center line as an extension line when necessary
  • Do NOT break extension lines for the part
  • Avoid placing dimensions inside the object The orientation of dimensions can be:
  • Unidirectional (current standard)
  • Aligned (old standard) Dimensioning Circular Features:
  • Dimension holes in the circular view
  • Size positive cylinders in the rectangular view
  • Dimension arcs > 180 with phi
  • Dimension arcs < 180 with R
  • Leaders on circular features should be radial Can use chain, datum or ordinate dimensions, up to drawer Principles of Good Dimensioning
  • Include sufficient dimensions
  • Dimension each feature only once
  • Contour rule- dimension features in the most descriptive view
  • Don’t dimension to hidden lines if possible
  • Extension lines do not cross dimension lines
  • Dimension between views if possible Tolerance: the total amount a dimension may vary Limits: the extreme permissible numerical dimensions of a part, the application of the tolerance Unilateral Tolerance: varies in only one direction Bilateral Tolerance: varies in both directions Nominal size: the size for a commercial product. It may not or may express the true size of the part Basic size: the theoretical size. The size of the part determines by engineering and design requirements Actual size: the measured size of the finished part Auxiliary Views:
  • Used to represent an inclined plane
  • An orthographic view projected onto any plane other than one of the six standard views
  • A primary auxiliary view is normal to a standard view and is used to view an inclined surface’s true shape and size Partial Auxiliary View: only shows the inclined surface Full Auxiliary view: partially 3D Working Drawings: complete set
  • Detail drawing of all non-standard parts (to describe parts visually and dimensionally)
  • Assembly and subassembly drawings o To show relationship between all parts, standard and non-standard o Bill of Materials (BOM) to identify all parts and quantities needed

AUTODESK INVENTOR TERMINOLOGY:

  • Base feature- the first solid feature, usually the primary shape of the model
  • BORN Technique- ā€œBase Orphan Reference Nodeā€ (BORN), use a Cartesian coordinate system as the first feature prior to creating any solid features
  • Bottom-Up Approach- create the individual parts, then pull together into assembly
  • Direct Adaptive Design- under constrain features or parts
  • Child- new feature derived from another feature (PARENT)
  • Parent/ Child relations- parent feature creates a new feature (Child) Design Engineering Design:
  • ā€œā€¦ the systematic, intelligent generation of specifications for artifacts whose form and function achieved stated objectives and satisfy specified constraints.ā€
  • ā€œā€¦the process of devising a system, component, or process to meet desired needs. It is a decision- making process (often iterative), in which the basic sciences and mathematics and engineering sciences are applied to convert resources optimally to meet a stated objective. Among the fundamental elements of the design process are the establishment of objectives and criteria, synthesis, analysis, construction, testing and evaluation.ā€ Client Statement  Problem Definition:
  1. Clarify objectives
  2. Establish metrics for objectives
  3. Identify constraints
  4. Revise problem statement
  5. Establish function
  6. Establish requirements
  7. Establish means
  8. Generate alternatives
  9. Refine and apply metrics
  10. Choose a design THREE types of requirements:
  11. Objective- something toward which effort is directed; an aim or end of action
  12. Constraint- the state of being checked, restricted, or compelled to avoid or perform some action
  13. Function- the action for which a person/ thing is specifically fitted or used or for which a thing exists (verb-noun pair) ALWAYS STAY SOLUTION NEUTRAL

Metrics- the manner in which you will measure your solution’s ability to meet the objectives Functions- something(s) that the designed object must do in order to be successful Basic function:

  • ā€œthe specific work that a project, process or procedure is designed to accomplishā€ Secondary Functions:
  • Any function needed to do the basic function
  • Those that result from doing the basic function
  • Help with searching for solutions Decision Matrix- tool used to aid in choosing final design