Developing a Solution How to create the computer-based solution for a real-world problem. The steps - Examples for each step.

Slides:



Advertisements
Similar presentations
Unit 3 Energy and Work.
Advertisements

A force applied over a surface is pressure.
Experiments and Variables
Vectors and Scalars Scalars have magnitude only e.g. mass, speed, distance Vectors have magnitude and direction e.g. force of 10 N to the left.. Velocity,
Physics Lab 2008-Energy. Linear Work  The act of exerting a force through a distance in the direction of the force (constant)  W = F  x cos   F =
Introduction to Physics
ENG. SAMRA ESSALAIMEH PHILADELPHIA UNIVERSITY 2 ND SEMESTER Thermo-Fluid.
Engineering Fundamentals and Problem Solving, 6e
Mr. Polard Sixth Grade Physical Science
Problem Solving: Practice & Approaches 1.Practice solving a variety of problems 2.Strategies for solving problems 3.More Practice 1.
Problem Solving Using Common Engineering Concepts Introduction to Mechanical Engineering The University of Texas-Pan American College of Science and Engineering.
SHEAR AND BENDING MOMENT DIAGRAMS IN HORIZONTAL BEAMS WITH
Work, Energy, and Power H.W. Ch. 5 Read and Write for the whole chapter. ½ page per section All problems.
Objectives Recognize the difference between the scientific and ordinary definitions of work. Define work by relating it to force and displacement. Identify.
S8P3. Students will investigate relationship between force, mass, and the motion of objects. c. Demonstrate the effect of simple machines (lever, inclined.
Results from kinetic theory, 1 1. Pressure is associated with collisions of gas particles with the walls. Dividing the total average force from all the.
Lecture 2 1.Computing Developing a Solution 3.Problem Solving.
Developing a Solution How to create the computer-based solution for a real-world problem. 1.
Chapter Seven: Energy  7.1 Energy and Systems  7.2 Conservation of Energy  7.3 Energy Transformations.
Kinetic Molecular Theory of Matter
Chapter 1 Introduction. 2 Hints on Problem Solving First –Make a sketch –Mark on it what you want to know –Identify what you are trying to determine This.
Today’s Plan: Tests are graded Energy Lecture Work – Energy Lab
An Introduction to Programming and Algorithms. Course Objectives A basic understanding of engineering problem solving process. A basic understanding of.
Chapter 9: Rotational Dynamics
Final Exam Review Phys 221 SUPPLEMENTAL INSTRUCTION Good Luck!
Physics Vocabulary 5 th Grade Term 3. Energy energy- the ability to do work or cause change kinetic- the energy of motion potential- energy of position.
Developing a Solution How to create the computer-based solution for a real-world problem. 1.
Chapter 13 Work and Energy
Developing a Solution Getting past the panic of staring at a “blank sheet” of paper when solving a problem 1.
Statics Statics is concerned with the equilibrium of bodies that are at rest or moving with a constant velocity Dynamics is concerned with bodies that.
Statics & Dynamics University of Ontario Institute of Technology ENGR 2020.
Energy Transformations and Conservation of Mechanical Energy 8
Problem Solving: Practice & Approaches 1.Practice solving a variety of problems 2.Strategies for solving problems 3.More Practice 1.
Developing a Solution Getting past the panic of staring at a “blank sheet” of paper when solving a problem 1.
Chapter 14 Fluids What is a Fluid? A fluid, in contrast to a solid, is a substance that can flow. Fluids conform to the boundaries of any container.
Energy Transformations and Conservation of Mechanical Energy 8.01 W05D2.
Work and Energy. Work Done by a Constant Force The work done by a constant force is defined as the distance moved multiplied by the component of the force.
CMPS 1371 Introduction to Computing for Engineers PRINCIPLES OF PROBLEM SOLVING.
Unit 4, Chapter 10 CPO Science Foundations of Physics Chapter 9.
Work and Energy 10.1 Machines and Mechanical Advantage 10.2 Work
Chapter 5: Work, Energy, & Power Section 5.1: Work pages 83 to 86 Section 5.2: Energy Conservation pages 87 to 90 Sections 5.3: Energy Transformations.
Machines and MA Page Simple machines ► Means a machine that only uses the forces directly applied and accomplishes its work with a simple motion.
200 Physics Concepts from Delores Gende Website
Chapter 1 INTRODUCTION AND OVERVIEW
Chapter 14 Fluids.
CHAPTER 15 Thermodynamics Thermodynamic Systems and Their Surroundings Thermodynamics is the branch of physics that is built upon the fundamental.
Energy, Simple Machines and Engineering Design Principles.
Work, Power & Energy How do they relate? (Stone, Ebener, Watkins)

Chapter 10: Work and Energy  10.1 Machines and Mechanical Advantage  10.2 Work  10.3 Energy and Conservation of Energy.
MECHANICS Ms. Peace Introduction. Sequence 1.1 What is Mechanics? 1.1 What is Mechanics? 1.2 Fundamental Concepts and Principles 1.2 Fundamental Concepts.
Problem Solving: Practice & Approaches 1.Practice solving a variety of problems 2.Strategies for solving problems 3.More Practice 1.
USSC2001 Energy Lecture 3 Thermodynamics of Heat Wayne M. Lawton Department of Mathematics National University of Singapore 2 Science Drive 2 Singapore.
© 2005 Pearson Prentice Hall This work is protected by United States copyright laws and is provided solely for the use of instructors in teaching their.
Today: (Ch. 3) Tomorrow: (Ch. 4) Apparent weight Friction Free Fall Air Drag and Terminal Velocity Forces and Motion in Two and Three Dimensions.
Fundamental (First) Principles of Fluid Mechanics
Physics Chapter 1: The Science of Physics.  Physics Is Everywhere!  Motion  Heat  Sound  Light  Electricity.
BASIC ALGEBRA Some variable expressions may be simplified. The expression above can be simplified by collecting like terms. Like terms can be collected.
Chapter 1 The Nature of Science.
10.1 Machines and Mechanical Advantage
Unit 1 - Introduction to Matter
Time for notetaking FLASHCARDS!
How to take notes… The Crainum Way!
Chapter One Thermal-fluid sciences involve the transfer, transport, and conversion of energy, usually studied under the subcategories of thermodynamics,
Chapter 1 - General Principles
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
The World of Physical Science Chapter 1
Introduction.
Introduction.
Statics Dr. Aeid A. Abdulrazeg Course Code: CIVL211
Presentation transcript:

Developing a Solution How to create the computer-based solution for a real-world problem. The steps - Examples for each step

General Idea of This Lesson Give you methodology (i.e. a recipe) Example problems: “Find the optimum nozzle dimensions for …” “Solve for the optimum path for the robot …” “Find the range of temperatures adequate for …” In EGR115, most tasks will be: “Develop a program that ……”

General Terms Keep in mind there are 2 sides to software The person who writes software: the programmer The person who uses software: the user (i.e. client)

“The programmer should make the user’s life easy.” General Terms Keep in mind there are 2 sides to software The person who writes software: the programmer The person who uses software: the user (i.e. client) As you (the student) develop software, you will constantly jump back and forth between the two roles. Your goal: “The programmer should make the user’s life easy.” Clear directions Clear units Examples of answers Clean presentation

Scientific Problem-Solving Method An everyday part of the engineer’s thought process. “If these steps are properly executed during the solution of problems in this text and all other courses, it is our belief that you will gradually develop an ability to solve a wide range of complex problems.” Engineering Fundamentals and Problem Solving, Eide, Jenison, Mashaw and Northup

Where do I even start? ME408 Clean Thermal Power Systems

Scientific Problem-Solving Method Problem Statement Diagram Theory Assumptions Solution Steps Identify Results & Verify Accuracy Computerize the solution Deduce the algorithm from step 5 Translate the algorithm to lines of code Verify Results

Scientific Problem-Solving Method Problem Statement Diagram Theory Assumptions Solution Steps Identify Results & Verify Accuracy Computerize the solution Deduce the algorithm from step 5 Translate the algorithm to lines of code Verify Results “coding” is very late in the process. NEVER create a program to “solve” a problem. => Create a program to re-use the solution for other sets of givens.

Scientific Problem-Solving Method Problem Statement Summarize the given information Must contain all essential information, units included! GET RID OF useless information! State what is to be determined Diagram Theory Assumptions Solution Steps Identify Results & Verify Accuracy Computerize the solution

Example – Aerospace Engineering Pb: ideal gas law Givens Temperature (Kelvin) Volume (meters cubed) n : chemical amount of gas (moles) R : gas constant R = 8.3144 Joules/(moles*Kelvin) Solve for The pressure (Pascals) http://www.epa.gov/eogapti1/bces/module2/idealgas/idealgas.htm

Example – Mechanical Engineering R2 = 60lb R3 = 20lb Pb: Stress on a beam Givens Load 1: R1 = 10lb Load 2: R2 = 60lb Load 3: R3 = 20lb Load 4: R4 = 50lb Distances from start of beam to load2: 5ft Distance between load2 and 3: 15ft Distance between load3 and end of beam: 7ft Solve for shear diagram moment diagram 5ft 15ft 7ft square beam R1 = 10lb R4 = 50lb

Example – Civil Engineering Pb: Elongation of rod Givens diameter of rod: 0.5in length of rod: 6ft weight of load: 2000lbs material: steel Solve for normal stress in rod (psi) strain (elongation for 1 unit) in the rod (in./in) elongation of rod (inches) 6ft 2000 lbs

Scientific Problem-Solving Method Problem Statement Diagram Sketch Diagrams Indicate all dimensions Theory Assumptions Solution Steps Identify Results & Verify Accuracy Computerize the solution

Example – Aerospace Engineering http://hsc.csu.edu.au/engineering_studies/focus/aero/3057/Graphics.html http://www.universetoday.com/29317/how-to-keep-asteroids-away-tie-them-up/ http://txchnologist.com/post/31532018204/txchnical-improvements-combining-rockets-and-jets-for

Example – Civil Engineering http://map.ua.edu/resources/

Example – Electrical Engineering

Scientific Problem-Solving Method Problem Statement Diagram Theory State/List all equations that will be used Explain all variables This step will be simple as a Freshmen, but may get to pages and pages of derivations in Senior year! Assumptions Solution Steps Identify Results & Verify Accuracy Computerize the solution

Example – General Equations Volume of a sphere Equation of a line V = 4/3*∏*R^3 y = m*x + b Volume of a cube Slope V = L^3 m = Δy/Δx = (y2-y1)/(x2-x1) Newton’s second law of motion Weight W = mass * g F = m*a

Example – ME/AE Engineering If the system is in equilibrium, ΣF = 0 (“sum of all forces equals zero”) Bernoulli’s Principle (fluid dynamic)

Example – Electrical/Civil Engineering Ohm’s law V = R*I (V=voltage (V), R=resistance (Ω), I=current (A)) Electrical Power (i.e. Work) P = V * I (P = power, in Watts) Potential Energy Penergy = w * h (W=weight (Newtons), h=height (m), P (Joules)) Kinetic Energy Kenergy = ½*m * v2

Scientific Problem-Solving Method Problem Statement Diagram Theory Assumptions List any assumptions (physical, mathematical, …) Make them clear to the reader Solution Steps Identify Results & Verify Accuracy Computerize the solution

For example… Assume no friction Assume wall thickness is negligible Assume initial speed is zero Assume mass of object is negligible Aerodynamics: Assume laminar flow (i.e. no turbulence) Thermodynamics: Assume geometry of a turkey is that of an American football Solids: assume system is in equilibrium

Scientific Problem-Solving Method Problem Statement Diagram Theory Assumptions Solution Steps Show all complete steps and equations Number the equations if it helps you Detail each step precisely, even those that seem trivial to you Choose actual numerical values if needed The READER is the one who needs to understand Identify Results & Verify Accuracy Computerize the solution

Examples Number the equations © FrigginPhysics.com

Scientific Problem-Solving Method Problem Statement Diagram Theory Assumptions Solution Steps Identify Results & Verify Accuracy Circle your answer(s), draw a square around it, underline Make sure they have units VERIFY that the answer is plausible, realistic Computerize the solution

Identify Results Make sure the solutions are clearly identified example: boxed, circled, colored, underlined, centered… © FrigginPhysics.com

Verify Do the values match/verify the diagram? Common sense Visually Time cannot be negative Distance cannot be negative Visually If you drew a scaled diagram, verify that the results match the drawing? Is it realistic? Drive Time = 394,242,305,932seconds? Vrunner = 217.5 miles/hr When turning in homework, always work on fixing errors, but if you fail, at least indicate “something wrong, this is unrealistic”… before turning it in.. http://www.hardenedshelters.com/underground.asp

Last but not least!!! Presenting the data Paper, or machine Either way: Clearly present the information Words and sentences must explain what’s going on each step Skip lines, space things out! not everything has to fit on the top left corner!!!!

Bad Presentations inadequate paper size, incomplete (missing data, and units), change of orientation, no breathing room… where are the results?! Semester 2012 Fall http://www.math.mcgill.ca/rags/JAC/ddb121.html

Scientific Problem-Solving Method Problem Statement Diagram Theory Assumptions Solution Steps Identify Results & Verify Accuracy Computerize the solution Deduce the algorithm from step 5 Translate the algorithm to lines of code Verify Results If all steps above were done thoroughly, this step 7 should not be mind-stressing. b. and c. is what will be learned all this semester!

7.a. Deduce the algorithm In mathematics and computer science, an algorithm is a step-by-step procedure for calculation. (Wikipedia) More precisely, an algorithm is an effective method expressed as a finite list of well-defined instructions for calculating a function. (Wikipedia) Algorithms must not be complex! should be detailed/organized must be general enough for different values of inputs Simple problem = simple algorithm Complex problem = detailed algorithm

Example The problem The algorithm Define base and height Calculate area Display result OR Define side1 and 2’s length Define angle between the two sides height=6m base=3m “detailed yet general” side 1=25m side 2 = 45m angle = 26.5deg

Wrapping Up Determine what the problem is about: givens/solve for Use diagrams to help, if possible to scale! Careful with units Solve step by step – DETAILED. Make clear where are the results VERIFY the 1)reality and 2)accuracy of your result then code… NEVER code immediately Vocabulary: user, programmer, algorithm

Try it yourself Apply steps 1 through 7a. for the following problem You’re buying this odd shaped land. Cost of land is $100,000/acre. Given the following data (expressed in meters), how much do you expect to pay for this land?