ChBE 354 Useful MATLAB Functions
|
|
- Arnold Powers
- 6 years ago
- Views:
Transcription
1 ChBE 354 Useful MATLAB Functions Assignment Statements a = 10 Stores 10 in a a = solve Hf HxL - f HzL, zl solves the equation for z and stores it in a a = single H143 ê 91L returns a single precision decimal approximation to the fraction. a : 10D will create the vector H1, 2, 3, 4, 5, 6, 7, 8, 9, 10L a : 2 : 10D will create the vector H0, 2, 4, 6, 8, 10L >> a : 2; 2 : 3D a = Creating Functions There are several ways to create functions. 1. m-file functions click on the blank sheet in the upper left hand corner. function fname = fx(x1) fname = x1^2; Calling this function a = fx(4) returns a value in a of Anonymous functions This is a new way of creating a function without using a m-file. On the command line type fname function fzr=@(r,r,omega) omega^2/(4*g)*(r^2-2*r^2); It is called as a = fzr(rr,rr,om) and returns the value of the function in a
2 2 MATLABNotes.nb Using solve solve can be used to solve equations symbolically or numerically. MATLAB provides faster ways to numerically solve equations. An example of a symbolic solution is shown below. The equation must be cast in the form of f(x) = 0, but it is not necessary to add the = 0 x1 ÅÅÅÅÅÅÅÅÅÅÅÅÅÅ 1 - x1 x2 - x1 = ÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅ If x1 is known, solve for x2 1 - x2 >> syms x1 x2 >> solve H ' x1 ê H1 - x1l - Hx2 - x1l ê H1 - x2l', x2l ans = 2 * x1 - x1 ^2 or >> syms x >> solve H ' x ^ n + 2 * x - 4 ', xl ans = 5 ^H1 ê 2L ^ H1 ê 2L or >> f1 = ü HxL x ^2 + 2 * x - 4; >> solve Hf1 HxL, xl ans = 5 ^H1 ê 2L ^ H1 ê 2L
3 MATLABNotes.nb 3 TI-89 Calculator Solution for the first solve example F4 1 Define fc Hx1, x2, nl = Hx2 - x1l ê H1 - x2l ^ n F2 1 solve Hfc H0, 0.96, 1L = fc H0.96, x2l, x2l x2 =.9984 Using fzero fzero is a numeric routine that can be used to find the roots of an equation. It is normally fast and efficient. There is also a function called fsolve that uses the same syntax that can be used for solving nonlinear equations. fzero also assumes that the equation is equal to zero. It uses the function name and an initial guess as arguments. Solving the polynomial equation from a previous example f1 = ü HxL x ^ * x - 4; >> fzero Hf1, 0.2L ans = >> fzero Hf1, -2L ans = >> xr : 5D xr = >> f1 = ü HxL x.^ * x - 4; Note the. before the ^ this is necessary to insure that the function is evaluated at each value of xr. >> plot Hxr, f1 HxrLL >> grid on This example shows the importance of plotting functions before looking for the roots.
4 4 MATLABNotes.nb Plotting plot Hx, y, ' o 'L Will plot the values of y versus x using o for the points. Two sets of data can be plotted on the same plot using plot Hx, y, ' o ', x1, f1 Hx1LL Will plot (x,y) as points and (x1,f1(x1)) as a line. See the previous example for plotting a function. Curve Fitting The function polyfit can be used to fit a set of (x,y) data to a polynomial of degree n. The syntax is coef = polyfit Hx, y, nl polyfit returns the coefficients of the polynomial in coef (or any name that you want to assign). To evaluate the polynomial at any value of x use polyval. The syntax is ycal = polyval Hcoef, xl In this case, polyval returns a single value for the function. To generate a table of (x,ycal) replace the single value of x with a vector containing the values of x that you want ycal values calculated. The following was created using the f1 function from above and adding some random error. >> p = polyfit Hx, ynew, 2L p = >> plot Hx, ynew, ' o ', x, polyval Hp, xll
5 MATLABNotes.nb 5 Integration Matlab uses a version of Maple for some of the symbolic and numerical integration. There is also a polynomial integration function built into Matlab. Going back to the section on curve fitting, if a series of (x,y) data is available it can sometimes be fit to a polynomial using polyfit pfit=polyfit(x,y,3) Once the coefficients (pfit) are available, the integral of the polynomial can be found by using polyint pint=polyint(pfit) To evaluate the integral between x-values use polyval area=polyval(pint,x2)-polyval(pint,x1) A function can be integrated between limits using quad or quadl (quadl handles singularities better than quad) ans = quad(f(x),x1,x2) Differentiation A polynomial can be differentiated by using polyder pder=polyder(pfit) To evaluate the derivative at some value of x use polyval dx = polyval(pder,x) where x is a number The Matlab help files are useful, but you may have to try several search terms to find the information that you need.
Math F302: Octave Miscellany September 28, e 1 x3 dx. Here s how to find a numerical approximation with Octave
Definite Integrals Despite your training in Calculus, most definite integrals cannot be computed exactly, and must be approximated numerically. You learned a number of rules for doing this: the trapezoidal
More informationGraphing and Equations
Graphing and Equations Plotting Functions (Graphing) Let's see how to plot the graphs of functions. If we want to graph the function f(x) on the interval [a,b] then we type in: plot(f(x), x=a..b) That
More informationMATLAB primer for CHE 225
MATLAB primer for CHE 225 The following pages contain a brief description of the MATLAB features are used in CHE 225. This document is best used in conjunction with the MATLAB codes posted on Vista. Find
More informationMath Homework 3
Math 0 - Homework 3 Due: Friday Feb. in class. Write on your paper the lab section you have registered for.. Staple the sheets together.. Solve exercise 8. of the textbook : Consider the following data:
More informationA = [1, 6; 78, 9] Note: everything is case-sensitive, so a and A are different. One enters the above matrix as
1 Matlab Primer The purpose of these notes is a step-by-step guide to solving simple optimization and root-finding problems in Matlab To begin, the basic object in Matlab is an array; in two dimensions,
More informationHandout 2 - Root Finding using MATLAB
Handout 2 - Root Finding using MATLAB Middle East Technical University MATLAB has couple of built-in root finding functions. In this handout we ll have a look at fzero, roots and solve functions. It is
More informationIntroduction to Matlab
Technische Universität München WT 21/11 Institut für Informatik Prof Dr H-J Bungartz Dipl-Tech Math S Schraufstetter Benjamin Peherstorfer, MSc October 22nd, 21 Introduction to Matlab Engineering Informatics
More informationMATLAB Examples. Interpolation and Curve Fitting. Hans-Petter Halvorsen
MATLAB Examples Interpolation and Curve Fitting Hans-Petter Halvorsen Interpolation Interpolation is used to estimate data points between two known points. The most common interpolation technique is Linear
More informationGraphs of Polynomial Functions. Use the information that you get from the Maple output to do the following:
1 Calculus 1 Maple Lab #4 Revised 10/29/13 Graphs of Polynomial Functions Name: Phone Number: In this lab you will utilize the first and second derivative of a polynomial, and use that information to help
More informationGetting Started with MATLAB
APPENDIX B Getting Started with MATLAB MATLAB software is a computer program that provides the user with a convenient environment for many types of calculations in particular, those that are related to
More informationDocumentation for Numerical Derivative on Discontinuous Galerkin Space
Documentation for Numerical Derivative on Discontinuous Galerkin Space Stefan Schnake 204 Introduction This documentation gives a guide to the syntax and usage of the functions in this package as simply
More informationIntroduction to MATLAB for Numerical Analysis and Mathematical Modeling. Selis Önel, PhD
Introduction to MATLAB for Numerical Analysis and Mathematical Modeling Selis Önel, PhD Advantages over other programs Contains large number of functions that access numerical libraries (LINPACK, EISPACK)
More informationMath 126 Winter CHECK that your exam contains 8 problems.
Math 126 Winter 2016 Your Name Your Signature Student ID # Quiz Section Professor s Name TA s Name CHECK that your exam contains 8 problems. This exam is closed book. You may use one 8 1 11 sheet of hand-written
More informationmathcad_homework_in_matlab.m Dr. Dave S#
Table of Contents Basic calculations - solution to quadratic equation: a*x^ + b*x + c = 0... 1 Plotting a function with automated ranges and number of points... Plotting a function using a vector of values,
More informationMATLAB QUICK START TUTORIAL
MATLAB QUICK START TUTORIAL This tutorial is a brief introduction to MATLAB which is considered one of the most powerful languages of technical computing. In the following sections, the basic knowledge
More informationMATLAB Modul 3. Introduction
MATLAB Modul 3 Introduction to Computational Science: Modeling and Simulation for the Sciences, 2 nd Edition Angela B. Shiflet and George W. Shiflet Wofford College 2014 by Princeton University Press Introduction
More informationA Curve-Fitting Cookbook for use with the NMM Toolbox
A Curve-Fitting Cookbook for use with the NMM Toolbox Gerald Recktenwald October 17, 2000 Abstract Computational steps for obtaining curve fits with Matlab are described. The steps include reading data
More informationDirection Fields; Euler s Method
Direction Fields; Euler s Method It frequently happens that we cannot solve first order systems dy (, ) dx = f xy or corresponding initial value problems in terms of formulas. Remarkably, however, this
More informationData Table from an Equation
1 Data Table from an Equation How do you create a data table from an equation - to present and export the values - to plot the data We will look at these features in SigmaPlot 1. Linear Regression 2. Regression
More informationQUADRATIC AND CUBIC GRAPHS
NAME SCHOOL INDEX NUMBER DATE QUADRATIC AND CUBIC GRAPHS KCSE 1989 2012 Form 3 Mathematics Working Space 1. 1989 Q22 P1 (a) Using the grid provided below draw the graph of y = -2x 2 + x + 8 for values
More informationInterpolation. TANA09 Lecture 7. Error analysis for linear interpolation. Linear Interpolation. Suppose we have a table x x 1 x 2...
TANA9 Lecture 7 Interpolation Suppose we have a table x x x... x n+ Interpolation Introduction. Polynomials. Error estimates. Runge s phenomena. Application - Equation solving. Spline functions and interpolation.
More informationQuadratic Functions Dr. Laura J. Pyzdrowski
1 Names: (8 communication points) About this Laboratory A quadratic function in the variable x is a polynomial where the highest power of x is 2. We will explore the domains, ranges, and graphs of quadratic
More informationGRAPHING POLYNOMIALS DAY 2 U N I T 1 1
GRAPHING POLYNOMIALS DAY 2 U N I T 1 1 ODD/EVEN DEGREE POLYNOMIAL Odd degree polynomial: A polynomial whose largest power is an odd integer Even degree polynomial : A polynomial whose largest power is
More informationMATH 51: MATLAB HOMEWORK 3
MATH 5: MATLAB HOMEWORK Experimental data generally suffers from imprecision, though frequently one can predict how data should behave by graphing results collected from experiments. For instance, suppose
More informationMATLAB Guide to Fibonacci Numbers
MATLAB Guide to Fibonacci Numbers and the Golden Ratio A Simplified Approach Peter I. Kattan Petra Books www.petrabooks.com Peter I. Kattan, PhD Correspondence about this book may be sent to the author
More informationEvaluating Rational Functions
. Name Date A C T I V I T Y 7 Evaluating Rational Functions A rational function is a function that can be expressed as f(x) = h(x) g(x), where h(x) and g(x) are both polynomials and g(x) is not the zero
More information2. Solve for x when x < 22. Write your answer in interval notation. 3. Find the distance between the points ( 1, 5) and (4, 3).
Math 6 Practice Problems for Final. Find all real solutions x such that 7 3 x = 5 x 3.. Solve for x when 0 4 3x
More informationBrenda Lynch TI Summit Algebra 1 October 20, 2012
I. Solving Equations A. On the TI-84 i. Plugging in answer with ( ) ii. Using the STO key to check your answer iii. Boolean Check (0 means incorrect, 1 means correct) iv. Using y= to solve an equation
More informationAeroelastic Model for Flutter
Aeroelastic Model for Flutter Michael Tagare de Guzman March 18, 2011 1 Introduction For this project, worked on trying to create a numerical algorithm to express and understand the concept of flutter
More informationContents. Implementing the QR factorization The algebraic eigenvalue problem. Applied Linear Algebra in Geoscience Using MATLAB
Applied Linear Algebra in Geoscience Using MATLAB Contents Getting Started Creating Arrays Mathematical Operations with Arrays Using Script Files and Managing Data Two-Dimensional Plots Programming in
More informationUser-Defined Function
ENGR 102-213 (Socolofsky) Week 11 Python scripts In the lecture this week, we are continuing to learn powerful things that can be done with userdefined functions. In several of the examples, we consider
More informationMEI GeoGebra Tasks for AS Pure
Task 1: Coordinate Geometry Intersection of a line and a curve 1. Add a quadratic curve, e.g. y = x 2 4x + 1 2. Add a line, e.g. y = x 3 3. Use the Intersect tool to find the points of intersection of
More informationApplication 2.4 Implementing Euler's Method
Application 2.4 Implementing Euler's Method One's understanding of a numerical algorithm is sharpened by considering its implementation in the form of a calculator or computer program. Figure 2.4.13 in
More informationDifferentiation. J. Gerlach November 2010
Differentiation J. Gerlach November 200 D and diff The limit definition of the derivative is covered in the Limit tutorial. Here we look for direct ways to calculate derivatives. Maple has two commands
More informationIntroduction to Computer Programming with MATLAB Matlab Fundamentals. Selis Önel, PhD
Introduction to Computer Programming with MATLAB Matlab Fundamentals Selis Önel, PhD Today you will learn to create and execute simple programs in MATLAB the difference between constants, variables and
More information,!7IA3C1-cjfcei!:t;K;k;K;k ISBN Graphing Calculator Reference Card. Addison-Wesley s. Basics. Created in conjuction with
Addison-Wesley s Graphing Calculator Reference Card Created in conjuction with Basics Converting Fractions to Decimals The calculator will automatically convert a fraction to a decimal. Type in a fraction,
More informationThe Interpolating Polynomial
Math 45 Linear Algebra David Arnold David-Arnold@Eureka.redwoods.cc.ca.us Abstract A polynomial that passes through a given set of data points is called an interpolating polynomial. In this exercise you
More informationEXAMPLE. 1. Enter y = x 2 + 8x + 9.
VI. FINDING INTERCEPTS OF GRAPHS As we have seen, TRACE allows us to find a specific point on the graph. Thus TRACE can be used to solve a number of important problems in algebra. For example, it can be
More informationAP Calculus AB Unit 2 Assessment
Class: Date: 203-204 AP Calculus AB Unit 2 Assessment Multiple Choice Identify the choice that best completes the statement or answers the question. A calculator may NOT be used on this part of the exam.
More informationVertical and Horizontal Translations
SECTION 4.3 Vertical and Horizontal Translations Copyright Cengage Learning. All rights reserved. Learning Objectives 1 2 3 4 Find the vertical translation of a sine or cosine function. Find the horizontal
More informationFunctions. Copyright Cengage Learning. All rights reserved.
Functions Copyright Cengage Learning. All rights reserved. 2.2 Graphs Of Functions Copyright Cengage Learning. All rights reserved. Objectives Graphing Functions by Plotting Points Graphing Functions with
More informationIntroduction to MATLAB
Introduction to MATLAB Basics MATLAB is a high-level interpreted language, and uses a read-evaluate-print loop: it reads your command, evaluates it, then prints the answer. This means it works a lot like
More informationPolymath 6. Overview
Polymath 6 Overview Main Polymath Menu LEQ: Linear Equations Solver. Enter (in matrix form) and solve a new system of simultaneous linear equations. NLE: Nonlinear Equations Solver. Enter and solve a new
More informationOrdinary differential equations solving methods
Radim Hošek, A07237 radhost@students.zcu.cz Ordinary differential equations solving methods Problem: y = y2 (1) y = x y (2) y = sin ( + y 2 ) (3) Where it is possible we try to solve the equations analytically,
More informationA. Matrix-wise and element-wise operations
USC GSBME MATLAB CLASS Reviewing previous session Second session A. Matrix-wise and element-wise operations A.1. Matrix-wise operations So far we learned how to define variables and how to extract data
More informationBasic Calculator Functions
Algebra I Common Graphing Calculator Directions Name Date Throughout our course, we have used the graphing calculator to help us graph functions and perform a variety of calculations. The graphing calculator
More informationMath 230 Final Exam December 22, 2015
Math 230 Final Exam December 22, 2015 General Directions. This is an open- book, open- notes, open- computer test. However, you may not communicate with any person, except me, during the test. You have
More information3.1 Maxima/Minima Values
3.1 Maxima/Minima Values Ex 1: Find all critical points for the curve given by f (x)=x 5 25 3 x3 +20x 1 on the interval [-3, 2]. Identify the min and max values. We're guaranteed max and min points if
More informationMATLAB. Advanced Mathematics and Mechanics Applications Using. Third Edition. David Halpern University of Alabama CHAPMAN & HALL/CRC
Advanced Mathematics and Mechanics Applications Using MATLAB Third Edition Howard B. Wilson University of Alabama Louis H. Turcotte Rose-Hulman Institute of Technology David Halpern University of Alabama
More informationAssignment 1, MACM 204, Fall Question 1. Solution 1. Question 2. Solution 2. Question 3
Assignment 1, MACM 204, Fall 2013 Due Tuesday September 17th at 4:30pm at the beginning of class. Late penalty: -20% for up to 24 hours late. 0 after that. Michael Monagan. There are 9 questions. Please
More informationCore Mathematics 3 Functions
http://kumarmaths.weebly.com/ Core Mathematics 3 Functions Core Maths 3 Functions Page 1 Functions C3 The specifications suggest that you should be able to do the following: Understand the definition of
More informationMath 126 Final Examination SPR CHECK that your exam contains 8 problems on 8 pages.
Math 126 Final Examination SPR 2018 Your Name Your Signature Student ID # Quiz Section Professor s Name TA s Name CHECK that your exam contains 8 problems on 8 pages. This exam is closed book. You may
More informationContinuity and Tangent Lines for functions of two variables
Continuity and Tangent Lines for functions of two variables James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University April 4, 2014 Outline 1 Continuity
More informationLINEARIZATION, NEWTON S METHOD BACKGROUND PREPARATIONS
LINEARIZATION, NEWTON S METHOD COMPUTER SESSION D3 BACKGROUND Question 1 PREPARATIONS The session is divided into two parts. The first part involves experimenting in the Mathematics Laboratory and the
More informationSurfaces and Partial Derivatives
Surfaces and Partial Derivatives James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 9, 2016 Outline Partial Derivatives Tangent Planes
More informationMEI Desmos Tasks for AS Pure
Task 1: Coordinate Geometry Intersection of a line and a curve 1. Add a quadratic curve, e.g. y = x² 4x + 1 2. Add a line, e.g. y = x 3 3. Select the points of intersection of the line and the curve. What
More informationDr Richard Greenaway
SCHOOL OF PHYSICS, ASTRONOMY & MATHEMATICS 4PAM1008 MATLAB 1 Introduction to MATLAB Dr Richard Greenaway 1 Introduction to MATLAB 1.1 What is MATLAB? MATLAB is a high-level technical computing language
More informationIntroduction to Programming with Matlab. Jim Dove
Introduction to Programming with Matlab Jim Dove Spring Semester, 2005 Chapter 1 INTRODUCTION 1.1 The Need for Computers Statistical physics or N-body simulations not possible Monte-Carlo Simulations Many
More informationLesson 4: Numerical Computations; Newton's method
Lesson 4: Numerical Computations; Newton's method restart; Catastrophic cancellation in the quadratic formula One case where roundoff error can be severe is if you subtract two numbers that are very close
More informationMEI STRUCTURED MATHEMATICS METHODS FOR ADVANCED MATHEMATICS, C3. Practice Paper C3-B
MEI Mathematics in Education and Industry MEI STRUCTURED MATHEMATICS METHODS FOR ADVANCED MATHEMATICS, C3 Practice Paper C3-B Additional materials: Answer booklet/paper Graph paper List of formulae (MF)
More informationQuickstart for Web and Tablet App
Quickstart for Web and Tablet App What is GeoGebra? Dynamic Mathematic Software in one easy-to-use package For learning and teaching at all levels of education Joins interactive 2D and 3D geometry, algebra,
More informationGraphing Techniques. Domain (, ) Range (, ) Squaring Function f(x) = x 2 Domain (, ) Range [, ) f( x) = x 2
Graphing Techniques In this chapter, we will take our knowledge of graphs of basic functions and expand our ability to graph polynomial and rational functions using common sense, zeros, y-intercepts, stretching
More informationExploring Rational Functions
Name Date Period Exploring Rational Functions Part I - The numerator is a constant and the denominator is a linear factor. 1. The parent function for rational functions is: Graph and analyze this function:
More informationHere is a quick introduction to Matlab and a couple of its symbolic and control functions.
Some Matlab 1 Here is a quick introduction to Matlab and a couple of its symbolic and control functions. Matlab is an interpreted language. When you enter a command in the Command window, the line is executed
More informationChapter 2. MathScript
Chapter 2. MathScript 2.1 What is MathScript MathScript is math-oriented, text-based computing language to address tasks mathematic calculation: Most suitable for Mathematic calculation. Matrix based data
More informationLagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers
In this section we present Lagrange s method for maximizing or minimizing a general function f(x, y, z) subject to a constraint (or side condition) of the form g(x, y, z) = k. Figure 1 shows this curve
More informationCubic Splines and Matlab
Cubic Splines and Matlab October 7, 2006 1 Introduction In this section, we introduce the concept of the cubic spline, and how they are implemented in Matlab. Of particular importance are the new Matlab
More informationToday is the last day to register for CU Succeed account AND claim your account. Tuesday is the last day to register for my class
Today is the last day to register for CU Succeed account AND claim your account. Tuesday is the last day to register for my class Back board says your name if you are on my roster. I need parent financial
More informationUser Defined Functions
User Defined Functions 120 90 1 0.8 60 Chapter 6 150 0.6 0.4 30 0.2 180 0 210 330 240 270 300 Objectives Create and use MATLAB functions with both single and multiple inputs and outputs Learn how to store
More informationSmooth rounded corner. Smooth rounded corner. Smooth rounded corner
3.2 Graphs of Higher Degree Polynomial Functions Definition of a Polynomial Function Let n be a nonnegative integer and let a n, a n-1,,a 2, a 1, a 0, be real numbers with a n 0. The function defined by
More informationThe Bisection Method versus Newton s Method in Maple (Classic Version for Windows)
The Bisection Method versus (Classic Version for Windows) Author: Barbara Forrest Contact: baforres@uwaterloo.ca Copyrighted/NOT FOR RESALE version 1.1 Contents 1 Objectives for this Lab i 2 Approximate
More informationAssignment #2: False Position Method
University of Puerto Rico Mayaguez Campus Department of Electrical & Computer Engineering Assignment #2: False Position Method Osvaldo M. Cardona 841-08-0990 Diana Rivera Negrón 802-08-6908 Ricardo I.
More informationChapter 1 Linear Equations
Chapter 1 Linear Equations 1.1 Lines In Problems 81 88, use a graphing utility to graph each linear equation. Be sure to use a viewing rectangle that shows the intercepts. Then locate each intercept rounded
More informationU4L4B Box Problem - TI Nspire CAS Teacher Notes
U4L4B Box Problem - TI Nspire CAS Teacher Notes You are provided with a sheet of metal that measures 80 cm by 60 cm. If you cut congruent squares from each corner, you are left with a rectangle in the
More informationStandardized Tests: Best Practices for the TI-Nspire CX
The role of TI technology in the classroom is intended to enhance student learning and deepen understanding. However, efficient and effective use of graphing calculator technology on high stakes tests
More informationPaper Reference(s) 6672 Edexcel GCE Pure Mathematics P2 Advanced/Advanced Subsidiary Monday 20 January 2003 Morning Time: 1 hour 30 minutes
Paper Reference(s) 6672 Edexcel GCE Pure Mathematics P2 Advanced/Advanced Subsidiary Monday 20 January 2003 Morning Time: 1 hour 30 minutes Materials required for examination Answer Book (AB16) Graph Paper
More informationIntroduction to MATLAB for Economics
Introduction to MATLAB for Economics Introduction to Optimization in MATLAB Javier Barbero Universidad Autónoma de Madrid http://www.javierbarbero.net October 31, 2014 Javier Barbero (UAM) Introduction
More informationNUMERICAL INTEGRATION AND FUNCTION FUNCTIONS
NUMERICAL INTEGRATION AND FUNCTION FUNCTIONS The arguments of functions previously considered had constants, or vector or matrix variables as arguments. In this section we will see how to set up a function
More informationTHS Step By Step Calculus Chapter 3
Name: Class Period: Throughout this packet there will be blanks you are expected to fill in prior to coming to class. This packet follows your Larson Textbook. Do NOT throw away! Keep in 3 ring-binder
More informationIntroduction to Matlab
Introduction to Matlab This tour introduces the basic notions of programming with Matlab. Contents M-file scripts M-file functions Inline functions Loops Conditionals References M-file scripts A script
More informationGraphing Calculator Comparison Activities
Graphing Calculator Comparison Activities CASIO fx-9750gii VS. TI-83, TI-83 Plus, TI-84, TI-84 Plus Finding Extrema Algebraically Texas Instruments: TI-83 Plus, TI-84 Plus, & TI-84 SE CASIO GRAPHING CALCULATORS
More informationPartial Derivatives (Online)
7in x 10in Felder c04_online.tex V3 - January 21, 2015 9:44 A.M. Page 1 CHAPTER 4 Partial Derivatives (Online) 4.7 Tangent Plane Approximations and Power Series It is often helpful to use a linear approximation
More informationSection 18-1: Graphical Representation of Linear Equations and Functions
Section 18-1: Graphical Representation of Linear Equations and Functions Prepare a table of solutions and locate the solutions on a coordinate system: f(x) = 2x 5 Learning Outcome 2 Write x + 3 = 5 as
More information2.2 Graphs Of Functions. Copyright Cengage Learning. All rights reserved.
2.2 Graphs Of Functions Copyright Cengage Learning. All rights reserved. Objectives Graphing Functions by Plotting Points Graphing Functions with a Graphing Calculator Graphing Piecewise Defined Functions
More informationAn Introduction to Graphing Calculator Basics: Graphing Functions and Solving Equations
An Introduction to Graphing Calculator Basics: Graphing Functions and Solving Equations Audience: Teachers of mathematics who have little or no experience with graphing calculators. Required Technology:
More informationComputational Finance
Computational Finance Introduction to Matlab Marek Kolman Matlab program/programming language for technical computing particularly for numerical issues works on matrix/vector basis usually used for functional
More informationQuickstart for Desktop Version
Quickstart for Desktop Version What is GeoGebra? Dynamic Mathematics Software in one easy-to-use package For learning and teaching at all levels of education Joins interactive 2D and 3D geometry, algebra,
More informationLecture 7 Symbolic Computations
Lecture 7 Symbolic Computations The focus of this course is on numerical computations, i.e. calculations, usually approximations, with floating point numbers. However, Matlab can also do symbolic computations,
More informationTrigonometry Winter E.C. Packet
Name: Class: Date: Trigonometry Winter E.C. Packet 1. *MUST SHOW WORK/COMPUTATION for all problems (these problems are designed to not to use a calculator except for Law of Sines/Cosines) *All work must
More informationIntroduction to MATLAB 7 for Engineers
PowerPoint to accompany Introduction to MATLAB 7 for Engineers William J. Palm III Chapter 2 Numeric, Cell, and Structure Arrays Copyright 2005. The McGraw-Hill Companies, Inc. Permission required for
More informationIntroduction to Classic Maple by David Maslanka
Introduction to Classic Maple by David Maslanka Maple is a computer algebra system designed to do mathematics. Symbolic, numerical and graphical computations can all be done with Maple. Maple's treatment
More informationUNIT 3 EXPRESSIONS AND EQUATIONS Lesson 3: Creating Quadratic Equations in Two or More Variables
Guided Practice Example 1 Find the y-intercept and vertex of the function f(x) = 2x 2 + x + 3. Determine whether the vertex is a minimum or maximum point on the graph. 1. Determine the y-intercept. The
More informationFour Types of Slope Positive Slope Negative Slope Zero Slope Undefined Slope Slope Dude will help us understand the 4 types of slope
Four Types of Slope Positive Slope Negative Slope Zero Slope Undefined Slope Slope Dude will help us understand the 4 types of slope https://www.youtube.com/watch?v=avs6c6_kvxm Direct Variation
More information8 Piecewise Polynomial Interpolation
Applied Math Notes by R. J. LeVeque 8 Piecewise Polynomial Interpolation 8. Pitfalls of high order interpolation Suppose we know the value of a function at several points on an interval and we wish to
More informationFunctions. Name. Use an XY Coordinate Pegboard to graph each line. Make a table of ordered pairs for each line. y = x + 5 x y.
Lesson 1 Functions Name Use an XY Coordinate Pegboard to graph each line. Make a table of ordered pairs for each line. 1. = + = + = 2 3 = 2 3 Using an XY Coordinate Pegboard, graph the line on a coordinate
More informationUniversity of Alberta
A Brief Introduction to MATLAB University of Alberta M.G. Lipsett 2008 MATLAB is an interactive program for numerical computation and data visualization, used extensively by engineers for analysis of systems.
More informationFall 2015 Math 337. Basic MatLab
Fall 215 Math 337 Basic MatLab MatLab is a powerful software created by MathWorks, which is used extensively in mathematics, engineering, and the sciences. It has powerful numerical and graphic capabilities,
More informationModels for Nurses: Quadratic Model ( ) Linear Model Dx ( ) x Models for Doctors:
The goal of this technology assignment is to graph several formulas in Excel. This assignment assumes that you using Excel 2007. The formula you will graph is a rational function formed from two polynomials,
More informationGreen Globs And Graphing Equations
Green Globs And Graphing Equations Green Globs and Graphing Equations has four parts to it which serve as a tool, a review or testing device, and two games. The menu choices are: Equation Plotter which
More informationMAT 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