Engr 0012 (04-1) LecNotes 01-01 Engineering 0012 Introduction to Engineering Computing Dr. Patzer B68D Benedum Hall Office: 412.624.9819

Slides:



Advertisements
Similar presentations
PERFORMING CALCULATIONS IN SCIENTIFIC NOTATION
Advertisements

Introduction to Scientific Computing ICE / ICE 508 Prof. Hyuckjae Lee KAIST- ICC
Functions.
Solving Linear Equations Rule 7 ‑ 1: We can perform any mathematical operation on one side of an equation, provided we perform the same operation on the.
Introduction to MATLAB 7 for Engineers
Chapter 11 Additional Intrinsic Data Types Dr. Ali Can Takinacı İstanbul Technical University Faculty of Naval Architecture and Ocean Engineering İstanbul.
EXAMPLE 1 Solve quadratic equations Solve the equation. a. 2x 2 = 8 SOLUTION a. 2x 2 = 8 Write original equation. x 2 = 4 Divide each side by 2. x = ±
How do I find the surface area and volume of a sphere?
1.1 Numbers Classifications of Numbers Natural numbers {1,2,3,…}
Introduction to MATLAB ENGR 1187 MATLAB 1. Programming In The Real World Programming is a powerful tool for solving problems in every day industry settings.
1 MATLAB 基礎. 2 MATLAB  Workspace: environment (address space) where all variables reside  After carrying out a calculation, MATLAB assigns the result.
Chapter 4 MATLAB Programming Combining Loops and Logic Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Warm Up #7 (Page 28) 10/9/2014 Round the following numbers to 2 significant figures (Write the question) 1) g 2) 124,000 m 3)1.25 cm Perform the.
Physics 621 Math Review SCIENTIFIC NOTATION Scientific Notation is based on exponential notation (where decimal places are expressed as a power of 10).
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
THE MATLAB ENVIRONMENT VARIABLES BASIC COMMANDS HELP HP 100 – MATLAB Wednesday, 8/27/2014
1 Lecture 5 Floating Point Numbers ITEC 1000 “Introduction to Information Technology”
Physics 521 Math Review SCIENTIFIC NOTATION Scientific Notation is based on exponential notation (where decimal places are expressed as a power of 10).
Aim: How can we perform mathematical calculations with significant digits? Do Now: State how many sig. figs. are in each of the following: x 10.
Significant Figures in Mathematical Operations The result of the mathematical operation cannot be expressed to any greater degree of certainty than the.
Do Now: 1.How many significant figures are in the following: a) b) c) d) Convert the following to scientific notation: a)67000.
ECE 1304 Introduction to Electrical and Computer Engineering Section 1.1 Introduction to MATLAB.
Significant Figures and Scientific Notation Significant Figures:Digits that are the result of careful measurement. 1.All non-zero digits are considered.
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.
Introduction to Engineering MATLAB – 1 Introduction to MATLAB Agenda Introduction Arithmetic Operations MATLAB Windows Command Window Defining Variables.
Representing numbers and Basic MATLAB 1. Representing numbers  numbers used by computers do not behave the same as numbers used in mathematics  e.g.,
CH2 – Using Data. Constant Something which cannot be changed Data Type Format and size of a data item Intrinsic Data Types Pg. 47 – Table 2-1 Basic ones.
Numerical Computation Lecture 2: Introduction to Matlab Programming United International College.
Significant Figures Wednesday, August 12 th. Do Now 1. Place the following numbers in scientific notation or standard Notation x
Chapter 4 Calculators for Electricity and Electronics.
Introduction to Matlab Module #2 Page 1 Introduction to Matlab Module #2 – Arrays Topics 1.Numeric arrays (creation, addressing, sizes) 2.Element-by-Element.
1 MatLab Basics Jae Hoon Kim Department of Physics Kangwon National University It contains hundreds of commands to do mathematics. Graph functions, solve.
CMPS 1371 Introduction to Computing for Engineers MatLab.
Introduction to Programming David Goldschmidt, Ph.D. Computer Science The College of Saint Rose Java Fundamentals (Variables, Arithmetic, etc.)
Engr 0012 (04-1) LecNotes script/function comparison scriptsfunctions Show program logic answer “what” questions Show program details answer “how”
Scientific Computing Introduction to Matlab Programming.
Matlab 14.html Cost: $100 Available in labs on Windows and Unix machines.
CS Class 08 Today  Exercises  Nested loops  for statement  Built-in functions Announcements  Homework #3, group solution to in-class.
Significant Figure Rules RulesExamples The following are always significant Non zero digits Zeros between non zero digits Zero to the right of a non zero.
Engr 0012 (04-1) LecNotes script organization General organization for scripts 1. Header 3. Constant definitions 4. Input data/independent variable/parameter.
ENG 1181 First-Year Engineering Program College of Engineering Engineering Education Innovation Center First-Year Engineering Program MAT - Introduction.
Ch13-1 Chap 13 Introduction to Matlab 13.1 Introduction MATLAB : The MATrix LABoratory program Not only is the MATLAB programming language exceptionally.
Fundamentals of Programming 20-ENFD-112 Sections 001 to 007 Instructor: Prof. Dieter Schmidt Lecture: Monday, Wednesday 3:00-3:50 Web page
Copyright © Curt Hill Formatting Reals Outputs other than normal.
Slide 1 of 48 Measurements and Their Uncertainty
Slide 1 of 48 Measurements and Their Uncertainty
Introduction to MATLAB 1.Basic functions 2.Vectors, matrices, and arithmetic 3.Flow Constructs (Loops, If, etc) 4.Create M-files 5.Plotting.
Rounding  We need to round numbers because a calculator often gives an answer with more digits than are justified by the precision of the measurements.
SWTJC STEM – ENGR 1201 Content Goal 14 Rounding Rules 1.In general, an answer should be given in engineering or scientific notation unless it is between.
1 Lecture 4 Post-Graduate Students Advanced Programming (Introduction to MATLAB) Code: ENG 505 Dr. Basheer M. Nasef Computers & Systems Dept.
Matlab for Engineers Matlab Environment Chapter 2.
Significant Figures and Scientific Notation. Physics 11 In both physics 11 and physics 12, we use significant figures in our calculations. On tests, assignments,
PERFORMING CALCULATIONS IN SCIENTIFIC NOTATION ADDITION AND SUBTRACTION.
1 Lecture Three I/O Formatting and Arithmetic Dr. Sherif Mohamed Tawfik.
MATLAB (Matrix Algebra laboratory), distributed by The MathWorks, is a technical computing environment for high performance numeric computation and.
Engr 0012 (04-1) LecNotes Engr 0012 (04-1) LecNotes Contrasting MATLAB with C MATLABC language Workspace - interactive computation No real.
Do Now!!!! Write the following numbers in scientific notation Form
ECE 1304 Introduction to Electrical and Computer Engineering
Lesson Objectives Know how perform mathematical operations using significant figures.
Significant Calculations And Scientific Notation
EGR 115 Introduction to Computing for Engineers
Engr 0012 (04-1) LecNotes
SCIENTIFIC NOTATION.
Review Make sure current directory is set properly Create a diary
Determining Significant Digits and Rounding
Algebra 1 Section 8.4 Express numbers using scientific notation
Convert to scientific notation
Text Copyright (c) 2017 by Dr. E. Horvath
MatLab Program Used to Calculate Interactive
Electrical and Computer Engineering Department SUNY – New Paltz
Presentation transcript:

Engr 0012 (04-1) LecNotes Engineering 0012 Introduction to Engineering Computing Dr. Patzer B68D Benedum Hall Office: web page: Office Hours: M 11-1 W by appointment

Engr 0012 (04-1) LecNotes Bound Solute BinderSolute MATLAB - Bound Solute Dialysis Equilibrium Binding Coefficient

Engr 0012 (04-1) LecNotes BSD 1-Compartment Model

Engr 0012 (04-1) LecNotes Dialyzer operation Blood Flow Dialysate Flow

Engr 0012 (04-1) LecNotes Dialyzer operation -  C drives flux Blood Flow Dialysate Flow 

Engr 0012 (04-1) LecNotes Dialyzer operation - add binder to dialysate Blood Flow Dialysate Flow

Engr 0012 (04-1) LecNotes Dialyzer operation - add binder to dialysate Blood Flow Dialysate Flow

Engr 0012 (04-1) LecNotes BSD equations Dialyzer - blood side Dialyzer - dialysate side Patient

Engr 0012 (04-1) LecNotes BSD Clearance Results

Engr 0012 (04-1) LecNotes BSD Experimental Results (no binder)

Engr 0012 (04-1) LecNotes BSD Experimental Results (with binder)  =

Engr 0012 (04-1) LecNotes Introduction to MATLAB Double click on icon to launch Set Current Directory C:\temp or C:\user in Freshman Computer Labs This is where MATLAB will send output and is the first place MATLAB will look for scripts and functions that you write

Engr 0012 (04-1) LecNotes Introduction to MATLAB Variable names / numbers » alpha = 7 » beta = 7.0 beta = 7 different alpha = 7 same

Engr 0012 (04-1) LecNotes Introduction to MATLAB MATLAB treats all numbers the same type double precision imaginary real + imaginary part ~ 18 significant figures » gamma = sqrt(2) gamma = » delta = sqrt(-gamma) delta = i

Engr 0012 (04-1) LecNotes Introduction to MATLAB Controlling display of significant figures » alpha = pi » format long » alpha alpha = alpha = » format short e » alpha alpha = e+000 default: format short 4 decimal places, rounded displays 14 decimal places may be in scientific notation » format long e » alpha alpha = e+000 displays 5 significant digitsdisplays 16 significant digits

Engr 0012 (04-1) LecNotes Introduction to MATLAB Recap on what we know variables declared by assigning a value to a name MATLAB treats all values as double precision imaginary MATLAB displays integers as integers format command can be used to control display of noninteger values

Engr 0012 (04-1) LecNotes Using MATLAB as a calculator Calculating sphere parameters » % setting sphere radius » radius = 1 radius = 1 » % calculating sphere volume » sphere_vol = 4*pi*radius^3/3 sphere_vol = » % calculating sphere surface area » sphere_surf = 4*pi*radius^2 sphere_surf =

Engr 0012 (04-1) LecNotes Using MATLAB as a calculator mathematical operators addition + subtraction - multiplication * division / exponentiation ^ MATLAB-defined functions sqrt() - returns value of square root pi - returns value of  (= …) MATLAB operators comment %

Engr 0012 (04-1) LecNotes Class Activity Workshop 01 Do Exercises 1-4 at end all parts Turn in (at start of next class) 1. b 2. c 3. c 4. b