Program Design ENGR 1181 MATLAB 11. MATLAB Program Design in Real Life Complex manufacturing processes require careful logic mapping to determine what.

Slides:



Advertisements
Similar presentations
Programming for Beginners
Advertisements

What Is An Operating System?. Before Operating Systems u What do you do with just computer hardware? –If someone gives you a computer with no software.
2D Plots 1 ENGR 1181 MATLAB 12.
Controlling a manufacturing system efficiently IE450 Fall 2005 Dr. Richard A. Wysk.
The LC-3 – Chapter 6 COMP 2620 Dr. James Money COMP
Coding. Steps to Success 1.Create a PLAN including a detailed statement of requirements (SORs) 2.Write algorithms based on the SORs 3.Write pseudocode.
Input and Output ENGR 1181 MATLAB 5. Input and Output In The Real World Script files (which provide outputs given inputs) are important tools in MATLAB.
CSE 5522: Survey of Artificial Intelligence II: Advanced Techniques Instructor: Alan Ritter TA: Fan Yang.
Problem Solving Lab – Part B
Learning Styles ESE250 Spring 2013 Day 0: January 10, 2013.
AN OVERVIEW BY JAMIE STARKE The Role of Prototyping.
INTRODUCTION COMPUTATIONAL MODELS. 2 What is Computer Science Sciences deal with building and studying models of real world objects /systems. What is.
Introduction to a Programming Environment
Programming Fundamentals (750113) Ch1. Problem Solving
Program Design ENGR 1181 MATLAB 01. Program Design in Real Life Complex manufacturing processes require careful logic mapping to determine what actions.
DCT 1123 PROBLEM SOLVING & ALGORITHMS INTRODUCTION TO PROGRAMMING.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
For Loops 2 ENGR 1181 MATLAB 9. For Loops and Looped Programming in Real Life As first introduced last lecture, looping within programs has long been.
Learning Styles The Citadel Academic Support Center 2010.
AlgoTutor Tutorial (4) Using the Virtual Machine Component of AlgoTutor J. Yoo, S. Yoo, C. Pettey, S. Seo, and Z. Dong MTSU Computer Science Department.
Put the Title of the WebQuest Here A WebQuest for xth Grade (Put Subject Here) Designed by (Put Your Name Here) Put Your Address Here Put some interesting.
Functions 1 ENGR 1181 MATLAB 14.
Introduction to MATLAB ENGR 1181 MATLAB 1. Programming In The Real World Programming is a powerful tool for solving problems in every day industry settings.
For Loops 1 ENGR 1181 MATLAB 8. For Loops and Looped Programming in Real Life Looping within programs has long been a useful tool for completing mundane.
Design Intent ENGR 1182 SolidWorks 4. Today’s Objectives  Design Intent  Fully Defined  Design Analysis  SW04 In-Class Activity  Fully Defining a.
Conditional Statements ENGR 1187 MATLAB 7. Conditional Statements in Real Life A Fluorescence Activated Cell Sorter (FACS) sorts cells based on predetermined.
Describe the Program Development Cycle. Program Development Cycle The program development cycle is a series of steps programmers use to build computer.
Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and Elizabeth Drake Chapter 2: Flowcharts.
ENG 1181 College of Engineering Engineering Education Innovation Center P. 1 1 Computer Problem Solving in MATLAB Topics Covered: 1.Problem Solving 2.Top-Down.
ACTIVE AND REFLECTIVE LEARNER Active learners tend to retain and understand information best by doing something active with it—discussing or applying.
1 Systems Analysis and Design in a Changing World, Thursday, January 18, 2007.
Jeopardy Selling StuffMake it Great Jobs Flowing Along Trade you Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500 Final Jeopardy.
Computer Programming Through Game Design and Creation By Victoria Gold Grade 9.
Algorithms & Flowchart
Building a Robot Exploring Computer Science Lesson 6-4.
Going Deeper with Mark Twain A WebQuest for 10th Grade Composition Designed by Sandy Schaufelberger Wes-Del High School, Gaston IN
PROGRAM DEVELOPMENT CYCLE. Problem Statement: Problem Statement help diagnose the situation so that your focus is on the problem, helpful tools at this.
Introduction to Computer Programming CS 126 Lecture 1 Zeke Maier.
ALGORITHMS AND PROGRAMMING Unit 11.1A:. Starter activity - Event Driven  Imagine an icon on your desktop and list the events that are taking place; 
2D Plots 2 ENGR 1181 MATLAB 13. Plotting in the Real World 2D plots generated by MATLAB can be used in a variety of fields, including the one shown here,
… Computer Science Inside… Algorithm Development.
While Loops ENGR 1181 MATLAB 10.
Array Operations ENGR 1181 MATLAB 4.
Alternative Algorithms for Addition and Subtraction If we don’t teach them the standard way, how will they learn to compute?
Teamwork and Problem Solving: Activities ENGR 1181 Class 2 – Part 2.
Excel Graphing ENGR 1181 Class 5. Why use Excel?  Excel is a powerful spreadsheet program that can be used for: Creating graphical displays of data Performing.
Reading Working Drawing Packets and Section Views
Algorithms CS280 – 10/20/05. Announcement  Part 1 of project 2 due.  Read chapters 10, 7 for this unit  Tuesday we will also be in the classroom We.
Array Accessing and Strings ENGR 1187 MATLAB 3. Today's Topics  Array Addressing (indexing)  Vector Addressing (indexing)  Matrix Addressing (indexing)
WHAT IS THIS? Clue…it’s a drink SIMPLE SEQUENCE CONTROL STRUCTURE Introduction A computer is an extremely powerful, fast machine. In less than a second,
Algorithms. Teacher Lead Activity What is an algorithm? Homework Recap!
CSS IS A LANGUAGE DESIGNED TO TARGET HTML ELEMENTS AND NODES BY TYPE, CLASS, ID AND VALUE, AND CHANGE THEIR VALUES CSS – change how your HTML looks and.
Engineering H193 - Team Project Spring Quarter Gateway Engineering Education Coalition P. 1 Guidelines for Flow Charts and Pseudocode Week 5 Day 1.
Logical Expressions ENGR 1181 MATLAB 6. Logical Expressions in Real Life Sorting objects in manufacturing processes can be accomplished automatically.
Taking Lecture Notes How to Record and Remember Classroom Discussions or Lectures.
Giving Presentations Hey-Jin Lee WMN Lab. - Writing for Computer Science -
By the end of this session you should be able to... Understand what is meant by ‘thinking logically’ including: Identify the points in a solution where.
Algorithms and Flowcharts
Chapter One Problem Solving
Component 1.6.
Chapter One Problem Solving
Yenka Portfolio Level for this topic: Student Name : My Levels
Introduction to Algorithms
How and where does the diamond industry operate ?
Data and Flowcharts Session
Introduction to programming
Data and Flowcharts Session
How and where does the diamond industry operate ?
Data and Flowcharts Session
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
Presentation transcript:

Program Design ENGR 1181 MATLAB 11

MATLAB Program Design in Real Life Complex manufacturing processes require careful logic mapping to determine what actions should be taken and when to produce a product. Often in automotive manufacturing, the control of robots is carefully planned and timed with flowcharts at each stage of the welding process.

Today's Learning Objectives  After today’s class, students will be able to: Explain the significance of the planning stage in computer problem solving. Solve complex MATLAB problems involving all previously used concepts. Construct flow charts to develop code.

Algorithms  Algorithms are a step by step plan  Consider every step that’s necessary to complete a task or solve a problem  Useful tools for problem solving (DR. PIE!)  They will make programming easier and less time consuming

Algorithm Exercise  You will work with your classmates to write a step-by-step procedure to solve a problem or complete a task.  You will need to make many assumptions  Consider every small step or detail

Algorithm Example The Task: Have a person fill a bottle with stones.  Start by listing assumptions A bottle is present Stones are present …

Algorithm Example: Assumptions  Assumptions The bottle is present The stones are present There are enough stones to fill a bottle The bottle is empty/not full Some/all stones will fit through the opening …?

Algorithm Example: The Steps With your team, write your algorithm (~10 steps):  Set the bottle near stones  Make sure bottle is upright  …  Hint, think like a machine!

Algorithm Example  Trade algorithms with another team  Follow their directions EXACTLY  See how well it works!

Algorithm Example  Set bottle upright near stones  Determine if any stones are left  Pick up one stone  Determine if stone fits  Put stone in bottle  Determine if bottle is full

Flowchart Example  Flowcharts help us visualize our algorithm/program  DR. PIE: Represent  It’s good practice to make a flowchart before writing any program. It will save you lots of time!

Flowchart Example

Important Takeaways  Programs require logic and information Flowcharts map this flow and set the foundation for an efficient program  Machines don’t know anything unless they are told exactly what’s needed Think like a machine when programming! Ex: Machines don’t know a bottle is upright.

What’s Next?  Review today’s Quiz #11  Open the in-class activity from the EEIC website and we will go through it together.  Then, start working on MAT-11 homework.