Chapter 1 Computing Tools Analytic and Algorithmic Solutions Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Slides:



Advertisements
Similar presentations
Motion in Two Dimensions
Advertisements

Kinematics of Particles
Chapter 3 Falling Objects and Projectile Motion
Chapter 4 Two-Dimensional Kinematics PowerPoint presentations are compiled from Walker 3 rd Edition Instructor CD-ROM and Dr. Daniel Bullock’s own resources.
Page 24 #10 If the stone had been kicked harder, the time it took to fall would be unchanged.
Ideal Projectile Motion
Chapter 1 Computing Tools Data Representation, Accuracy and Precision Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Parametric Equations Here are some examples of trigonometric functions used in parametric equations.
CVEN Computer Applications in Engineering and Construction Dr. Jun Zhang.
Motion Along a Straight Line
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Mathematical Modeling and Engineering Problem solving.
Chapter 9 Numerical Integration Numerical Integration Application: Normal Distributions Copyright © The McGraw-Hill Companies, Inc. Permission required.
Non-Linear Simultaneous Equations
Unit 8 POE Ballistic Device
What is Projectile Motion?
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
AIM: How can we describe the path of an object fired horizontally from a height above the ground? DO NOW: A ball rolls off a table top with an initial.
SACE Stage 2 Physics Motion in 2 Dimensions.
Chapter 9 Numerical Integration Flow Charts, Loop Structures Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 6 Finding the Roots of Equations
Chapter 1 Computing Tools Analytic and Algorithmic Solutions Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
10 extra topic: Projectile Motion Greg Kelly, Hanford High School, Richland, Washington Photo by Vickie Kelly, 2002 Fort Pulaski, GA.
An Introduction to Programming and Algorithms. Course Objectives A basic understanding of engineering problem solving process. A basic understanding of.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 2.
Projectile Motion Horizontally Launched Projectiles Projectiles Launched at an Angle A.S – Due Friday, 11/14 Text Reference: chapter 3.
Kinematics in 2-D Concept Map
Vector-Valued Functions 12 Copyright © Cengage Learning. All rights reserved.
10.4 Projectile Motion Greg Kelly, Hanford High School, Richland, Washington Photo by Vickie Kelly, 2002 Fort Pulaski, GA.
Introduction to Projectile Motion
Physics - Chapter 3.
Physics Lesson 6 Projectile Motion Eleanor Roosevelt High School Mr. Chin-Sung Lin.
Physics Lesson 6 Projectile Motion
10.4 Projectile Motion Fort Pulaski, GA. One early use of calculus was to study projectile motion. In this section we assume ideal projectile motion:
Introduction to Engineering Systems Copyright ©2000, University of Notre Dame Module 1: Mechanical Systems Professor Flint O. Thomas Department of Aerospace.
Copyright Sautter Motion in Two Dimension - Projectiles Projectile motion involves object that move up or down and right or left simultaneously.
Copyright © 2007 Pearson Education, Inc. Slide 3-1.
PHYS 20 LESSONS Unit 2: 2-D Kinematics Projectiles Lesson 5: 2-D Projectiles.
Projectile Motion Practice Problems #1:  A ball is fired from a launcher with an initial velocity of 20.0 m·s -1 at an angle of 30.0° to the horizontal.
CHAPTER 6 MOTION IN 2 DIMENSIONS.
Part 1 Chapter 1 Mathematical Modeling, Numerical Methods, and Problem Solving PowerPoints organized by Dr. Michael R. Gustafson II, Duke University and.
Motion in Two Dimensions Chapter 7.2 Projectile Motion What is the path of a projectile as it moves through the air? Parabolic? Straight up and down?
In chapter 1, we talked about parametric equations. Parametric equations can be used to describe motion that is not a function. If f and g have derivatives.
Position and Displacement If we want to locate a point in space we can use a position vector that extends from a reference point to the location we are.
Two Dimensional Motion Two components: Horizontal (x-axis) & Vertical (y-axis)
Physics 111 Projectile Motion 2.0.
Part 1 Chapter 1 Mathematical Modeling, Numerical Methods, and Problem Solving PowerPoints organized by Dr. Michael R. Gustafson II, Duke University and.
PHYSICS 103: Lecture 5 Agenda for Today: Review HW Solutions
Physics.  A projectile is any object that has been launched with no means of controlling its own flight…it is in free-fall motion while at the same time.
Projectile Motion.
Chapter 1 Computing Tools Variables, Scalars, and Arrays Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Motion in Two and Three Dimensions Chapter 4. Position and Displacement A position vector locates a particle in space o Extends from a reference point.
Projectile/Relative Motion
Key Areas covered Projectiles and satellites.
Physics Lesson 6 Projectile Motion
10.4 Projectile Motion Fort Pulaski, GA Mackinaw Island, Michigan
Accuracy and Precision
What is Projectile Motion?
Projectile Motion 2 Launch Angles (symmetrical trajectories)
King Fahd University of Petroleum & Minerals
Projectile Motion.
Projectile motion Projectile Motion Subject to Gravity Assumptions:
Bellringer What is the difference between the words vertical and horizontal? What does the word projectile mean? How is one dimensional (1D), two dimensional.
Motion in 2D (Projectiles!!) Test Monday October 15th
Chapter 3: Polynomial Functions
Chapter 3: Polynomial Functions
Projectile Motion With Air Resistance
What is Projectile Motion?
Motion in Two Dimensions
College Physics, 7th Edition
Projectile Motion.
Presentation transcript:

Chapter 1 Computing Tools Analytic and Algorithmic Solutions Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Computing Proficiency for Engineers Software Helps Engineers Do Their Jobs – Get Information: Web of Science, Google – Present information and Proposals: PowerPoint – Design: Discipline-specific tools, General Computational Tools – Analyze: Computational Tools, Discipline-specific tools Matlab, Excel, Mathematica, MathCad, Finite Element – Test and Implement: Data acquisition: LabView, Basic Stamp, etc. Statistics: SPSS, SAS, MiniTab, S+, R, etc. – Report: Word, Adobe Design Suite, Framemaker, LaTeX, emacs Engineering Computation: An Introduction Using MATLAB and Excel

Computational Tools Used for “everyday” tasks of engineering: – Programming for repetitive calculations – Data analysis – Plotting Many choices: – Programming languages such as C++, Fortran, BASIC – Mathematical computational tools such as MATLAB, Mathematica, Mathcad, Maple – Spreadsheets, such as Microsoft Excel Engineering Computation: An Introduction Using MATLAB and Excel

Computational Tools MATLAB – Product of MathWorks, Inc. – Widely used by engineers in academia and in industry – Combines a calculator-type interactive mode and powerful programming tools Excel – Spreadsheet application of Microsoft Office – Originally designed for business use, but now contains many commands and features that are useful for engineering analysis Engineering Computation: An Introduction Using MATLAB and Excel

Analytic and Algorithmic Solutions Analytic: Exact solution, based on the application of mathematics Algorithmic: Approximate solution, based on the application of a computational procedure (the algorithm) Engineering Computation: An Introduction Using MATLAB and Excel

Example Consider this problem of projectile motion: A ball is fired with an initial speed of 10 m/s, at an angle of 35 degrees relative to the ground. We want to find the maximum height, the location at which the ball hits the ground, and the total flight time. Engineering Computation: An Introduction Using MATLAB and Excel

Mathematical Model So we now have equations for the height and the horizontal distance as functions of time: Engineering Computation: An Introduction Using MATLAB and Excel

Assumptions Before proceeding to the solution of the problem, it is important to recognize the assumptions that have been made in the formulation of the mathematical model: 1.There is no air resistance (the weight is the only force considered) 2.The ground if flat and level (the height is measured relative to the initial position) 3.The launch point is even with the ground (the height of the cannon is neglected) 4.The gravitational “constant”must be correct for your altitude Engineering Computation: An Introduction Using MATLAB and Excel

Analytic Solution Find time when slope of height is zero Engineering Computation: An Introduction Using MATLAB and Excel

Analytic Solution This solution requires calculus (as did the formulation of the mathematical model) To find an extreme value of the height, we differentiate the expression for height with respect to time: Of course this rate of change of height is the vertical velocity, and is equal to zero when an extreme value is reached Engineering Computation: An Introduction Using MATLAB and Excel

Analytic Solution (cont.) Setting the rate of change of height equal to zero, we get the value of time for which the height is maximized: Substituting the values of the constants, Engineering Computation: An Introduction Using MATLAB and Excel

Analytic Solution (cont.) To find the maximum height, we substitute the time t = seconds into the equation for height: So h max = 1.68 meters Engineering Computation: An Introduction Using MATLAB and Excel

Algorithmic Solution For the algorithmic solution, we will numerically evaluate the equations at different values of time until we find the approximate answer Let’s consider the maximum height, using the equation Engineering Computation: An Introduction Using MATLAB and Excel

Algorithmic Solution (cont.) Here is our solution algorithm for finding the maximum height, written in pseudocode: Engineering Computation: An Introduction Using MATLAB and Excel

Algorithmic Solution (cont.) Smaller intervals = better accuracy but more calculation steps, larger intervals = less accuracy but fewer steps. Solution with time intervals of 0.1 seconds: Engineering Computation: An Introduction Using MATLAB and Excel

Comparison of Solutions Note that the algorithmic solution converges to the exact solution as the time interval is decreased How many intervals should be used? Depends on how accurate the solution needs to be – we will discuss this further when we address accuracy and precision Engineering Computation: An Introduction Using MATLAB and Excel

Why Use an Algorithmic Solution? If we can find an exact solution, why use an algorithm? There are many problems faced by engineers in which an exact solution does not exist, or may be very difficult to obtain In other cases, an algorithmic solution provides a check to ensure that the exact solution is correct Engineering Computation: An Introduction Using MATLAB and Excel

A Note About the Analytic Solution Remember that what we call the “exact” analytic solution is the exact solution of the mathematical model – not of the physical problem In the case of the cannon ball, recall that we made several assumptions, such as neglecting air resistance The actual flight of the cannon ball may be very close to or very different from the results of the mathematical model, depending on the validity of the assumptions Engineering Computation: An Introduction Using MATLAB and Excel