Skip Navigation
Toggle Accordion Engineering Ethics Introduction to Ethical Theories by Professor Ron Sandler, chair of the Philosophy department which supports the NU Path and Engineering Ethics curriculum in GE1501 and GE1502 Cornerstone coursesEngineering Ethics – Value Sensitive Design Ron Sandler Talk Toggle Accordion AutoCAD Application Button Drawing Ribbons Command Prompt Grid Display, Grid Snap, Ortho Mode, O-Snap, Dynamic Input Coordinate Display Zoom, Pan Lines Circles Arcs Erasing Absolute and Relative Coordinates Move Copy Rotate Mirror Fillet Chamfer Array Line Type Scale Layers Properties Distance Area The difference between Model and Paper Space Making Title Blocks Uses an a “camera lense” example Highlights why O-snap is useful Offset Trim Extend Hatching Polygons Polylines Polyline Splines Scaling Setting Units Dimension Style Manager MultiLeader Style Manager Dimensions Leaders Toggle Accordion C++ What is programming? Anatomy of a computer Machine language History of C++ C++ programming environment Pseudocode & flowcharts Example – buying a new car Variables Assignment statement Constants Comments Example – soda cans & bottles Arithmetic operators Increment & decrement Modulus operator Example – piggy bank dollars & cents Converting variable data types Power and roots Other mathematical functions Unintended integer division & truncation Unbalanced parentheses Header files Round-off errors Spacing Casting (converting data types) Example – making change (dollars & cents) Inputs & cin Outputs & cout Output formatting Example – price of soda cans What are strings Concatenation String input String operations Example – “Hello” Algorithm development with pseudocode & flowcharts Structure of programs Conditional expressions (Boolean true/false) Relational operators Logical operators Order of precedence If statement If-else statement Linear interpolation Example – freezing temperature of sea water Break Switch statement Example – switch statement with vowels Example – switch statement with currency Loop flowcharts While loop syntax Infinite loops & break statements Do While loop syntax Break & continue statements with for loops Counter-controlled loops Sentinel-controlled loops End-of-data controlled loops Example – degrees to radians with a while loop Example – degrees to radians with a do-while loop For loop Counters Nested for loops Example – for loops displaying * Modularity Programmer-defined functions Parameter passing Example – calculating center of gravity Random numbers What are arrays Common algorithms for processing arrays Functions with arrays 2-dimensional arrays Toggle Accordion Matlab What is MATLAB? The command window Basic math (numbers, arithmetic, trig, built-in constants, etc.) Command history Getting help What is a variable? Creating and using scalar variables Deleting a variable Creating a script Comments Running a script Suppressing output with semicolon What is an array? Creating constant arrays: 1D and 2D Using arrays in functions Array variables Special arrays (zeros, ones) Special array functions Single elements—setting the value, retrieving the value, deleting from an array Multiple elements—using a colon to set/retrieve/delete multiple values Scalars & matrix multiplication Array division Identity matrix Invert matrix Determinant Left division/right division Solving a set of linear equations Element-by-Element arithmetic Rand function Seed numbers Clock function determines the seed number Using random numbers to generate data to test MATLAB programs What is a string? String constants and variables Special string functions save and load commands user input (input, menu, questdlg & inputdlg commands) output data (disp, fprintf, fopen, fclose) Example – body mass index calculation Importing/exporting data with Excel with example Plot command Basic plot appearance commands Plotting a function Hold on/hold off Subplots Polar Comet Bar graphs and histograms Function file structure Differences from script files Using user-defined functions Multiple inputs Multiple outputs Local variables Value of a polynomial Roots of a polynomial Curve fitting 3D line and scatter plots Surface and mesh plots Relational operators & order of precedence Logical operators & arrays if-elseif-else-end nested branching Toggle Accordion SolidWorks Toggle Accordion First Year Engineering Seminar Series