ENGR Fall Exam 1 PRACTICE EXAM

Size: px
Start display at page:

Download "ENGR Fall Exam 1 PRACTICE EXAM"

Transcription

1 ENGR Fall 2012 Exam 1 PRACTICE EXAM INSTRUCTIONS: Duration: 60 minutes Keep your eyes on your own work! Keep your work covered at all times! 1. Each student is responsible for following directions. Read carefully. 2. MATLAB and Excel commands are provided on the next page. 3. This exam consists of x questions on y pages (z sheets front AND back). Check to be sure that you have all of the pages. 4. Write your name, PUID, Section #, and Team # on both sides of the answer sheet. NO ANSWER SHEET IS PROVIDED FOR THE PRACTICE EXAM. 5. Closed book and notes. 6. No calculators. 7. Please make sure you return the answer sheet (you may keep this booklet). 8. Element-by-element computations are to use appropriate notation ONLY where necessary. Academic Integrity Statement I have not used material obtained from any other unauthorized source, either modified or unmodified. Neither have I provided access to my work to another. The solutions I am submitting are my own original work.

2 Exam 1 Formula Sheet ENGR Fall 2012 s 2 s Statistics Equations 1 n 1 2 n n i1 n i1 n 2 xi i n n 1 ( x i x) 1 xi 2 2 MATLAB Functions / Operators + - * / ^ = ans grid max sort.*./.^ clc help mean sqrt % clear hist median std (transpose) cos hold min subplot, csc i, j NaN sum : doc Inf ones tan ; cumsum legend pi title [ ] (null vector) exit length plot who ( ) exp linspace prod whos (ellipsis) factorial load quit xlabel abs figure log round ylabel acos format log10 sec zeros asin fprintf logspace sin atan function lookfor size Selection of MATLAB plot Special Characters Line Type Indicator Point Type Indicator Color Indicator solid - circle o blue b dotted : x-mark x green g dash-dot -. plus + red r dashed -- square s black k Excel Functions + - * / ^ = EXP MIN STDEV $ LN MODE SUM ABS LOG10 PI TAN AVERAGE MAX SIN COS MEDIAN SQRT

3 Problem 1 List the five stages of team dynamics. Problem 2 a. What is a Code of Cooperation? b. Why is a Code of Cooperation important to a team? Problem 3 Given the following equation, write out the formula as it would appear if used in Excel. A = xz 2-2z 3x 3/5 Problem 4 Using high quality research sources can help you investigate and often manage complexity in problems. Name two things that can help you determine if you are using a high quality research resource/reference

4 Problem 5 Your team has been asked by the V.P. of Operations for the BIGBROWN shipping company to develop a draft/possible solution for a logistics problem that has been plaguing the company. The solution will involve providing an aircraft loading model which will maximize the number of mail packages loaded into their 747 aircraft that deliver the packages across country. Each 747 aircraft must have a least 1,820 packages to maximize BIGBROWN s profit dollars per plane load. Your team s solution will be used by the package loading supervisors. a) Name two possible stakeholders in this problem context: 1) 2) b) Name the direct user in this problem context: Your team quickly completes a draft solution and sends it back to the V.P. of Operations to get her early feedback. She s your team the following comments: Your team s work is impressive and I was quickly able to replicate the results you provided in your memo for the 747 package loading line. Unfortunately beginning December we will need to change to a larger/different aircraft to handle the increased holiday shipping of customers, and your model does not allow me to change the type/size of aircraft for loading. c) After reading the V.P. s comments, your team realizes they need to improve the of their draft solution, to make it more valuable to the BIGBROWN company. (Hint: Think about the 3 attributes of a high quality, generalizable solution)

5 Frequency Problem 6 The following MATLAB statement has been executed, establishing a vector of wait times in minutes, for people getting their order at the local 24-hour burger joint: >> WaitTimes = [10,5,6,3,7,6,5,1,6,1,6,6,5,3,4,12,6,10,2,7] A. The histogram below was created from the vector WaitTimes. The values along the x-axis mark the centers of the intervals. Write one or two line(s) of the MATLAB code to plot the histogram as shown in the figure below Wait Times at the Local Burger Joint Wait Times [min] B. For the vector WaitlTimes, the mean is 5.6 and the standard deviation is For your convenience in answering the following questions, MATLAB's sort command was executed as follows: SortedTimes = sort(waittimes) resulting in SortedTimes being: [1,1,2,3,3,4,5,5,5,6,6,6,6,6,6,7,7,10,10,12] How many data points fall within one standard deviation of the mean? Problem 7 In MATLAB, vector B = [2, 4, 6, 8] and vector C = [8, 7, 5, 9] are assigned. a. Write the proper MATLAB command to Multiply vector B and vector C b. Write the results MATLAB gives you after performing the element-by-element multiplication. c. Write the proper MATLAB command to raise vector B to the third power d. Write the results MATLAB gives you after performing this operation.

6 Problem Average High Temperatures by Month in West Lafayette, IN Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Referring to the chart above, indicate whether each statement is true or false. a. January is, on average, the coldest month in West Lafayette, Indiana. b. There is no need to include units since it can be assumed that the temperatures shown are in Fahrenheit. c. The chart readability could be improved with the addition of vertical gridlines and data markers. d. Line charts are used to show theoretic expressions, functional dependencies, or display evenly spaced or sampled data. e. Axis labels are extraneous. Problem 9 The following command lines were typed in a MATLAB script file. run_distance_data = load('rundistance_noheader'); male_distance = run_distance_data(1:83,1); % Male running distance [km] female_distance = run_distance_data(84:166,1);% Female running distance [km] You want to make a histogram of the female running distance. How many bins are needed according to the rule of thumb?

7 Conflic Effectiveness Problem 10 The graph below is used to describe the five stages of team dynamics. The dark curve shows the process of how conflict increases and then later decreases over time. The light curve shows the process of how effectiveness increases over time. A. B. C. D. E. Time a. State the names of the five stages (A, B, C, D, E) in this graph b. Which stage relates to the use of a Code of Cooperation? c. Justify your answer to #b

8 Problem 11 Circle ALL of the MATLAB commands that WILL or COULD potentially produce an error. a. >> 5 = a b. >> min(3,5,1) c. >> 4/3*sine(pi/2) d. >> velocity_1 = 30 e. >> data-run = [ ] Problem 12 Circle ALL of the MATLAB file names that WILL or COULD potentially produce an error. [circle all that apply] a. Hw8_prob2.m b. Hw8_prob2.m c. 10steptask1.m d. plot.m e. hole_diam_0.5.m f. Time@contact.m Problem 13 Given the MATLAB commands below: >> height = [ 6, 14 ; 3, 5 ] >> weight = [ 114, 188 ; 53, 91 ] >> total = [ height(:,1) weight(:,2) ] a. Create(write out) the matrix with the values that would populate height after the first line of code? b. Create (write out) the matrix with the values that would populate total after the second line of code?

9 Problem 14 A box is being pulled by a rope. The force that is required to move the box is given by: F F mg cos sin m where 0. 55is the friction coefficient and g 9. 81m/s 2. The values of the mass m and θ are given below. Cases m (kg) θ (degrees) Add one line of MATLAB code to complete the computation of the force for all three cases. (NOTE: You will be penalized for any extraneous dot notation in the code) >> friction_coeff = 0.55; >> gravity = 9.81; >> mass = [10, 20, 30]; >> theta = [30, 45, 60]; Problem 15 A mathematical model is reusable if [Circle only one] a) the user can apply the model and replicate results b) the model addressing the complexity of the problem in its context c) the purpose of the model and the assumptions and limitations concerning the use of the model are provided d) the steps in the model are adequately rationalized so that the user can rework the model for new but similar situations

10 Problem 16 Ball bearings are hardened through a process of heating and then rapid cooling by submersion in a water bath. The temperature of the ball as a function of time can be estimated using the following equation: T = (Ti Tw) e -t/α + Tw Where: T = temperature of the ball at time t (in degrees Celsius) Ti = initial temperature of the ball (in degrees Celsius) Tw = temperature of the water bath (in degrees Celsius) t = time (seconds) α = time constant (seconds) The following Excel spreadsheet was created to compute T, the ball temperature as a function of time, for two different initial ball temperatures. Excel was also used to create the plot shown. A B C D E 1 Temperature of water (Tw, C): 25 2 Time constant (α, sec): Initial Ball Temperature (C) 5 Time (t, sec)

11 Temperature (C) Ball bearing temperature as a function of time Initial Temp 250 C Time (s) Write a MATLAB script to verify the analysis above and replicate the plot. Use the MATLAB script below as a guide. Note that two variables have been created for you, but others still need to be created to complete the calculations. Adequately comment your code. You do not need to worry about replicating the location of the legend. More space is provided than may be necessary to complete the task. 1 % --- INPUTS Twater = 25 % water temperature (deg C) 3 ball_initt = [250,600] % 1st and 2nd initial ball temperature (deg C) % --- CALCULATIONS % --- OUTPUT % create a plot suitable for technical presentation of temperature as a function of time 17 % that includes two lines with different line colors, data markers, and line styles 18 % for initial ball temperatures of 250 and 600 C

12 Problem 17 Given the MATLAB commands: >> a = [1 2 3; 7 8 9] >> a(2,3) = 6 What will the resulting matrix a look like? Problem 18 The following matrix is already created in MATLAB: A = a) Write the proper MATLAB code to extract the first ROW from Matrix A. b) Write the proper MATLAB code to extract the third COLUMN from Matrix A.

ENGR Fall Exam 1

ENGR Fall Exam 1 ENGR 13100 Fall 2012 Exam 1 INSTRUCTIONS: Duration: 60 minutes Keep your eyes on your own work! Keep your work covered at all times! 1. Each student is responsible for following directions. Read carefully.

More information

ENGR Fall Exam 1

ENGR Fall Exam 1 ENGR 1300 Fall 01 Exam 1 INSTRUCTIONS: Duration: 60 minutes Keep your eyes on your own work! Keep your work covered at all times! 1. Each student is responsible for following directions. Read carefully..

More information

PART 1 PROGRAMMING WITH MATHLAB

PART 1 PROGRAMMING WITH MATHLAB PART 1 PROGRAMMING WITH MATHLAB Presenter: Dr. Zalilah Sharer 2018 School of Chemical and Energy Engineering Universiti Teknologi Malaysia 23 September 2018 Programming with MATHLAB MATLAB Environment

More information

MATLAB Tutorial. Digital Signal Processing. Course Details. Topics. MATLAB Environment. Introduction. Digital Signal Processing (DSP)

MATLAB Tutorial. Digital Signal Processing. Course Details. Topics. MATLAB Environment. Introduction. Digital Signal Processing (DSP) Digital Signal Processing Prof. Nizamettin AYDIN naydin@yildiz.edu.tr naydin@ieee.org http://www.yildiz.edu.tr/~naydin Course Details Course Code : 0113620 Course Name: Digital Signal Processing (Sayısal

More information

Lecturer: Keyvan Dehmamy

Lecturer: Keyvan Dehmamy MATLAB Tutorial Lecturer: Keyvan Dehmamy 1 Topics Introduction Running MATLAB and MATLAB Environment Getting help Variables Vectors, Matrices, and linear Algebra Mathematical Functions and Applications

More information

Excel R Tips. is used for multiplication. + is used for addition. is used for subtraction. / is used for division

Excel R Tips. is used for multiplication. + is used for addition. is used for subtraction. / is used for division Excel R Tips EXCEL TIP 1: INPUTTING FORMULAS To input a formula in Excel, click on the cell you want to place your formula in, and begin your formula with an equals sign (=). There are several functions

More information

Excel Functions & Tables

Excel Functions & Tables Excel Functions & Tables SPRING 2016 Spring 2016 CS130 - EXCEL FUNCTIONS & TABLES 1 Review of Functions Quick Mathematics Review As it turns out, some of the most important mathematics for this course

More information

Introduction to MATLAB

Introduction to MATLAB Introduction to MATLAB Anthony J. O Connor School of Science, Griffith University, Brisbane, Australia 1. What is MATLAB? MATLAB started as an interactive program for doing matrix calculations and has

More information

A Guide to Using Some Basic MATLAB Functions

A Guide to Using Some Basic MATLAB Functions A Guide to Using Some Basic MATLAB Functions UNC Charlotte Robert W. Cox This document provides a brief overview of some of the essential MATLAB functionality. More thorough descriptions are available

More information

CHAPTER 3 PART 1 MATLAB FUNDAMENTALS

CHAPTER 3 PART 1 MATLAB FUNDAMENTALS CHAPTER 3 PART 1 MATLAB FUNDAMENTALS Chapter 3 : TOPIC COVERS (PROGRAMMING with MATLAB) MATLAB Environment Use of Built-In Functions and Graphics LEARNING OUTCOMES INTRODUCTION It is expected that students

More information

(5) ifit/math: «One Class to do some Math» God damn it! Just compute it! ifit workshop NBI Jan 2012 Math - 1

(5) ifit/math: «One Class to do some Math» God damn it! Just compute it! ifit workshop NBI Jan 2012 Math - 1 (5) ifit/math: «One Class to do some Math» God damn it! Just compute it! ifit workshop NBI Jan 2012 Math - 1 Math: perform mathematical operations seamlessly As we have seen there is a unique,

More information

3. EXCEL FORMULAS & TABLES

3. EXCEL FORMULAS & TABLES Winter 2019 CS130 - Excel Formulas & Tables 1 3. EXCEL FORMULAS & TABLES Winter 2019 Winter 2019 CS130 - Excel Formulas & Tables 2 Cell References Absolute reference - refer to cells by their fixed position.

More information

LAB 2: DATA FILTERING AND NOISE REDUCTION

LAB 2: DATA FILTERING AND NOISE REDUCTION NAME: LAB SECTION: LAB 2: DATA FILTERING AND NOISE REDUCTION In this exercise, you will use Microsoft Excel to generate several synthetic data sets based on a simplified model of daily high temperatures

More information

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University Part 1 Chapter 2 MATLAB Fundamentals PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

More information

MATLAB Fundamentals. Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University

MATLAB Fundamentals. Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University MATLAB Fundamentals Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University Reference: 1. Applied Numerical Methods with MATLAB for Engineers, Chapter 2 &

More information

Lab 1 Intro to MATLAB and FreeMat

Lab 1 Intro to MATLAB and FreeMat Lab 1 Intro to MATLAB and FreeMat Objectives concepts 1. Variables, vectors, and arrays 2. Plotting data 3. Script files skills 1. Use MATLAB to solve homework problems 2. Plot lab data and mathematical

More information

AMS 27L LAB #2 Winter 2009

AMS 27L LAB #2 Winter 2009 AMS 27L LAB #2 Winter 2009 Plots and Matrix Algebra in MATLAB Objectives: 1. To practice basic display methods 2. To learn how to program loops 3. To learn how to write m-files 1 Vectors Matlab handles

More information

EE 301 Signals & Systems I MATLAB Tutorial with Questions

EE 301 Signals & Systems I MATLAB Tutorial with Questions EE 301 Signals & Systems I MATLAB Tutorial with Questions Under the content of the course EE-301, this semester, some MATLAB questions will be assigned in addition to the usual theoretical questions. This

More information

Chapter 2. MATLAB Fundamentals

Chapter 2. MATLAB Fundamentals Chapter 2. MATLAB Fundamentals Choi Hae Jin Chapter Objectives q Learning how real and complex numbers are assigned to variables. q Learning how vectors and matrices are assigned values using simple assignment,

More information

Introduction to Matlab

Introduction to Matlab Introduction to Matlab By:Mohammad Sadeghi *Dr. Sajid Gul Khawaja Slides has been used partially to prepare this presentation Outline: What is Matlab? Matlab Screen Basic functions Variables, matrix, indexing

More information

Getting Started with MATLAB

Getting Started with MATLAB Getting Started with MATLAB Math 315, Fall 2003 Matlab is an interactive system for numerical computations. It is widely used in universities and industry, and has many advantages over languages such as

More information

Dr. Iyad Jafar. Adapted from the publisher slides

Dr. Iyad Jafar. Adapted from the publisher slides Computer Applications Lab Lab 6 Plotting Chapter 5 Sections 1,2,3,8 Dr. Iyad Jafar Adapted from the publisher slides Outline xy Plotting Functions Subplots Special Plot Types Three-Dimensional Plotting

More information

MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras

MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras Module No. #01 Lecture No. #1.1 Introduction to MATLAB programming

More information

Introduction to MATLAB

Introduction to MATLAB 58:110 Computer-Aided Engineering Spring 2005 Introduction to MATLAB Department of Mechanical and industrial engineering January 2005 Topics Introduction Running MATLAB and MATLAB Environment Getting help

More information

Introduction to MATLAB. Simon O Keefe Non-Standard Computation Group

Introduction to MATLAB. Simon O Keefe Non-Standard Computation Group Introduction to MATLAB Simon O Keefe Non-Standard Computation Group sok@cs.york.ac.uk Content n An introduction to MATLAB n The MATLAB interfaces n Variables, vectors and matrices n Using operators n Using

More information

Essentials. Week by. Week. All About Data. Algebra Alley

Essentials. Week by. Week. All About Data. Algebra Alley > Week by Week MATHEMATICS Essentials Algebra Alley Jack has 0 nickels and some quarters. If the value of the coins is $.00, how many quarters does he have? (.0) What s The Problem? Pebble Pebble! A pebble

More information

Excel for Gen Chem General Chemistry Laboratory September 15, 2014

Excel for Gen Chem General Chemistry Laboratory September 15, 2014 Excel for Gen Chem General Chemistry Laboratory September 15, 2014 Excel is a ubiquitous data analysis software. Mastery of Excel can help you succeed in a first job and in your further studies with expertise

More information

Unit 2-2: Writing and Graphing Quadratics NOTE PACKET. 12. I can use the discriminant to determine the number and type of solutions/zeros.

Unit 2-2: Writing and Graphing Quadratics NOTE PACKET. 12. I can use the discriminant to determine the number and type of solutions/zeros. Unit 2-2: Writing and Graphing Quadratics NOTE PACKET Name: Period Learning Targets: Unit 2-1 12. I can use the discriminant to determine the number and type of solutions/zeros. 1. I can identify a function

More information

CDA5530: Performance Models of Computers and Networks. Chapter 8: Using Matlab for Performance Analysis and Simulation

CDA5530: Performance Models of Computers and Networks. Chapter 8: Using Matlab for Performance Analysis and Simulation CDA5530: Performance Models of Computers and Networks Chapter 8: Using Matlab for Performance Analysis and Simulation Objective Learn a useful tool for mathematical analysis and simulation Interpreted

More information

ME422 Mechanical Control Systems Matlab/Simulink Hints and Tips

ME422 Mechanical Control Systems Matlab/Simulink Hints and Tips Cal Poly San Luis Obispo Mechanical Engineering ME Mechanical Control Systems Matlab/Simulink Hints and Tips Ridgely/Owen, last update Jan Building A Model The way in which we construct models for analyzing

More information

Introduction to Matlab to Accompany Linear Algebra. Douglas Hundley Department of Mathematics and Statistics Whitman College

Introduction to Matlab to Accompany Linear Algebra. Douglas Hundley Department of Mathematics and Statistics Whitman College Introduction to Matlab to Accompany Linear Algebra Douglas Hundley Department of Mathematics and Statistics Whitman College August 27, 2018 2 Contents 1 Getting Started 5 1.1 Before We Begin........................................

More information

This is a basic tutorial for the MATLAB program which is a high-performance language for technical computing for platforms:

This is a basic tutorial for the MATLAB program which is a high-performance language for technical computing for platforms: Appendix A Basic MATLAB Tutorial Extracted from: http://www1.gantep.edu.tr/ bingul/ep375 http://www.mathworks.com/products/matlab A.1 Introduction This is a basic tutorial for the MATLAB program which

More information

MAT 275 Laboratory 1 Introduction to MATLAB

MAT 275 Laboratory 1 Introduction to MATLAB MATLAB sessions: Laboratory 1 1 MAT 275 Laboratory 1 Introduction to MATLAB MATLAB is a computer software commonly used in both education and industry to solve a wide range of problems. This Laboratory

More information

Nelson Functions 11 Errata

Nelson Functions 11 Errata Nelson Functions 11 Errata 1: Introduction to Functions Location Question Correct Answer Getting Started 6a Graph is correct but vertex and axis of symmetry are not labelled. Add blue point labelled (in

More information

Section 1.2: What is a Function? y = 4x

Section 1.2: What is a Function? y = 4x Section 1.2: What is a Function? y = 4x y is the dependent variable because it depends on what x is. x is the independent variable because any value can be chosen to replace x. Domain: a set of values

More information

Stokes Modelling Workshop

Stokes Modelling Workshop Stokes Modelling Workshop 14/06/2016 Introduction to Matlab www.maths.nuigalway.ie/modellingworkshop16/files 14/06/2016 Stokes Modelling Workshop Introduction to Matlab 1 / 16 Matlab As part of this crash

More information

1. Register an account on: using your Oxford address

1. Register an account on:   using your Oxford  address 1P10a MATLAB 1.1 Introduction MATLAB stands for Matrix Laboratories. It is a tool that provides a graphical interface for numerical and symbolic computation along with a number of data analysis, simulation

More information

Interactive Computing with Matlab. Gerald W. Recktenwald Department of Mechanical Engineering Portland State University

Interactive Computing with Matlab. Gerald W. Recktenwald Department of Mechanical Engineering Portland State University Interactive Computing with Matlab Gerald W. Recktenwald Department of Mechanical Engineering Portland State University gerry@me.pdx.edu Starting Matlab Double click on the Matlab icon, or on unix systems

More information

A General Introduction to Matlab

A General Introduction to Matlab Master Degree Course in ELECTRONICS ENGINEERING http://www.dii.unimore.it/~lbiagiotti/systemscontroltheory.html A General Introduction to Matlab e-mail: luigi.biagiotti@unimore.it http://www.dii.unimore.it/~lbiagiotti

More information

Finding, Starting and Using Matlab

Finding, Starting and Using Matlab Variables and Arrays Finding, Starting and Using Matlab CSC March 6 &, 9 Array: A collection of data values organized into rows and columns, and known by a single name. arr(,) Row Row Row Row 4 Col Col

More information

PC-MATLAB PRIMER. This is intended as a guided tour through PCMATLAB. Type as you go and watch what happens.

PC-MATLAB PRIMER. This is intended as a guided tour through PCMATLAB. Type as you go and watch what happens. PC-MATLAB PRIMER This is intended as a guided tour through PCMATLAB. Type as you go and watch what happens. >> 2*3 ans = 6 PCMATLAB uses several lines for the answer, but I ve edited this to save space.

More information

CDA6530: Performance Models of Computers and Networks. Chapter 4: Using Matlab for Performance Analysis and Simulation

CDA6530: Performance Models of Computers and Networks. Chapter 4: Using Matlab for Performance Analysis and Simulation CDA6530: Performance Models of Computers and Networks Chapter 4: Using Matlab for Performance Analysis and Simulation Objective Learn a useful tool for mathematical analysis and simulation Interpreted

More information

How to learn MATLAB? Some predefined variables

How to learn MATLAB? Some predefined variables ECE-S352 Lab 1 MATLAB Tutorial How to learn MATLAB? 1. MATLAB comes with good tutorial and detailed documents. a) Select MATLAB help from the MATLAB Help menu to open the help window. Follow MATLAB s Getting

More information

Introduction to Matlab

Introduction to Matlab Introduction to Matlab What is Matlab The software program called Matlab (short for MATrix LABoratory) is arguably the world standard for engineering- mainly because of its ability to do very quick prototyping.

More information

Introduction to Octave/Matlab. Deployment of Telecommunication Infrastructures

Introduction to Octave/Matlab. Deployment of Telecommunication Infrastructures Introduction to Octave/Matlab Deployment of Telecommunication Infrastructures 1 What is Octave? Software for numerical computations and graphics Particularly designed for matrix computations Solving equations,

More information

Introduction to Excel Workshop

Introduction to Excel Workshop Introduction to Excel Workshop Empirical Reasoning Center June 6, 2016 1 Important Terminology 1. Rows are identified by numbers. 2. Columns are identified by letters. 3. Cells are identified by the row-column

More information

CSE 341 Section Handout #6 Cheat Sheet

CSE 341 Section Handout #6 Cheat Sheet Cheat Sheet Types numbers: integers (3, 802), reals (3.4), rationals (3/4), complex (2+3.4i) symbols: x, y, hello, r2d2 booleans: #t, #f strings: "hello", "how are you?" lists: (list 3 4 5) (list 98.5

More information

Programming in Mathematics. Mili I. Shah

Programming in Mathematics. Mili I. Shah Programming in Mathematics Mili I. Shah Starting Matlab Go to http://www.loyola.edu/moresoftware/ and login with your Loyola name and password... Matlab has eight main windows: Command Window Figure Window

More information

CDA6530: Performance Models of Computers and Networks. Chapter 4: Using Matlab for Performance Analysis and Simulation

CDA6530: Performance Models of Computers and Networks. Chapter 4: Using Matlab for Performance Analysis and Simulation CDA6530: Performance Models of Computers and Networks Chapter 4: Using Matlab for Performance Analysis and Simulation Objective Learn a useful tool for mathematical analysis and simulation Interpreted

More information

MATLAB and Numerical Analysis

MATLAB and Numerical Analysis School of Mechanical Engineering Pusan National University dongwoonkim@pusan.ac.kr Teaching Assistant 김동운 dongwoonkim@pusan.ac.kr 윤종희 jongheeyun@pusan.ac.kr Lab office: 통합기계관 120호 ( 510-3921) 방사선영상연구실홈페이지

More information

Chapter 2 (Part 2) MATLAB Basics. dr.dcd.h CS 101 /SJC 5th Edition 1

Chapter 2 (Part 2) MATLAB Basics. dr.dcd.h CS 101 /SJC 5th Edition 1 Chapter 2 (Part 2) MATLAB Basics dr.dcd.h CS 101 /SJC 5th Edition 1 Display Format In the command window, integers are always displayed as integers Characters are always displayed as strings Other values

More information

Unit 3 Trigonometry. 3.4 Graph and analyze the trigonometric functions sine, cosine, and tangent to solve problems.

Unit 3 Trigonometry. 3.4 Graph and analyze the trigonometric functions sine, cosine, and tangent to solve problems. 1 General Outcome: Develop trigonometric reasoning. Specific Outcomes: Unit 3 Trigonometry 3.1 Demonstrate an understanding of angles in standard position, expressed in degrees and radians. 3. Develop

More information

Some elements for Matlab programming

Some elements for Matlab programming Some elements for Matlab programming Nathalie Thomas 2018 2019 Matlab, which stands for the abbreviation of MATrix LABoratory, is one of the most popular language for scientic computation. The classical

More information

MATLAB Basics. Configure a MATLAB Package 6/7/2017. Stanley Liang, PhD York University. Get a MATLAB Student License on Matworks

MATLAB Basics. Configure a MATLAB Package 6/7/2017. Stanley Liang, PhD York University. Get a MATLAB Student License on Matworks MATLAB Basics Stanley Liang, PhD York University Configure a MATLAB Package Get a MATLAB Student License on Matworks Visit MathWorks at https://www.mathworks.com/ It is recommended signing up with a student

More information

Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9

Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9 Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9 Contents 1 Introduction to Using Excel Spreadsheets 2 1.1 A Serious Note About Data Security.................................... 2 1.2

More information

A very brief Matlab introduction

A very brief Matlab introduction A very brief Matlab introduction Siniša Krajnović January 24, 2006 This is a very brief introduction to Matlab and its purpose is only to introduce students of the CFD course into Matlab. After reading

More information

Introduction to MATLAB LAB 1

Introduction to MATLAB LAB 1 Introduction to MATLAB LAB 1 1 Basics of MATLAB MATrix LABoratory A super-powerful graphing calculator Matrix based numeric computation Embedded Functions Also a programming language User defined functions

More information

Laboratory 1 Octave Tutorial

Laboratory 1 Octave Tutorial Signals, Spectra and Signal Processing Laboratory 1 Octave Tutorial 1.1 Introduction The purpose of this lab 1 is to become familiar with the GNU Octave 2 software environment. 1.2 Octave Review All laboratory

More information

To see what directory your work is stored in, and the directory in which Matlab will look for files, type

To see what directory your work is stored in, and the directory in which Matlab will look for files, type Matlab Tutorial For Machine Dynamics, here s what you ll need to do: 1. Solve n equations in n unknowns (as in analytical velocity and acceleration calculations) - in Matlab, this is done using matrix

More information

ADVANCED SPREADSHEET APPLICATIONS (07)

ADVANCED SPREADSHEET APPLICATIONS (07) (07) CONTESTANT ID# START TIME END TIME Financial Services Events Sponsored by the American Institute of Certified Public Accounts TOTAL POINTS (300) Failure to adhere to any of the following rules will

More information

MATLAB Lesson I. Chiara Lelli. October 2, Politecnico di Milano

MATLAB Lesson I. Chiara Lelli. October 2, Politecnico di Milano MATLAB Lesson I Chiara Lelli Politecnico di Milano October 2, 2012 MATLAB MATLAB (MATrix LABoratory) is an interactive software system for: scientific computing statistical analysis vector and matrix computations

More information

EE 350. Continuous-Time Linear Systems. Recitation 1. 1

EE 350. Continuous-Time Linear Systems. Recitation 1. 1 EE 350 Continuous-Time Linear Systems Recitation 1 Recitation 1. 1 Recitation 1 Topics MATLAB Programming Basic Operations, Built-In Functions, and Variables m-files Graphics: 2D plots EE 210 Review Branch

More information

Creates a 1 X 1 matrix (scalar) with a value of 1 in the column 1, row 1 position and prints the matrix aaa in the command window.

Creates a 1 X 1 matrix (scalar) with a value of 1 in the column 1, row 1 position and prints the matrix aaa in the command window. EE 350L: Signals and Transforms Lab Spring 2007 Lab #1 - Introduction to MATLAB Lab Handout Matlab Software: Matlab will be the analytical tool used in the signals lab. The laboratory has network licenses

More information

Getting Started. Chapter 1. How to Get Matlab. 1.1 Before We Begin Matlab to Accompany Lay s Linear Algebra Text

Getting Started. Chapter 1. How to Get Matlab. 1.1 Before We Begin Matlab to Accompany Lay s Linear Algebra Text Chapter 1 Getting Started How to Get Matlab Matlab physically resides on each of the computers in the Olin Hall labs. See your instructor if you need an account on these machines. If you are going to go

More information

Physics 251 Laboratory Introduction to Spreadsheets

Physics 251 Laboratory Introduction to Spreadsheets Physics 251 Laboratory Introduction to Spreadsheets Pre-Lab: Please do the lab-prep exercises on the web. Introduction Spreadsheets have a wide variety of uses in both the business and academic worlds.

More information

Multiple Choice Questions Circle the letter of the correct answer. 7 points each. is:

Multiple Choice Questions Circle the letter of the correct answer. 7 points each. is: This Math 114 final exam was administered in the Fall of 008. This is a sample final exam. The problems are not exhaustive. Be prepared for ALL CONCEPTS for the actual final exam. Multiple Choice Questions

More information

Data needs to be prepped for loading into matlab.

Data needs to be prepped for loading into matlab. Outline Preparing data sets CTD Data from Tomales Bay Clean up Binning Combined Temperature Depth plots T S scatter plots Multiple plots on a single figure What haven't you learned in this class? Preparing

More information

Classes 7-8 (4 hours). Graphics in Matlab.

Classes 7-8 (4 hours). Graphics in Matlab. Classes 7-8 (4 hours). Graphics in Matlab. Graphics objects are displayed in a special window that opens with the command figure. At the same time, multiple windows can be opened, each one assigned a number.

More information

George Mason University Signals and Systems I Spring 2016

George Mason University Signals and Systems I Spring 2016 George Mason University Signals and Systems I Spring 2016 Laboratory Project #1 Assigned: January 25, 2016 Due Date: Laboratory Section on Week of February 15, 2016 Description: The purpose of this laboratory

More information

Matlab Tutorial 1: Working with variables, arrays, and plotting

Matlab Tutorial 1: Working with variables, arrays, and plotting Matlab Tutorial 1: Working with variables, arrays, and plotting Setting up Matlab First of all, let's make sure we all have the same layout of the different windows in Matlab. Go to Home Layout Default.

More information

A Brief Introduction to MATLAB

A Brief Introduction to MATLAB A Brief Introduction to MATLAB MATLAB (Matrix Laboratory) is an interactive software system for numerical computations and graphics. As the name suggests, MATLAB was first designed for matrix computations:

More information

LAB 2: DATA FILTERING AND NOISE REDUCTION

LAB 2: DATA FILTERING AND NOISE REDUCTION NAME: LAB TIME: LAB 2: DATA FILTERING AND NOISE REDUCTION In this exercise, you will use Microsoft Excel to generate several synthetic data sets based on a simplified model of daily high temperatures in

More information

3rd Grade Mathematics

3rd Grade Mathematics 3rd Grade Mathematics 2012-2013 MONTH CONTENT/ THEME CORE GOALS/SKILLS WRITTEN ASSESSMENT TEN MINUTE MATH VOCABULARY September 17 days Trading Stickers, Combining Coins Unit 1 *NOT CC NUMBERS AND Addition,

More information

UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS International General Certificate of Secondary Education

UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS International General Certificate of Secondary Education UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS International General Certificate of Secondary Education *5006791848* MATHEMATICS 0580/32 Paper 3 (Core) May/June 2011 Candidates answer on the Question

More information

Excel Tips and FAQs - MS 2010

Excel Tips and FAQs - MS 2010 BIOL 211D Excel Tips and FAQs - MS 2010 Remember to save frequently! Part I. Managing and Summarizing Data NOTE IN EXCEL 2010, THERE ARE A NUMBER OF WAYS TO DO THE CORRECT THING! FAQ1: How do I sort my

More information

Introduction to Matlab

Introduction to Matlab What is Matlab? Introduction to Matlab Matlab is software written by a company called The Mathworks (mathworks.com), and was first created in 1984 to be a nice front end to the numerical routines created

More information

Variable Definition and Statement Suppression You can create your own variables, and assign them values using = >> a = a = 3.

Variable Definition and Statement Suppression You can create your own variables, and assign them values using = >> a = a = 3. MATLAB Introduction Accessing Matlab... Matlab Interface... The Basics... 2 Variable Definition and Statement Suppression... 2 Keyboard Shortcuts... More Common Functions... 4 Vectors and Matrices... 4

More information

INTRODUCTION TO MATLAB PLOTTING WITH MATLAB

INTRODUCTION TO MATLAB PLOTTING WITH MATLAB 1 INTRODUCTION TO MATLAB PLOTTING WITH MATLAB Plotting with MATLAB x-y plot Plotting with MATLAB MATLAB contains many powerful functions for easily creating plots of several different types. Command plot(x,y)

More information

STAT/MATH 395 A - PROBABILITY II UW Winter Quarter Matlab Tutorial

STAT/MATH 395 A - PROBABILITY II UW Winter Quarter Matlab Tutorial STAT/MATH 395 A - PROBABILITY II UW Winter Quarter 2016 Néhémy Lim Matlab Tutorial 1 Introduction Matlab (standing for matrix laboratory) is a high-level programming language and interactive environment

More information

Experiment 1: Introduction to MATLAB I. Introduction. 1.1 Objectives and Expectations: 1.2 What is MATLAB?

Experiment 1: Introduction to MATLAB I. Introduction. 1.1 Objectives and Expectations: 1.2 What is MATLAB? Experiment 1: Introduction to MATLAB I Introduction MATLAB, which stands for Matrix Laboratory, is a very powerful program for performing numerical and symbolic calculations, and is widely used in science

More information

Experiment 1 CH Fall 2004 INTRODUCTION TO SPREADSHEETS

Experiment 1 CH Fall 2004 INTRODUCTION TO SPREADSHEETS Experiment 1 CH 222 - Fall 2004 INTRODUCTION TO SPREADSHEETS Introduction Spreadsheets are valuable tools utilized in a variety of fields. They can be used for tasks as simple as adding or subtracting

More information

UNIVERSITY OF BAHRAIN COLLEGE OF APPLIED STUDIES STATA231 LAB 4. Creating A boxplot Or whisker diagram

UNIVERSITY OF BAHRAIN COLLEGE OF APPLIED STUDIES STATA231 LAB 4. Creating A boxplot Or whisker diagram UNIVERSITY OF BAHRAIN COLLEGE OF APPLIED STUDIES STATA231 LAB 4 Creating A boxplot Or whisker diagram DESCRIPTION: A boxplot, or box and whisker diagram provides a simple graphical summary of a set of

More information

Dealing with Data in Excel 2013/2016

Dealing with Data in Excel 2013/2016 Dealing with Data in Excel 2013/2016 Excel provides the ability to do computations and graphing of data. Here we provide the basics and some advanced capabilities available in Excel that are useful for

More information

GREENWOOD PUBLIC SCHOOL DISTRICT AP Calculus AB Pacing Guide FIRST NINE WEEKS

GREENWOOD PUBLIC SCHOOL DISTRICT AP Calculus AB Pacing Guide FIRST NINE WEEKS AP Calculus AB FIRST NINE WEEKS 1 Aug. 6-10 5 Introduction to Course Classroom Expectations/Syllabus/Overview Course Requirements/Administer Learning Styles Inventories 1 Limits Estimate limits from graphs

More information

The Graphing Calculator

The Graphing Calculator Chapter 23 The Graphing Calculator To display the calculator, select Graphing Calculator from the Window menu. The calculator is displayed in front of the other windows. Resize or re-position the Graphing

More information

1-- Pre-Lab The Pre-Lab this first week is short and straightforward. Make sure that you read through the information below prior to coming to lab.

1-- Pre-Lab The Pre-Lab this first week is short and straightforward. Make sure that you read through the information below prior to coming to lab. EELE 477 Lab 1: Introduction to MATLAB Pre-Lab and Warm-Up: You should read the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises in the Pre-Lab section before attending your

More information

This module aims to introduce Precalculus high school students to the basic capabilities of Matlab by using functions. Matlab will be used in

This module aims to introduce Precalculus high school students to the basic capabilities of Matlab by using functions. Matlab will be used in This module aims to introduce Precalculus high school students to the basic capabilities of Matlab by using functions. Matlab will be used in subsequent modules to help to teach research related concepts

More information

Exam 3 SCORE. MA 114 Exam 3 Spring Section and/or TA:

Exam 3 SCORE. MA 114 Exam 3 Spring Section and/or TA: MA 114 Exam 3 Spring 217 Exam 3 Name: Section and/or TA: Last Four Digits of Student ID: Do not remove this answer page you will return the whole exam. You will be allowed two hours to complete this test.

More information

Exam 2 Review. 2. What the difference is between an equation and an expression?

Exam 2 Review. 2. What the difference is between an equation and an expression? Exam 2 Review Chapter 1 Section1 Do You Know: 1. What does it mean to solve an equation? 2. What the difference is between an equation and an expression? 3. How to tell if an equation is linear? 4. How

More information

Excel Spreadsheets and Graphs

Excel Spreadsheets and Graphs Excel Spreadsheets and Graphs Spreadsheets are useful for making tables and graphs and for doing repeated calculations on a set of data. A blank spreadsheet consists of a number of cells (just blank spaces

More information

Temperature Patterns: Functions and Line Graphs

Temperature Patterns: Functions and Line Graphs activity 3.1 Temperature Patterns: Functions and Line Graphs In this activity, you will work with examples in which curves obtained by joining known points of the graph of a function can help you understand

More information

Appendix A. Introduction to MATLAB. A.1 What Is MATLAB?

Appendix A. Introduction to MATLAB. A.1 What Is MATLAB? Appendix A Introduction to MATLAB A.1 What Is MATLAB? MATLAB is a technical computing environment developed by The Math- Works, Inc. for computation and data visualization. It is both an interactive system

More information

ENGR 1181 Autumn 2015 Final Exam Study Guide and Practice Problems

ENGR 1181 Autumn 2015 Final Exam Study Guide and Practice Problems ENGR 1181 Autumn 2015 Final Exam Study Guide and Practice Problems Disclaimer Problems seen in this study guide may resemble problems relating mainly to the pertinent homework assignments. Reading this

More information

Introduction to MatLab. Introduction to MatLab K. Craig 1

Introduction to MatLab. Introduction to MatLab K. Craig 1 Introduction to MatLab Introduction to MatLab K. Craig 1 MatLab Introduction MatLab and the MatLab Environment Numerical Calculations Basic Plotting and Graphics Matrix Computations and Solving Equations

More information

What is MATLAB? What is MATLAB? Programming Environment MATLAB PROGRAMMING. Stands for MATrix LABoratory. A programming environment

What is MATLAB? What is MATLAB? Programming Environment MATLAB PROGRAMMING. Stands for MATrix LABoratory. A programming environment What is MATLAB? MATLAB PROGRAMMING Stands for MATrix LABoratory A software built around vectors and matrices A great tool for numerical computation of mathematical problems, such as Calculus Has powerful

More information

MATLAB Functions and Graphics

MATLAB Functions and Graphics Functions and Graphics We continue our brief overview of by looking at some other areas: Functions: built-in and user defined Using M-files to store and execute statements and functions A brief overview

More information

RD Grade Math Unit 1 Dates: Aug 3 rd - Sept 1 st. Alignment to Indiana Academic Standards: Topics A-F Alignment:

RD Grade Math Unit 1 Dates: Aug 3 rd - Sept 1 st. Alignment to Indiana Academic Standards: Topics A-F Alignment: 3 RD Grade Math Unit 1 Dates: Aug 3 rd - Sept 1 st 3.C.2 Represent the concept of multiplication of whole numbers with the following models: equalsized groups, arrays, area models, and equal "jumps" on

More information

Math Scientific Computing - Matlab Intro and Exercises: Spring 2003

Math Scientific Computing - Matlab Intro and Exercises: Spring 2003 Math 64 - Scientific Computing - Matlab Intro and Exercises: Spring 2003 Professor: L.G. de Pillis Time: TTh :5pm 2:30pm Location: Olin B43 February 3, 2003 Matlab Introduction On the Linux workstations,

More information

INTRODUCTION TO MATLAB PROGRAMMING Lec 1.1: MATLAB Basics

INTRODUCTION TO MATLAB PROGRAMMING Lec 1.1: MATLAB Basics INTRODUCTION TO MATLAB PROGRAMMING Lec 1.1: MATLAB Basics Dr. Niket Kaisare Department of Chemical Engineering IIT Madras NPTEL Course: MATLAB Programming for Numerical Computations Week-1 About this Module

More information

Introduction to the workbook and spreadsheet

Introduction to the workbook and spreadsheet Excel Tutorial To make the most of this tutorial I suggest you follow through it while sitting in front of a computer with Microsoft Excel running. This will allow you to try things out as you follow along.

More information