{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

01 Introduction Algorithms and Programs

# 01 Introduction Algorithms and Programs - Engineering101 n...

This preview shows pages 1–17. Sign up to view the full content.

Click to edit Master subtitle style Engineering 101 Introduction to Algorithms and Programs

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
What will you get from this course? n You will learn how to “think like an engineer” n You will learn about algorithms and how to  design/implement them n You will learn programming in C++ and  MATLAB n You will have fun!
Quote of the Day - Confucius I hear and I  forget, I see and I  remember, I do and I  understand.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
What is an algorithm? n A list of instructions for accomplishing a task that  may be executed by a mechanism.
Algorithm From our text n A list of instructions that, when executed,  transform information from input to output.   The instructions are a finite set of steps that  can be executed, in a definite order, by a  deterministic mechanism.  When these steps  are actually executed,  the execution must  terminate after a finite time . Key Point

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Examples of “famous”  algorithms n Web search: (Page Rank) n Recommendations: (you want to buy…) n Mp3 encoding: (and decoding)
Other uses of algorithms n Air Traffic Control n Magnetic Resonance Imaging n Computer Numerical Control

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Other uses of algorithms n Circuit Design n Materials Analysis n Air Pollution Modeling Picture 4
Other uses of algorithms n Chemical Analysis n Process Control Simulation

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Question 1 – Is it an algorithm? 1. Request a value for A 2. Request a value for B 3. Request a value for C 4. Assign B × B-4 × A × C to D 5. Return D a) No, it is not an algorithm b) Yes, it returns the  solution  to a quadratic equation  Ax2+Bx+C=0. c) Yes, it returns the  discriminant  for a quadratic equation
Question 2 – Is it an algorithm? 1. Request a value for A 2. While A>0 3.      Assign A/2 to A 4. Return A a) No, it is not an algorithm b) Yes, it returns a  value of one-half  A. c) Yes, it returns the  smallest even divisor  of A.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Question 3 – Is it an algorithm? 1. Request a value for A 2. Request a value for B 3. While B>A 4.      Request a new value for B 5. Assign B/A to C 6. Return C a) No, it is not an algorithm b) Yes, it returns a  value <= 1 . c) Yes, it returns a  value >= 1 .
Skills you will develop when mastering  algorithms n Logical thinking n Ability to analyze a process n Capability to identify and troubleshoot  problems n Patience and persistence

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Office Hours and Textbooks n B505 Pierpont Commons n Mon 12:30pm – 3pm n Mon/Wed 4:30pm – 6pm n Intro to Engineering Programming n James Holloway, 2004 n ISBN:  0471202150 n MATLAB: An Introduction with Applications, 3rd  Ed n Amos Gilat, 2007

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Your GSIs and IAs n Sayan Bhattacharyya [email protected] n Mike Diaz [email protected] n Kim Khalsa [email protected] n David Lorch [email protected] n Cat McGhan [email protected] n
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 72

01 Introduction Algorithms and Programs - Engineering101 n...

This preview shows document pages 1 - 17. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online