1 / 19

Engr 0012 (04-1) LecNotes 01-01

Engineering 0012 Introduction to Engineering Computing. Dr. Patzer B68D Benedum Hall Office: 412.624.9819 e-mail: patzer@pitt.edu web page: www.pitt.edu/~patzer/. Office Hours: M 11-1 W 11-12 by appointment. Engr 0012 (04-1) LecNotes 01-01. +. Bound Solute. Binder.

Download Presentation

Engr 0012 (04-1) LecNotes 01-01

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Engineering 0012 Introduction to Engineering Computing Dr. Patzer B68D Benedum Hall Office: 412.624.9819 e-mail: patzer@pitt.edu web page: www.pitt.edu/~patzer/ Office Hours: M 11-1 W 11-12 by appointment Engr 0012 (04-1) LecNotes 01-01

  2. + Bound Solute Binder Solute Equilibrium Binding Coefficient MATLAB - Bound Solute Dialysis Engr 0012 (04-1) LecNotes 01-02

  3. BSD 1-Compartment Model Engr 0012 (04-1) LecNotes 01-03

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

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

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

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

  8. Dialyzer - blood side Dialyzer - dialysate side Patient BSD equations Engr 0012 (04-1) LecNotes 01-08

  9. BSD Clearance Results Engr 0012 (04-1) LecNotes 01-09

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

  11. BSD Experimental Results (with binder) b = 0.1-0.3 Engr 0012 (04-1) LecNotes 01-11

  12. 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 01-12

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

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

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

  16. 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 01-16

  17. 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 = 4.1888 » % calculating sphere surface area » sphere_surf = 4*pi*radius^2 sphere_surf = 12.5664 Engr 0012 (04-1) LecNotes 01-17

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

  19. 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 Engr 0012 (04-1) LecNotes 01-19

More Related