ENGR-25_MATLAB_AppMath_ProbSolve.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed.

Slides:



Advertisements
Similar presentations
Introduction to MATLAB Northeastern University: College of Computer and Information Science Co-op Preparation University (CPU) 10/20/2003.
Advertisements

MATLAB for Scientist and Engineers
Engineering Computation using MATLAB
ENGR-25_Lec-25_SimuLink-2.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
Introduction to MATLAB Northeastern University: College of Computer and Information Science Co-op Preparation University (CPU) 10/22/2003.
© 2011 Xilinx, Inc. All Rights Reserved Intro to System Generator This material exempt per Department of Commerce license exception TSU.
DCT 1123 PROBLEM SOLVING & ALGORITHMS INTRODUCTION TO PROGRAMMING.
ENGR-25_MATLAB_AppMath_ProbSolve.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed.
ENGR-25_MATLAB_OverView-1.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
Chapter 8: Problem Solving
ENGR-25_HW-01_Solution.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
MATLAB Tutorials Session I Introduction to MATLAB Rajeev Madazhy Dept of Mechanical Engineering LSU.
Introduction to M ATLAB EE 100 – EE Dept. - JUST.
ENGR-25_MTExam_Logisitics.pptx 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
Brandon Graham Putting The Practices Into Action March 20th.
Lecture 4 MATLAB Windows Arithmetic Operators Maintenance Functions
A L I MAM M OHAMMAD B IN S AUD I SLAMIC U NIVERSITY C OLLEGE OF S CIENCES D EPARTMENT OF M ATHEMATICS MATLAB 251 : MATH SOFTWARE Introduction to MATLAB.
ENGR-25_MTExam_Logisitics.pptx 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
CSC-115 Introduction to Computer Programming
An Introduction to Programming and Algorithms. Course Objectives A basic understanding of engineering problem solving process. A basic understanding of.
TMF1013 : Introduction To Computing Lecture 1 : Fundamental of Computer ComputerFoudamentals.
Computational Physics Introduction 3/30/11. Goals  Calculate solutions to physics problems  All physics problems can be formulated mathematically. 
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
Matlab for Engineers About Matlab Chapter 1. Matlab for Engineers What’s in this Chapter? What is Matlab? Student Edition of Matlab How is Matlab used.
ENGR-25_MATLAB_OverView-1.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
Getting Started with MATLAB 1. Fundamentals of MATLAB 2. Different Windows of MATLAB 1.
MATLAB Harri Saarnisaari, Part of Simulations and Tools for Telecommunication Course.
ENGR-25_Programming-3.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
240-Current Research Easily Extensible Systems, Octave, Input Formats, SOA.
Introduction to LabVIEW 8.5
ENGR-25_MATLAB_OverView-2.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
Chapter 1: Brief Overview of MATLAB MATLAB for Scientist and Engineers Using Symbolic Toolbox.
Numerical Analysis Intro to Scientific Computing.
FAQ_Which_Courses_Should_I_Take_Chabot_Engineering_0505.ppt 1 Bruce Mayer, PEIntroduction to Engineering Bruce Mayer, PE Licensed.
EGR 115 Introduction to Computing for Engineers Introduction to Computer Programming Wednesday 27 Aug 2014 EGR 115 Introduction to Computing for Engineers.
MTH55_Lec-34_sec_6-6_Rational_Equations.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical &
Introduction to MATLAB Northeastern University: College of Computer and Information Science Co-op Preparation University (CPU) 10/20/2003.
M ATLAB – What Is It ? Name is from matrix laboratory Powerful tool for – Computation and visualization of engineering and science mathematics – Communication.
The single most important skill for a computer programmer is problem solving Problem solving means the ability to formulate problems, think creatively.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 2 : Matlab - Getting Started.
Section 3.5 Solving Systems of Linear Equations in Two Variables by the Addition Method.
General Analysis Procedure and Calculator Policy Calculator Policy.
ENGR-25_HW-01_Solution.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
Introduction to Computer Programming using Fortran 77.
© ENGR-43_Prob_14-32_OpAmp_OutPut_Current.pptx 1 Bruce Mayer, PE Engineering-43 Electrical Circuits & Devices Bruce Mayer, PE.
ENGR-25_HW-01_Solution.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
M ATLAB – What Is It ? Name is from matrix laboratory Powerful tool for – Computation and visualization of engineering and science mathematics – Communication.
ENGR-25_Linear_Regression_Tutorial.ppt 1 Bruce Mayer, PE Engineering-25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer.
Solving Engineering Problems
CSCI-235 Micro-Computer Applications
Software for scientific calculations
MatLab Programming By Kishan Kathiriya.
Welcome to MATLAB.
Introduction to Matlab ( Google Search )
Intro to PHP & Variables
Computer Science I CSC 135.
Part I – Matlab Basics.
Licensed Electrical & Mechanical Engineer
MATLAB – What Is It ? Name is from matrix laboratory Powerful tool for
MATLAB – What Is It ? Name is from matrix laboratory Powerful tool for
Solving Engineering Problems
MATLAB – What Is It ? Name is from matrix laboratory Powerful tool for
Computer Science Testing.
Programming.
Licensed Electrical & Mechanical Engineer
Introduction to MATLAB
Introduction to Computer Programming
Tonga Institute of Higher Education IT 141: Information Systems
Tonga Institute of Higher Education IT 141: Information Systems
Prob 9-28 Solution Tutorial
Presentation transcript:

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer Engr/Math/Physics 25 Applied Math Problem Solving

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 2 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods First A Note on Cheap Software  All ENGR25 Students have No-Charge Access to MATLAB software in the Rm1813-Lab & Rm3906-STEMcenter  For Students who want Home-Access, the MathWorks Company Makes Available an Inexpensive MATLAB Version for Student use  Student Version Cost = $99.00 (+ Shipping)

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 3 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods ademia/student_version/

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 4 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Only $99 (it’s worth it)

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 5 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Strategy for Learning ENGR25  ENGR25 is, primarily, an Engineering PROBLEM SOLVING Class With a Very Large SOFTWARE (MATLAB & Excel) Component  The BEST Way to Learn ANY Piece of Software (and most Hardware):

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 6 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Refined Learning Strategy 1.HACK, HACK, and HACK some more 2. Read The TEXTbook §-by-§ 3.When you come to a NEW software Command/Tool, TRY it IMMEDIATELY (TYU’s are good) 4.Consult MATLAB Help It’s Quite Useful Actually 5.Consult with your Colleagues

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 7 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods ENGR25 Important??!!  This Class is NOT an Academic Exercise  The PROBLEM SOLVING SKILLS and MATLAB APPLICATION PROFICIENCY are PROFESSIONALLY IMPORTANT That is, an Engineering STUDENT who LEARNS these Skills we be able to USE them ON THE JOB as a PRACTICING ENGINEER

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 8 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Problem Solving

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 9 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Academic Honesty - Coding  Students may collaborate on understanding lectures, labs, text, problem-statements.  Students may discuss the DESIGN of a program. All Students must then write his/her OWN MATLAB ® code  Students may get help from Fellow students while writing your programs only by: Asking them to POINT OUT an error, but NOT to FIX it Asking Them to EXPLAIN MATLAB syntax Using a DIFFERENT example than the program under consideration

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 10 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Copy HW Code  Crash&Burn Exams HW Cheaters

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 11 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Copy Code??!!  Trying to Learn COMPUTER PROBLEM SOLVING by Copying SOMEONE ELSE’S CODE is like trying to get into athletic-condition by Watching SOMEONE ELSE WORK OUT…..  There is NO Substitute for Personally STRUGGLING with the Course Material ☺☺☺

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 12 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods ENGR25 Bottom Line  ENGR25 is NOT (only) a MATLAB/Excel class; it's a THINKING Class...  Students should be Prepared to do LOTS of (often Frustrating) THINKING

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 13 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods AppMath Problem Solving Steps 1.Understand the PURPOSE of the problem. 2.Collect the KNOWN information. Realize that some of the information might later be found UNNECESSARY. 3.Determine what information YOU MUST find. 4.SIMPLIFY the problem only enough to obtain the required information. State any ASSUMPTIONS you make.

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 14 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Assumption Digression  BMayer 2001 JVST Paper

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 15 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Assumption Digression  PARTIAL Assumption List 100% Vapor Saturation at Bubble Edge Gases in bubble behave as perfect gases Bubbles are Spherical –Radial Symmetry Diffusion Coefficient is Constant

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 16 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Problem Solving Steps cont 5.DRAW A SKETCH and label any necessary variables. 6.Determine which FUNDAMENTAL PRINCIPLES apply to the problem. 7.Think GENERALLY about your PROPOSED SOLUTION approach and CONSIDER OTHER APPROACHES before proceeding with the details.

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 17 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Problem Solving Steps cont 8.LABEL each STEP in the solution process. 9.If you solve the problem with a software program, HAND CHECK the results using a simple version of the problem. Checking the DIMENSIONS and UNITS and printing the results of intermediate steps in the calculation sequence often reveals mistakes.

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 18 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Problem Solving Steps cont 10.Perform a “reality check” on your answer. Does it make sense? Estimate the range of the expected result and compare it with your answer. Do not state the answer with greater precision than is justified by any of the following: a)The precision of the given information. b)The simplifying assumptions. c)The requirements of the problem.

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 19 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Interpret the Mathematics  If the mathematics produces multiple answers, do not discard any of them without considering what they mean.  The mathematics might be trying to tell you something, and you might miss an opportunity to discover more about the problem.

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 20 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Computer Solution Steps 1.State the problem CONCISELY. 2.Specify the data to be used by the program. This is the “INPUT.” 3.Specify the information to be generated by the program. This is the “OUTPUT.” 4.Work through the solution steps by HAND or with a CALCULATOR; use a SIMPLER set of data if necessary.

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 21 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Computer Solution Steps cont 5.Write and run the program. 6.CHECK the output of the program by comparing with your HAND solution. 7.Run the program with your input data and perform a REALITY CHECK on the output. 8.If you will use the program as a general tool in the future, test it by running it for a RANGE of reasonable data values; perform a reality check on the wide-ranging results.

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 22 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MATLAB is More Popular Than  PERL  Assembly Language  HTML  Visual Basic…

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 23 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MATLAB History  MATLAB = MATrix LABoratory  Developed by Prof. Cleve Moler of New Mexico State University  Originally a user interface for numerical Linear Algebra (LinPack) or EigenValue Problems (EisPack)  In early 1983, Jack Little was exposed to MATLAB During a visit made to Prof. Moler Made to Stanford University Moler

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 24 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MATLAB History  In 1983 Little teamed up with Moler and Steve Bangert to develop a second generation, professional version of MATLAB written in C and integrated with graphics.  The MathWorks, Inc. was founded in 1984 to market and continue development of MATLAB It has become a de-facto standard for PC-Based Hi-Perf “Math Processors” Little

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 25 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MATLAB Construction  Core functionality: compiled C-routines  Most functionality is given as Stored “m” files, grouped into “ToolBoxes”  m-files contain source code, can be copied and altered  m-files are platform independent (Windows/Intel, Unix/Linux, MAC)  Simulation of dynamic systems is performed in the SIMULINK SubEnvironment ToolBox

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 26 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Next Time → use MATLAB Covered in ENGR25

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 27 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods 1 st Tutorial → MATLAB Videos  1. MATLAB Overview html  2. Getting Started with MATLAB matlab html;jsessionid=7ca eabf3f05f24766  3.Writing a MATLAB Program html  4. Getting Started with SinuLink simulink html?s_tid=srchtitle

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 28 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Video References  The "LaunchPad" Page with-matlab-tutorials.html  MATLAB Examples Page amples.htmlhttp:// amples.html  Give them a look….

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 29 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods First ENGR25 Tutorial  MATLAB Video Tutorials with-matlab-tutorials.html

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 30 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Additional Useful Videos (Fa16)

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 31 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Engineering 25

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 32 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Fa16

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 33 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods First ENGR25 Tutorial  HW Presentation  Save MATLAB work to MSWord file Trapezoid area, 3x3 Eqn System, cosh calculation, plot y = ln(t+.02)·sin(1.3t)

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 34 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MATLAB Student Resources

ENGR-25_MATLAB_AppMath_ProbSolve.ppt 35 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods 3x3 from ENGR43  For The DC Linear Circuits We Will need to Solve Systems Of Algebraic Equations