EGR 102 Introduction to Engineering Modeling. Lab 10A Nested Programming II Iterative Nesting

Size: px
Start display at page:

Download "EGR 102 Introduction to Engineering Modeling. Lab 10A Nested Programming II Iterative Nesting"

Transcription

1 EGR 102 Introduction to Engineering Modeling Lab 10A Nested Programming II Iterative Nesting 1

2 Overview 1. Nested loops 2. Nested loop: Creating Arrays 3. Nested Loops: 2 Variable functions 4. Nested Loops and 3D Plotting 2

3 Types of Nested Programming There are several types of nested programming that will be covered in this unit. Nested Functions and Sub-Functions Nesting with if Statements Nesting with Loops Lab 10A is going to focus on nesting with loops. 3

4 Nested Loops Just like nesting if statements inside of loops, loops can also be nested inside one another. The case that this lesson will focus on is a for loop nested in a for loop Other configurations are possible, but this is the most straight forward in terms of explaining, understanding, and what you will be expected to be able to code. 4

5 Nested Loops Nesting loops creates what are commonly referred to as the inner and outer loop. The inner is the nested loop. The outer is the main loop. For every one iteration of the outer loop, the inner loop goes through all of its iterations. 5

6 Nested Loops time = [0,0] hour = 0 min = 0 for i = 1:12 hour = i-1; for j = 1:60 min = j-1; time = [ hour, min] end min=0; end The inner loop has to fully complete before the outer can move on to the next index Like the hour hand (outer loop) and minute hand (inner loop) of a clock; 60 minutes pass for every 1 hour 6

7 Nested loop: Creating Arrays There are a couple of common applications for nested loops. One is using the loops to create arrays. This is done with appropriate indexing for each loop. Each loop should have its own unique index. i, j, and k are commonly used ones. Depending on how the indices are set up, one loop is responsible for the rows while the other is responsible for the columns. Nested ifs can also be added for analysis. 7

8 Nested Loops - Format Each loop has its own index. Here the outer uses i and the inner uses j. Calculations inside the inner loop are repeated with both loops. The inner loop goes through all of its iterations for each single iteration of the outer. The order of the indices also determines the shape of the resultant array. Here, i is associated with the rows, and j is associated with the columns. The dimensions and order the loops run are more clearly seen with the results on the next slide. 8

9 Nested Loops - Results The order the iterations are executed is more clearly seen with the result. i being associated with rows and j with columns is reflected by the array in 2 ways. 1. There are 5 rows and 10 columns. 2. The addition goes horizontally along the rows. This means the inner loop goes through all of its iterations (columns) for one of the outer (row). 9

10 2-Variable Functions The other frequent application is modeling 2-variable functions with nested loops. It is a naturally conducive arrangements as: Each variable is assigned to one loop The loops, by going through all of their iterations, perform all possible combinations of the two variables The result is an array that has values of resulting from all possible combinations with the values of each variable being associated with either the rows or columns. 10

11 2-Variable Functions f(x,y) = 2x + 3y^3 X - Values Y -Values Imagine that the red values are your x vector & the blue values are your y vector. The green values are then your Z array where Y(i) and X(j) would be used to create Z(i,j). 11

12 Nested Loops 2 Variable functions One of the common applications for nested loops is calculations with two variables. The result is an array with the rows associated with one variable and the columns the other. The contents of the array represent every possible combination of the two variables. The example is for the following calculation: 12

13 Nested Loops 2 Variable functions Similar to the earlier, example, each loop has its own index. These indices are based on the number of values of the variables. The calculation should use both indices to establish rows, columns, and the variables should use their relevant index. Be sure to pay attention to which variable is used with rows and which with columns! 13

14 Nested Loops 2 Variable functions Y X In this example, the value of y changes with each row and x changes with each column. This is why it is important to keep track of them! The values represent every combination of x and y used in the original f(x,y) equation that was shown earlier. 14

15 Nested Loops and 3D Plotting Because the applications using nested loops often result in the creation or manipulation of arrays, 3D plotting is often used with them to aid in the visualization of the work. For a reminder on plotting with surface, mesh, or contour plots, review Lab 5B. 15

16 Overview 1. Nested loops 2. Nested loop: Creating Arrays 3. Nested Loops: 2 Variable functions 4. Nested Loops and 3D Plotting 16

Introduction to Programming in C Department of Computer Science and Engineering. Lecture No. #16 Loops: Matrix Using Nested for Loop

Introduction to Programming in C Department of Computer Science and Engineering. Lecture No. #16 Loops: Matrix Using Nested for Loop Introduction to Programming in C Department of Computer Science and Engineering Lecture No. #16 Loops: Matrix Using Nested for Loop In this section, we will use the, for loop to code of the matrix problem.

More information

CHAOS Chaos Chaos Iterate

CHAOS Chaos Chaos Iterate CHAOS Chaos is a program that explores data analysis. A sequence of points is created which can be analyzed via one of the following five modes: 1. Time Series Mode, which plots a time series graph, that

More information

EGR 102 Introduction to Engineering Modeling. Lab 05B Plotting

EGR 102 Introduction to Engineering Modeling. Lab 05B Plotting EGR 102 Introduction to Engineering Modeling Lab 05B Plotting 1 Overview Plotting in MATLAB 2D plotting ( ezplot(), fplot(), plot()) Formatting of 2D plots 3D plotting (surf(), mesh(), plot3()) Formatting

More information

Direction Fields; Euler s Method

Direction Fields; Euler s Method Direction Fields; Euler s Method It frequently happens that we cannot solve first order systems dy (, ) dx = f xy or corresponding initial value problems in terms of formulas. Remarkably, however, this

More information

Querying Data with Transact SQL

Querying Data with Transact SQL Course 20761A: Querying Data with Transact SQL Course details Course Outline Module 1: Introduction to Microsoft SQL Server 2016 This module introduces SQL Server, the versions of SQL Server, including

More information

The Smith Chart. One-to-one mapping between and z L z. More generally, anywhere along the transmission line. The math looks simple.

The Smith Chart. One-to-one mapping between and z L z. More generally, anywhere along the transmission line. The math looks simple. The Smith Chart One-to-one mapping between and z L z z L L 1 1 z L 1 1 More generally, anywhere along the transmission line The math looks simple. But and z L are generally both complex. Actual calculation

More information

Lesson 14: Graph of a Linear Equation Horizontal and Vertical Lines

Lesson 14: Graph of a Linear Equation Horizontal and Vertical Lines Lesson 14: Graph of a Linear Equation Horizontal and Vertical Lines Student Outcomes Students graph linear equations in standard form, 0), that produce a horizontal or a vertical line. Lesson Notes The

More information

Triple Integrals: Setting up the Integral

Triple Integrals: Setting up the Integral Triple Integrals: Setting up the Integral. Set up the integral of a function f x, y, z over the region above the upper nappe of the cone z x y from z to z. Use the following orders of integration: d x

More information

Matrix Multiplication

Matrix Multiplication Matrix Multiplication CPS343 Parallel and High Performance Computing Spring 2013 CPS343 (Parallel and HPC) Matrix Multiplication Spring 2013 1 / 32 Outline 1 Matrix operations Importance Dense and sparse

More information

Unit 1, Lesson 1: Moving in the Plane

Unit 1, Lesson 1: Moving in the Plane Unit 1, Lesson 1: Moving in the Plane Let s describe ways figures can move in the plane. 1.1: Which One Doesn t Belong: Diagrams Which one doesn t belong? 1.2: Triangle Square Dance m.openup.org/1/8-1-1-2

More information

Rational Numbers and the Coordinate Plane

Rational Numbers and the Coordinate Plane Rational Numbers and the Coordinate Plane LAUNCH (8 MIN) Before How can you use the numbers placed on the grid to figure out the scale that is used? Can you tell what the signs of the x- and y-coordinates

More information

Topics. Introduction to Repetition Structures Often have to write code that performs the same task multiple times. Controlled Loop

Topics. Introduction to Repetition Structures Often have to write code that performs the same task multiple times. Controlled Loop Topics C H A P T E R 4 Repetition Structures Introduction to Repetition Structures The for Loop: a Count- Sentinels Nested Loops Introduction to Repetition Structures Often have to write code that performs

More information

Matrix Multiplication

Matrix Multiplication Matrix Multiplication CPS343 Parallel and High Performance Computing Spring 2018 CPS343 (Parallel and HPC) Matrix Multiplication Spring 2018 1 / 32 Outline 1 Matrix operations Importance Dense and sparse

More information

Lesson 16: More on Modeling Relationships with a Line

Lesson 16: More on Modeling Relationships with a Line Student Outcomes Students use the least squares line to predict values for a given data set. Students use residuals to evaluate the accuracy of predictions based on the least squares line. Lesson Notes

More information

Chapter 4: Linear Relations

Chapter 4: Linear Relations Chapter 4: Linear Relations How many people can sit around 1 table? If you put two tables together, how many will the new arrangement seat? What if there are 10 tables? What if there are 378 tables in

More information

3DS Max Tutorial Surface, Shell, Editable Mesh and Mesh Smooth.

3DS Max Tutorial Surface, Shell, Editable Mesh and Mesh Smooth. 3DS Max Tutorial Surface, Shell, Editable Mesh and Mesh Smooth. This is a tutorial that shows how to use the 3D Studio Max modifiers Surface and Shell and how to work with meshes. To start with you really

More information

Section Rational Functions and Inequalities. A rational function is a quotient of two polynomials. That is, is a rational function if

Section Rational Functions and Inequalities. A rational function is a quotient of two polynomials. That is, is a rational function if Section 6.1 --- Rational Functions and Inequalities A rational function is a quotient of two polynomials. That is, is a rational function if =, where and are polynomials and is not the zero polynomial.

More information

What is the Box Model?

What is the Box Model? CSS Box Model What is the Box Model? The box model is a tool we use to understand how our content will be displayed on a web page. Each HTML element appearing on our page takes up a "box" or "container"

More information

1-8 Exploring Transformations

1-8 Exploring Transformations 1-8 Exploring Transformations Warm Up Lesson Presentation Lesson Quiz 2 Warm Up Plot each point. D 1. A(0,0) 2. B(5,0) 3. C( 5,0) 4. D(0,5) 5. E(0, 5) 6. F( 5, 5) C A F E B Objectives Apply transformations

More information

(Refer Slide Time: 00:26)

(Refer Slide Time: 00:26) Programming, Data Structures and Algorithms Prof. Shankar Balachandran Department of Computer Science and Engineering Indian Institute Technology, Madras Module 07 Lecture 07 Contents Repetitive statements

More information

Module 16: Data Flow Analysis in Presence of Procedure Calls Lecture 32: Iteration. The Lecture Contains: Iteration Space.

Module 16: Data Flow Analysis in Presence of Procedure Calls Lecture 32: Iteration. The Lecture Contains: Iteration Space. The Lecture Contains: Iteration Space Iteration Vector Normalized Iteration Vector Dependence Distance Direction Vector Loop Carried Dependence Relations Dependence Level Iteration Vector - Triangular

More information

An Introductory SIGMA/W Example

An Introductory SIGMA/W Example 1 Introduction An Introductory SIGMA/W Example This is a fairly simple introductory example. The primary purpose is to demonstrate to new SIGMA/W users how to get started, to introduce the usual type of

More information

Post Processing of Displacement Results

Post Processing of Displacement Results WORKSHOP 16 Post Processing of Displacement Results Objectives: Examine the deformation of the MSC.Nastran model to evaluate the validity of the assumptions made in the creation of the mesh density and

More information

Objectives. Vocabulary. 1-1 Exploring Transformations

Objectives. Vocabulary. 1-1 Exploring Transformations Warm Up Plot each point. D Warm Up Lesson Presentation Lesson Quiz 1. A(0,0) 2. B(5,0) 3. C( 5,0) 4. D(0,5) C A B 5. E(0, 5) 6. F( 5, 5) F E Algebra 2 Objectives Apply transformations to points and sets

More information

5. Create two planes and split the outer cylinder volume into four quadrants using the menus

5. Create two planes and split the outer cylinder volume into four quadrants using the menus Generating a 3D GAMBIT grid for concentric rotating cylinders Prepared by: Jagannath R Nanduri (jaggu.nanduri@mail.wvu.edu) 304-293-3111x2348 1. In order to overcome the problem of generating small size

More information

Objectives. After completing this lesson, you should be able to do the following:

Objectives. After completing this lesson, you should be able to do the following: Objectives After completing this lesson, you should be able to do the following: Describe the types of problems that subqueries can solve Define subqueries List the types of subqueries Write single-row

More information

Lesson 6A Loops. By John B. Owen All rights reserved 2011, revised 2014

Lesson 6A Loops. By John B. Owen All rights reserved 2011, revised 2014 Lesson 6A Loops By John B. Owen All rights reserved 2011, revised 2014 Topic List Objectives Loop structure 4 parts Three loop styles Example of a while loop Example of a do while loop Comparison while

More information

Specific Objectives Students will understand that that the family of equation corresponds with the shape of the graph. Students will be able to create a graph of an equation by plotting points. In lesson

More information

From Motion diagrams to Position and Velocity Graphs

From Motion diagrams to Position and Velocity Graphs From Motion diagrams to Position and Velocity Graphs Name: Group Members: Date: TA s Name: Apparatus: Aluminum track and a support, cart, plastic ruler, tape timer, and pencil Objectives: 1) To be familiar

More information

EQUIPOTENTIALS Objective Equipment Procedure Two Point Charges Record the position and shape of the probe on a second graph paper

EQUIPOTENTIALS Objective Equipment Procedure Two Point Charges Record the position and shape of the probe on a second graph paper EQUIPOTENTIALS Objective Equipotential contours for three geometries will be investigated to explore the relationship between potentials and electrical field lines. Equipment 4 graph papers (included in

More information

BIOE 198MI Biomedical Data Analysis. Spring Semester Dynamic programming: finding the shortest path

BIOE 198MI Biomedical Data Analysis. Spring Semester Dynamic programming: finding the shortest path BIOE 98MI Biomedical Data Analysis. Spring Semester 09. Dynamic programming: finding the shortest path Page Problem Statement: we re going to learn how to convert real life problem into a graphical diagram

More information

Scientific Graphing in Excel 2013

Scientific Graphing in Excel 2013 Scientific Graphing in Excel 2013 When you start Excel, you will see the screen below. Various parts of the display are labelled in red, with arrows, to define the terms used in the remainder of this overview.

More information

*Starting Out with C++: From Control Structures through Objects, 7/E* by *Tony Gaddis* COMPUTER PROGRAMMING LECTURE 05 LOOPS IMRAN IHSAN

*Starting Out with C++: From Control Structures through Objects, 7/E* by *Tony Gaddis* COMPUTER PROGRAMMING LECTURE 05 LOOPS IMRAN IHSAN PowerPoint Slides adapted from *Starting Out with C++: From Control Structures through Objects, 7/E* by *Tony Gaddis* Copyright 2012 Pearson Education Inc. COMPUTER PROGRAMMING LECTURE 05 LOOPS IMRAN IHSAN

More information

Querying Data with Transact-SQL

Querying Data with Transact-SQL Course 20761A: Querying Data with Transact-SQL Page 1 of 5 Querying Data with Transact-SQL Course 20761A: 2 days; Instructor-Led Introduction The main purpose of this 2 day instructor led course is to

More information

Calypso Construction Features. Construction Features 1

Calypso Construction Features. Construction Features 1 Calypso 1 The Construction dropdown menu contains several useful construction features that can be used to compare two other features or perform special calculations. Construction features will show up

More information

FINDING THE INDEX OF REFRACTION - WebAssign

FINDING THE INDEX OF REFRACTION - WebAssign Name: Book: Period: Due Date: Lab Partners: FINDING THE INDEX OF REFRACTION - WebAssign Purpose: The theme in this lab is the interaction between light and matter. Matter and light seem very different

More information

Did You Find a Parking Space?

Did You Find a Parking Space? Lesson.4 Skills Practice Name Date Did You Find a Parking Space? Parallel and Perpendicular Lines on the Coordinate Plane Vocabulary Complete the sentence. 1. The point-slope form of the equation of the

More information

Reference Edge / First Edge

Reference Edge / First Edge Reference Edge / First Edge We make every effort to ensure the content of our documentation is complete, accurate and up to date. However, continuous development of the described software means it is not

More information

Processing Image Pixels, Creating Visible Watermarks in Java. Preface

Processing Image Pixels, Creating Visible Watermarks in Java. Preface Processing Image Pixels, Creating Visible Watermarks in Java Learn how to write a Java program that can be used to add five different types of visible watermarks to an image. Published: December 19, 2006

More information

BioBIKE Language Syntax Working with large numbers of items: Mapping and Loops

BioBIKE Language Syntax Working with large numbers of items: Mapping and Loops BioBIKE Language Syntax Working with large numbers of items: Mapping and Loops II. Loops II.A. Overview of loops by example Implicit mapping is simple: just replace a single item with a set of items. Explicit

More information

Picture Maze Generation by Repeated Contour Connection and Graph Structure of Maze

Picture Maze Generation by Repeated Contour Connection and Graph Structure of Maze Computer Science and Engineering 2013, 3(3): 76-83 DOI: 10.5923/j.computer.20130303.04 Picture Maze Generation by Repeated Contour Connection and Graph Structure of Maze Tomio Kurokawa Department of Information

More information

Scientific Graphing in Excel 2007

Scientific Graphing in Excel 2007 Scientific Graphing in Excel 2007 When you start Excel, you will see the screen below. Various parts of the display are labelled in red, with arrows, to define the terms used in the remainder of this overview.

More information

MECHANISM DESIGN ESSENTIALS IN 3DEXPERIENCE

MECHANISM DESIGN ESSENTIALS IN 3DEXPERIENCE Nader G. Zamani MECHANISM DESIGN ESSENTIALS IN 3DEXPERIENCE 2016x USING CATIA APPLICATIONS SDC PUBLICATIONS Better Textbooks. Lower Prices. www.sdcpublications.com Powered by TCPDF (www.tcpdf.org) Visit

More information

Section 4.3. Graphing Exponential Functions

Section 4.3. Graphing Exponential Functions Graphing Exponential Functions Graphing Exponential Functions with b > 1 Graph f x = ( ) 2 x Graphing Exponential Functions by hand. List input output pairs (see table) Input increases by 1 and output

More information

Post Processing of Displacement Results

Post Processing of Displacement Results LESSON 16 Post Processing of Displacement Results Objectives: Examine the deformation of the MSC/NASTRAN model to evaluate the validity of the assumptions made in the creation of the mesh density and selection

More information

CS 3410 Ch 5 (DS*), 23 (IJP^)

CS 3410 Ch 5 (DS*), 23 (IJP^) CS 3410 Ch 5 (DS*), 23 (IJP^) *CS 1301 & 1302 text, Introduction to Java Programming, Liang, 7 th ed. ^CS 3410 text, Data Structures and Problem Solving Using Java, Weiss, 4 th edition Sections Pages Review

More information

Querying Data with Transact SQL Microsoft Official Curriculum (MOC 20761)

Querying Data with Transact SQL Microsoft Official Curriculum (MOC 20761) Querying Data with Transact SQL Microsoft Official Curriculum (MOC 20761) Course Length: 3 days Course Delivery: Traditional Classroom Online Live MOC on Demand Course Overview The main purpose of this

More information

Copyright 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 5-1

Copyright 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 5-1 Copyright 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 5-1 Chapter 6 : (Control Structure- Repetition) Using Decrement or Increment While Loop Do-While Loop FOR Loop Nested Loop

More information

Access Office Integration for Excel

Access Office Integration for Excel Access Office Integration for Excel Introduction The following document has been designed to guide you through the process of downloading Dimensions data in to Excel via the Access Office Integration tool.

More information

Lesson 8 Introduction to Quadratic Functions

Lesson 8 Introduction to Quadratic Functions Lesson 8 Introduction to Quadratic Functions We are leaving exponential and logarithmic functions behind and entering an entirely different world. As you work through this lesson, you will learn to identify

More information

Advanced Database Systems

Advanced Database Systems Lecture IV Query Processing Kyumars Sheykh Esmaili Basic Steps in Query Processing 2 Query Optimization Many equivalent execution plans Choosing the best one Based on Heuristics, Cost Will be discussed

More information

Chapter 4: Control structures. Repetition

Chapter 4: Control structures. Repetition Chapter 4: Control structures Repetition Loop Statements After reading and studying this Section, student should be able to Implement repetition control in a program using while statements. Implement repetition

More information

All about flow control

All about flow control All about flow control Prof. Zhang March 11, 2014 1 Read Coding Style Guideline Please go to the class website, find the resource part, click on the how labs are graded? link. Read the guideline, and then

More information

Lesson 3 Practice Problems

Lesson 3 Practice Problems Name: Date: Lesson 3 Section 3.1: Linear Equations and Functions 1. Find the slope of the line that passes through the given points. Then determine if the line is increasing, decreasing or constant. Increasing,

More information

Just change the sign of the -coordinate. Let s look at the triangle from our previous example and reflect

Just change the sign of the -coordinate. Let s look at the triangle from our previous example and reflect . onstructing Reflections Now we begin to look at transformations that yield congruent images. We ll begin with reflections and then move into a series of transformations. series of transformations applies

More information

v Mesh Editing SMS 11.2 Tutorial Requirements Mesh Module Time minutes Prerequisites None Objectives

v Mesh Editing SMS 11.2 Tutorial Requirements Mesh Module Time minutes Prerequisites None Objectives v. 11.2 SMS 11.2 Tutorial Objectives This tutorial lesson teaches manual mesh generation and editing techniques that can be performed using SMS. It should be noted that manual methods are NOT recommended.

More information

depicts pictorially schematic representation of an algorithm document algorithms. used in designing or documenting

depicts pictorially schematic representation of an algorithm document algorithms. used in designing or documenting Definition A flowchart depicts pictorially the sequence in which instructions are carried out in an algorithm. A flowchart is a schematic representation of an algorithm or a stepwise process, showing the

More information

Lesson 6: Assembly Structural Analysis

Lesson 6: Assembly Structural Analysis Lesson 6: Assembly Structural Analysis In this lesson you will learn different approaches to analyze the assembly using assembly analysis connection properties between assembly components. In addition

More information

CS/NEUR125 Brains, Minds, and Machines. Due: Wednesday, March 8

CS/NEUR125 Brains, Minds, and Machines. Due: Wednesday, March 8 CS/NEUR125 Brains, Minds, and Machines Lab 6: Inferring Location from Hippocampal Place Cells Due: Wednesday, March 8 This lab explores how place cells in the hippocampus encode the location of an animal

More information

Beikrit Samia Falaschini Clara Abdolhosseini Mahyar Capotescu Florin. Qball Quadrotor Helicopter

Beikrit Samia Falaschini Clara Abdolhosseini Mahyar Capotescu Florin. Qball Quadrotor Helicopter Beikrit Samia Falaschini Clara Abdolhosseini Mahyar Capotescu Florin Qball Quadrotor Helicopter Flight Control Systems Project : Objectives for the Qball quadrotor helicopter 1) Develop non linear and

More information

Assignment 6: Ray Tracing

Assignment 6: Ray Tracing Assignment 6: Ray Tracing Programming Lab Due: Monday, April 20 (midnight) 1 Introduction Throughout this semester you have written code that manipulated shapes and cameras to prepare a scene for rendering.

More information

Chapter 4: Control structures

Chapter 4: Control structures Chapter 4: Control structures Repetition Loop Statements After reading and studying this Section, student should be able to Implement repetition control in a program using while statements. Implement repetition

More information

Lesson: Static Stress Analysis of a Connecting Rod Assembly

Lesson: Static Stress Analysis of a Connecting Rod Assembly Lesson: Static Stress Analysis of a Connecting Rod Assembly In this tutorial we determine the effects of a 2,000 pound tensile load acting on a connecting rod assembly (consisting of the rod and two pins).

More information

(Refer Slide Time: 00:02:00)

(Refer Slide Time: 00:02:00) Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 18 Polyfill - Scan Conversion of a Polygon Today we will discuss the concepts

More information

Math 2260 Exam #1 Practice Problem Solutions

Math 2260 Exam #1 Practice Problem Solutions Math 6 Exam # Practice Problem Solutions. What is the area bounded by the curves y x and y x + 7? Answer: As we can see in the figure, the line y x + 7 lies above the parabola y x in the region we care

More information

Lecture 10. Daily Puzzle

Lecture 10. Daily Puzzle Lecture 10 Daily Puzzle Imagine there is a ditch, 10 feet wide, which is far too wide to jump. Using only eight narrow planks, each no more than 9 feet long, construct a bridge across the ditch. Daily

More information

Topic. Section 4.1 (3, 4)

Topic. Section 4.1 (3, 4) Topic.. California Standards: 6.0: Students graph a linear equation and compute the x- and y-intercepts (e.g., graph x + 6y = ). They are also able to sketch the region defined by linear inequality (e.g.,

More information

Lesson 6E Nested Loops. By John B. Owen All rights reserved 2011, revised 2014

Lesson 6E Nested Loops. By John B. Owen All rights reserved 2011, revised 2014 Lesson 6E Nested Loops By John B. Owen All rights reserved 2011, revised 2014 Table of Contents Objectives What are nested loops? Examples: #1 x Box #2 y Box #3 starbox #4 box method #5 triangle #6 reverse

More information

Reflections (Flips) Geometry. Objective. Common Core State Standards Talk About It. Solve It. More Ideas. Formative Assessment

Reflections (Flips) Geometry. Objective. Common Core State Standards Talk About It. Solve It. More Ideas. Formative Assessment 2 Reflections (Flips) Objective Students can expand their understanding of congruence by studying flips (reflections), turns (rotations), and slides (translations). A reflection flips a figure over a line

More information

EGR 111 Loops. This lab is an introduction to loops, which allow MATLAB to repeat commands a certain number of times.

EGR 111 Loops. This lab is an introduction to loops, which allow MATLAB to repeat commands a certain number of times. EGR 111 Loops This lab is an introduction to loops, which allow MATLAB to repeat commands a certain number of times. New MATLAB commands: for, while,, length 1. The For Loop Suppose we want print a statement

More information

code-it.co.uk Exploring Regular 2D Shapes & Patterns using sequence, repetition, nested loops, Program Aim: Program regular 2D shapes

code-it.co.uk Exploring Regular 2D Shapes & Patterns using sequence, repetition, nested loops, Program Aim: Program regular 2D shapes code-it.co.uk Exploring Regular 2D Shapes & Patterns Program Aim: Program regular 2D shapes using sequence, repetition, nested loops, simple and complex procedure. Programming Concepts -Sequence -Repetition

More information

Document Formatting and Page Layout

Document Formatting and Page Layout Word 2013 Document Formatting and Page Layout Introduction Instructional designers create a lot of documents such as job aids, training manuals, memos, and so forth. They do so using Word software. While

More information

Mapping Algorithms to Hardware By Prawat Nagvajara

Mapping Algorithms to Hardware By Prawat Nagvajara Electrical and Computer Engineering Mapping Algorithms to Hardware By Prawat Nagvajara Synopsis This note covers theory, design and implementation of the bit-vector multiplication algorithm. It presents

More information

Geometry CP. Unit 1 Notes

Geometry CP. Unit 1 Notes Geometry CP Unit 1 Notes 1.1 The Building Blocks of Geometry The three most basic figures of geometry are: Points Shown as dots. No size. Named by capital letters. Are collinear if a single line can contain

More information

Parametric Representation of Scroll Geometry with Variable Wall Thickness. * Corresponding Author: ABSTRACT 1.

Parametric Representation of Scroll Geometry with Variable Wall Thickness. * Corresponding Author: ABSTRACT 1. 1268, Page 1 Parametric Representation of Scroll Geometry with Variable Wall Thickness Bryce R. Shaffer 1 * and Eckhard A. Groll 2 1 Air Squared Inc. Broomfield, CO, USA 2 Purdue University, Mechanical

More information

To become familiar with array manipulation, searching, and sorting.

To become familiar with array manipulation, searching, and sorting. ELECTRICAL AND COMPUTER ENGINEERING 06-88-211: COMPUTER AIDED ANALYSIS LABORATORY EXPERIMENT #2: INTRODUCTION TO ARRAYS SID: OBJECTIVE: SECTIONS: Total Mark (out of 20): To become familiar with array manipulation,

More information

If the active datasheet is empty when the StatWizard appears, a dialog box is displayed to assist in entering data.

If the active datasheet is empty when the StatWizard appears, a dialog box is displayed to assist in entering data. StatWizard Summary The StatWizard is designed to serve several functions: 1. It assists new users in entering data to be analyzed. 2. It provides a search facility to help locate desired statistical procedures.

More information

Capstone Appendix. A guide to your lab computer software

Capstone Appendix. A guide to your lab computer software Capstone Appendix A guide to your lab computer software Important Notes Many of the Images will look slightly different from what you will see in lab. This is because each lab setup is different and so

More information

Mesh Quality Tutorial

Mesh Quality Tutorial Mesh Quality Tutorial Figure 1: The MeshQuality model. See Figure 2 for close-up of bottom-right area This tutorial will illustrate the importance of Mesh Quality in PHASE 2. This tutorial will also show

More information

Forces acting at a point

Forces acting at a point Forces acting at a point Introduction This software has been designed to provide visual representations of the addition of vectors and can be used to show the concept of a polygon of forces. It allows

More information

What is an algorithm?

What is an algorithm? Reminders CS 142 Lecture 3 Analysis, ADTs & Objects Program 1 was assigned - Due on 1/27 by 11:55pm 2 Abstraction Measuring Algorithm Efficiency When you utilize the mylist.index(item) function you are

More information

Revision Topic 11: Straight Line Graphs

Revision Topic 11: Straight Line Graphs Revision Topic : Straight Line Graphs The simplest way to draw a straight line graph is to produce a table of values. Example: Draw the lines y = x and y = 6 x. Table of values for y = x x y - - - - =

More information

Installing Visual Studio for Report Design

Installing Visual Studio for Report Design Introduction and Contents This file contains the final set of instructions needed for software installation for HIM 6217. It covers items 4 & 5 from the previously introduced list seen below: 1. Microsoft

More information

How to merge 3D Scenes?

How to merge 3D Scenes? How to merge 3D Scenes? The importation of several 3D models on top of each other is the basic association to create a 3D scene. The principle of merging several 3D models together is gathered with a unique

More information

Instructor: Eng.Omar Al-Nahal

Instructor: Eng.Omar Al-Nahal Faculty of Engineering & Information Technology Software Engineering Department Computer Science [2] Lab 6: Introduction in arrays Declaring and Creating Arrays Multidimensional Arrays Instructor: Eng.Omar

More information

PowerPoint Unit 1 Getting Started

PowerPoint Unit 1 Getting Started Beginning a presentation PowerPoint Unit 1 Getting Started PowerPoint is commonly used by presenters as a digital aid when presenting their topic to an audience. Many presenters often forget that they

More information

Focus Questions How does the new shape compare to the old shape? How do the coordinates of the new shape compare to the coordinates of the old shape?

Focus Questions How does the new shape compare to the old shape? How do the coordinates of the new shape compare to the coordinates of the old shape? Learning Target: Extend their techniques for using integer expressions to record movement on a number line to using expressions to represent movement on the coordinate graph. Practice identifying whether

More information

Navigating In Uncharted Waters Of Microsoft Excel Charts

Navigating In Uncharted Waters Of Microsoft Excel Charts 1 of 8 Navigating In Uncharted Waters Of Microsoft Excel Charts Translating Excel spreadsheets is pretty easy. All you need to do is translate text in individual cells and then format the spreadsheet for

More information

MATLAB basic guide to create 2D and 3D Plots. Part I Introduction

MATLAB basic guide to create 2D and 3D Plots. Part I Introduction MATLAB basic guide to create 2D and 3D Plots Part I Introduction This guide will walk you through the steps necessary to create, using MATLAB, a Three dimensional surface, a Two dimensional contour plot

More information

Advanced SQL Processing Prepared by Destiny Corporation

Advanced SQL Processing Prepared by Destiny Corporation Advanced SQL Processing Prepared by Destiny Corporation Summary Functions With a single argument, but with other selected columns, the function gives a result for all the rows, then merges the back with

More information

DYNAFORM Release Notes 7/2014

DYNAFORM Release Notes 7/2014 DYNAFORM 5.9.2 Release Notes 7/2014 Significant Enhancements 1. The new function for Auto-Position, automatically position blank and tools for multi-stages. 2. Automatic Iterative Trim Line Development

More information

FOUNDATION IN OVERCONSOLIDATED CLAY

FOUNDATION IN OVERCONSOLIDATED CLAY 1 FOUNDATION IN OVERCONSOLIDATED CLAY In this chapter a first application of PLAXIS 3D is considered, namely the settlement of a foundation in clay. This is the first step in becoming familiar with the

More information

Microsoft Word for Report-Writing (2016 Version)

Microsoft Word for Report-Writing (2016 Version) Microsoft Word for Report-Writing (2016 Version) Microsoft Word is a versatile, widely-used tool for producing presentation-quality documents. Most students are well-acquainted with the program for generating

More information

Create Complex Surfaces

Create Complex Surfaces Create Complex Surfaces In this lesson, you will be introduced to the functionalities available in the Generative Surface Design workbench. Lesson content: Case Study: Surface Design Design Intent Stages

More information

Final Exam Fall 2008

Final Exam Fall 2008 COE 308 Computer Architecture Final Exam Fall 2008 page 1 of 8 Saturday, February 7, 2009 7:30 10:00 AM Computer Engineering Department College of Computer Sciences & Engineering King Fahd University of

More information

Static Stress Analysis

Static Stress Analysis Static Stress Analysis Determine stresses and displacements in a connecting rod assembly. Lesson: Static Stress Analysis of a Connecting Rod Assembly In this tutorial we determine the effects of a 2,000-pound

More information

Plotting Graphs. Error Bars

Plotting Graphs. Error Bars E Plotting Graphs Construct your graphs in Excel using the method outlined in the Graphing and Error Analysis lab (in the Phys 124/144/130 laboratory manual). Always choose the x-y scatter plot. Number

More information

SETTLEMENT OF A CIRCULAR FOOTING ON SAND

SETTLEMENT OF A CIRCULAR FOOTING ON SAND 1 SETTLEMENT OF A CIRCULAR FOOTING ON SAND In this chapter a first application is considered, namely the settlement of a circular foundation footing on sand. This is the first step in becoming familiar

More information

SURFACE WATER MODELING SYSTEM. 2. Change to the Data Files Folder and open the file poway1.xyz.

SURFACE WATER MODELING SYSTEM. 2. Change to the Data Files Folder and open the file poway1.xyz. SURFACE WATER MODELING SYSTEM Mesh Editing This tutorial lesson teaches manual finite element mesh generation techniques that can be performed using SMS. It gives a brief introduction to tools in SMS that

More information

Lesson 1 1. Simulation 0

Lesson 1 1. Simulation 0 Lesson 1 1 Simulation 0 Let s implement in Lsd the model X t = X t 1 + m. We will implement the following steps: 1. Use LMM to create a new model, call it Simulation 0. 2. Write the C++/Lsd code for the

More information