Fourier Series. Period 2π over the interval [ π, π]. > > restart:with(plots): Warning, the name changecoords has been redefined
|
|
- Esmond Jordan
- 5 years ago
- Views:
Transcription
1 > Fourier Series Period 2 over the interval [, ]. > > restart:with(plots): Warning, the name changecoords has been redefined We begin by considering the function > f:=piecewise(x<-pi/3,0,x<pi/3,,0); 0 x < f := x < 0 otherwise over the interval x =.., whose plot is below. > p[0]:=plot(f,x=-pi..pi,thickness=3,discont=true): display(p[0]); We will approximate this function by Fourier polynomials of degrees through 5. > n:=5; n := 5 We first compute the coefficient a 0 = f( x) dx. 2 > a[0]:=(/(2*pi))*int(f,x=-pi..pi);
2 a 0 := 3 Next we use a loop to compute the coefficients a k = f( x ) sin( kx) dx, along with the Fourier polynomials n F n ( x ) = a 0 + a + k cos( kx) k = n k = b k sin( kx ) for n =..5. f( x ) cos( kx) dx and b k = > for k from to n do a[k]:=(/pi)*int(f*cos(k*x),x=-pi..pi); b[k]:=(/pi)*int(f*sin(k*x),x=-pi..pi); F[k]:=a[0]+sum('a[i]*cos(i*x)','i'=..k)+sum('b[i]*sin(i*x)','i'=..k ); od; 3 a := b := 0 3 cos( x ) F := + 3 a 2 := 2 b 2 := 0 3 cos( x ) 2 3 cos( 2 x) F 2 := + + a 3 := 0 b 3 := 0 3 cos( x ) 2 3 cos( 2 x) F 3 := + + a 4 := 3 4 b 4 := 0 3 cos( x ) 2 3 cos( 2 x ) F 4 := + + a 5 := 3 5 b 5 := cos( 4 x)
3 3 cos( x ) 2 3 cos( 2 x ) 3 cos( 4 x) F 5 := a 6 := 0 b 6 := 0 3 cos( x ) 2 3 cos( 2 x ) 3 cos( 4 x) F 6 := a 7 := 7 b 7 := 0 3 cos( x) 2 3 cos( 2 x ) 3 cos( 4 x ) 3 cos( 5 x) F 7 := a 8 := 8 b 8 := 0 3 cos( x ) 2 3 cos( 2 x ) 3 cos( 4 x) 3 cos( 5 x) F 8 := cos( 8 x ) + a 9 := 0 b 9 := 0 3 cos( x ) 2 3 cos( 2 x ) 3 cos( 4 x) 3 cos( 5 x) F 9 := cos( 8 x ) + a 0 := 0 b 0 := 0 3 cos( x) 2 3 cos( 2 x ) 3 cos( 4 x ) 3 cos( 5 x) F 0 := cos( 5 x) 3 cos( 5 x) 7 3 cos( 7 x) 7 3 cos( 7 x ) 7 3 cos( 7 x ) 7 3 cos( 7 x)
4 8 3 cos( 8 x ) cos( 0 x ) a := b := 0 3 cos( x) 2 3 cos( 2 x ) 3 cos( 4 x ) 3 cos( 5 x) F := cos( 8 x ) 3 cos( 0 x ) 3 cos( x) + 0 a 2 := 0 b 2 := 0 3 cos( x) 2 3 cos( 2 x ) 3 cos( 4 x ) 3 cos( 5 x) F 2 := cos( 8 x ) 3 cos( 0 x ) 3 cos( x) a 3 := b 3 := 0 3 cos( x) 2 3 cos( 2 x ) 3 cos( 4 x ) 3 cos( 5 x) F 3 := cos( 8 x ) 3 cos( 0 x ) 3 cos( x) 3 3 cos ( 3 x ) a 4 := 4 b 4 := 0 3 cos( x) 2 3 cos( 2 x ) 3 cos( 4 x ) 3 cos( 5 x) F 4 := cos( 8 x ) 3 cos( 0 x ) 3 cos( x) 3 3 cos ( 3 x ) cos( 7 x) 7 3 cos( 7 x) 7 3 cos( 7 x) 7 3 cos( 7 x)
5 4 3 cos ( 4 x ) + a 5 := 0 b 5 := 0 3 cos( x) 2 3 cos( 2 x ) 3 cos( 4 x ) 3 cos( 5 x) 7 3 cos( 7 x) F 5 := cos( 8 x ) 3 cos( 0 x ) 3 cos( x) 3 3 cos ( 3 x ) cos ( 4 x ) + Next we plot f( x ) along with each of the F n ( x ) for n =..5. > for k from to n do p[k]:=plot(f[k],x=-pi..pi,thickness=3,discont=true,color=blue): od: > for k from to n do k; display(p[0],p[k]): od;
6 2 3 4
7 5 6
8 7 8
9 9 0
10 2
11 3 4
12 5 We see that the successive Fourier polynomials give better and better approximations to ( ) f x. Although they may not be as accurate as Taylor polynomials near a given point, they do a better job of approximating a function over an entire interval. They are especially good for approximating
13 periodic functions. Let's extend f( x ) by a period in each direction with x = -... > f:=piecewise(x<-7*pi/3,0,x<-5*pi/3,,x<-pi/3,0,x<pi/3,,x<5*pi/3,0,x< 7*Pi/3,,0); 0 x < 7 x < 5 0 x < f := x < 5 0 x < 7 x < 0 otherwise We graph the extention. > p[0]:=plot(f,x=-3*pi..3*pi,thickness=3,discont=true): display(p[0]); We now plot the extended f( x ) along with each of the F n ( x ) for n =..5. > for k from to n do p[k]:=plot(f[k],x=-3*pi..3*pi,thickness=3,discont=true,color=blue): od: > for k from to n do k;
14 display(p[0],p[k]): od; 2
15 3 4 5
16 6 7
17 8 9
18 0
19 2 3
20 4 5
21 > Period b over the interval [ b 2, b 2 ]. > > restart:with(plots): Warning, the name changecoords has been redefined We begin by considering the triangular wave function > f:=piecewise(x<-2,0,x<-,x+2,x<0,-x,x<,x,x<2,2-x,0); 0 x < -2 x + 2 x < - f := x x < 0 x x < 2 x x < 2 0 otherwise over the interval x = with period b = 2, whose plot is below. > p[0]:=plot(f,x=-2..2): display(p[0]);
22 We will approximate this function by Fourier polynomials of degrees through 5. > n:=5; n := 5 We first compute the coefficient a 0 = b > a[0]:=(/2)*int(f,x=-..); b 2 b 2 f( x) dx. a 0 := 2 Next we use a loop to compute the coefficients a k = 2 b b 2 b 2 f( x ) sin 2 kx b n F n ( x ) = a a k cos 2 kx b k = here. b 2 b 2 f( x) dx, along with the Fourier polynomials n k = b k sin 2 kx b cos 2 kx b dx and b k = 2 b for n =..5, keeping in mind that b = 2
23 > for k from to n do a[k]:=int(f*cos(pi*k*x),x=-..); b[k]:=int(f*sin(pi*k*x),x=-..); F[k]:=a[0]+sum('a[i]*cos(Pi*i*x)','i'=..k)+sum('b[i]*sin(Pi*i*x)','i '=..k); od; a := 4 2 b := 0 4 cos( x ) F := 2 2 a 2 := 0 b 2 := 0 4 cos( x ) F 2 := 2 2 a 3 := b 3 := 0 4 cos( x ) 4 F 3 := a 4 := 0 b 4 := 0 4 cos( x ) 4 F 4 := a 5 := b 5 := 0 4 cos( x) 4 cos( x) 4 F 5 := a 6 := 0 cos( x ) cos( x ) b 6 := 0 4 cos( x) 4 cos( x) 4 F 6 := cos( 5 x) 2 cos( 5 x) a 7 := b 7 := 0 4 cos( x ) 4 cos( x ) 4 cos( 5 x ) 4 F 7 := a 8 := 0 2 cos( 7 x) 2
24 b 8 := 0 4 cos( x ) 4 cos( x ) 4 cos( 5 x ) 4 F 8 := cos( 7 x) a 9 := b 9 := 0 4 cos( x ) 4 cos( x) 4 cos( 5 x) 4 cos( 7 x) 4 F 9 := a 0 := 0 b 0 := 0 4 cos( x ) 4 cos( x ) 4 cos( 5 x ) 4 cos( 7 x) 4 F 0 := a := b := 0 4 cos( x ) 4 cos( x ) 4 cos( 5 x ) 4 cos( 7 x) 4 F := cos( x) 2 2 a 2 := 0 b 2 := 0 4 cos( x ) 4 cos( x ) 4 cos( 5 x ) 4 cos( 7 x) 4 F 2 := cos( x) 2 2 a 3 := b 3 := 0 4 cos( x ) 4 cos( x ) 4 cos( 5 x ) 4 cos( 7 x) 4 F 3 := cos( x) 4 cos( x) a 4 := 0 b 4 := 0 4 cos( x ) 4 cos( x ) 4 cos( 5 x ) 4 cos( 7 x) 4 F 4 := cos( x) 4 cos( x) cos( 9 x) 2 cos( 9 x) 2 cos( 9 x) 2 cos( 9 x) 2 cos( 9 x ) 2 cos( 9 x) 2
25 a 5 := b 5 := 0 4 cos( x ) 4 cos( x ) 4 cos( 5 x ) 4 cos( 7 x) 4 F 5 := cos( x) 4 cos( x) 4 cos( 5 x ) Next we plot f( x ) along with each of the F n ( x ) for n =..5. > for k from to n do p[k]:=plot(f[k],x=-2..2,color=blue): od: > for k from to n do k; display(p[0],p[k]): od; cos( 9 x) 2 2
26 3 4
27 5 6
28 7 8
29 9 0
30 2
31 3 4
32 5 Again, we see that the successive Fourier polynomials give better and better approximations to ( ) f x. > >
EXPLORING RATIONAL FUNCTIONS GRAPHICALLY
EXPLORING RATIONAL FUNCTIONS GRAPHICALLY Precalculus Project Objectives: To find patterns in the graphs of rational functions. To construct a rational function using its properties. Required Information:
More informationSecond-Order Polynomial Approximation
> with(plots): Warning, the name changecoords has been redefined M:8 Spring 7 J. Simon Second-Order Polynomial Approimation In Calc I or II, you studied Taylor polynomial approimations. If y=f() is some
More informationChapter 9 Review. By Charlie and Amy
Chapter 9 Review By Charlie and Amy 9.1- Inverse and Joint Variation- Explanation There are 3 basic types of variation: direct, indirect, and joint. Direct: y = kx Inverse: y = (k/x) Joint: y=kxz k is
More informationPractice with Parameterizing Curves and Surfaces. (Part 1)
M:8 Spring 7 J. Simon Practice with Parameterizing Curves and Surfaces (Part ) A "parameter" is a number used to measure something. In particular, if we want to describe and analyzie some curve or surface
More informationMath 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 informationMA 111 Project #1 Curve Fitting
MA 111 Project #1 Curve Fitting Melissa Avery [Partner's Name] November, 2 - 2 - Problem Descriptions The first problem is to model a ski jump using curve fitting. The ski jump starts off horizontally
More informationMath 226A Homework 4 Due Monday, December 11th
Math 226A Homework 4 Due Monday, December 11th 1. (a) Show that the polynomial 2 n (T n+1 (x) T n 1 (x)), is the unique monic polynomial of degree n + 1 with roots at the Chebyshev points x k = cos ( )
More informationAssignment 2, MACM 204, Fall Question 1. Question 2. Question 3. Michael Monagan.
Assignment 2, MACM 204, Fall 2016 Michael Monagan. Due Thursday October 6th at 2:30pm. Late penalty: -20% for up to 24 hours late. 0 after that. Please attempt each question in a seperate worksheet. Print
More informationMath 467 Homework Set 1: some solutions > with(detools): with(plots): Warning, the name changecoords has been redefined
Math 467 Homework Set : some solutions > with(detools): with(plots): Warning, the name changecoords has been redefined Problem : 2.2.7 Find the fixed points, determine their stability, for d x( t ) = cos
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 informationMath Lab 6: Powerful Fun with Power Series Representations of Functions Due noon Thu. Jan. 11 in class *note new due time, location for winter quarter
Matter & Motion Winter 2017 18 Name: Math Lab 6: Powerful Fun with Power Series Representations of Functions Due noon Thu. Jan. 11 in class *note new due time, location for winter quarter Goals: 1. Practice
More informationBifurcation diagram for damped, driven pendulum. Author: David Craig <http://web.lemoyne.edu/~craigda/> Version: 1.0 [5-2-06]
Bifurcation diagram for damped, driven pendulum. Author: David Craig Version: 1.0 [5-2-06] To do: (i) Speed up bifurcation diagram? (ii) Improve procedure for resetting
More informationMATLAB MATLAB mat lab funtool
MATLAB MATLAB (matrix laboratory) is a numerical computing environment and fourthgeneration programming language. Developed by MathWorks, MATLAB allows matrix manipulations, plotting of functions and data,
More informationAPPM/MATH Problem Set 4 Solutions
APPM/MATH 465 Problem Set 4 Solutions This assignment is due by 4pm on Wednesday, October 16th. You may either turn it in to me in class on Monday or in the box outside my office door (ECOT 35). Minimal
More informationVon Neumann Analysis for Higher Order Methods
1. Introduction Von Neumann Analysis for Higher Order Methods Von Neumann analysis is a widely used method to study how an initial wave is propagated with certain numerical schemes for a linear wave equation
More information1. No calculators or other electronic devices are allowed during this exam.
Version A Math 2E Spring 24 Midterm Exam Instructions. No calculators or other electronic devices are allowed during this exam. 2. You may use one page of notes, but no books or other assistance during
More informationColorado State University Department of Mechanical Engineering. MECH Laboratory Exercise #1 Introduction to MATLAB
Colorado State University Department of Mechanical Engineering MECH 417 - Laboratory Exercise #1 Introduction to MATLAB Contents 1) Vectors and Matrices... 2 2) Polynomials... 3 3) Plotting and Printing...
More informationMath 3 Coordinate Geometry Part 2 Graphing Solutions
Math 3 Coordinate Geometry Part 2 Graphing Solutions 1 SOLVING SYSTEMS OF EQUATIONS GRAPHICALLY The solution of two linear equations is the point where the two lines intersect. For example, in the graph
More information1.) ( ) Step 1: Factor the numerator and the denominator. Find the domain. is in lowest terms.
GP3-HW11 College Algebra Sketch the graph of each rational function. 1.) Step 1: Factor the numerator and the denominator. Find the domain. { } Step 2: Rewrite in lowest terms. The rational function is
More informationKy 0 Kx u, v / 1, u cos v, u sin v n = u 0 0. cfac = Ku cos v 0 K1. r := t/ 1, R cos t, R sin t. K8 cos t sin t 2 C 4 cos t sin t dt = 0
> restart: with(linalg): with(plots): > #Stokes Theorem Example R:=2: #define vector field F, find curl of F, and parametrize surface (a disc) F:=(x,y,z)->[x*y,y*z,z]; cf:=curl(f(x,y,z),[x,y,z]); r:=(u,v)->[1,u*cos(v),u*sin(v)];
More informationBasic Maple Tutorial
Basic Maple Tutorial The purpose of this document is to introduce some basic Maple commands, syntax, and programming concepts for Maple V Release 9.5. 1 Some Basic Maple Commands After you log on to your
More informationBasic Simulation Lab with MATLAB
Chapter 3: Generation of Signals and Sequences 1. t = 0 : 0.001 : 1; Generate a vector of 1001 samples for t with a value between 0 & 1 with an increment of 0.001 2. y = 0.5 * t; Generate a linear ramp
More informationHomework #6 Brief Solutions 2012
Homework #6 Brief Solutions %page 95 problem 4 data=[-,;-,;,;4,] data = - - 4 xk=data(:,);yk=data(:,);s=csfit(xk,yk,-,) %Using the program to find the coefficients S =.456 -.456 -.. -.5.9 -.5484. -.58.87.
More informationLinear and quadratic Taylor polynomials for functions of several variables.
ams/econ 11b supplementary notes ucsc Linear quadratic Taylor polynomials for functions of several variables. c 016, Yonatan Katznelson Finding the extreme (minimum or maximum) values of a function, is
More informationDomain: The domain of f is all real numbers except those values for which Q(x) =0.
Math 1330 Section.3.3: Rational Functions Definition: A rational function is a function that can be written in the form P() f(), where f and g are polynomials. Q() The domain of the rational function such
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 informationContents. Hilary Term. Summary of Numerical Analysis for this term. Sources of error in numerical calculation. Solving Problems
Contents Hilary Term 1 Root Finding 4 11 Bracketing and Bisection 5 111 Finding the root numerically 5 112 Pseudo BRACKET code 7 113 Drawbacks 8 114 Tips for success with Bracketing & Bisection 9 115 Virtues
More informationEarthquake Waveform Recognition Olivia Grubert and Bridget Vuong Department of Computer Science, Stanford University
Earthquake Waveform Recognition Olivia Grubert and Bridget Vuong Department of Computer Science, Stanford University Abstract When people think of applying machine learning to earthquake data, most seek
More informationSection Rational Functions and Inequalities. A rational function is a quotient of two polynomials. That is, is a rational function if
Section 6.1 --- Rational Functions and Inequalities A rational function is a quotient of two polynomials. That is, is a rational function if =, where and are polynomials and is not the zero polynomial.
More information4.3 Quadratic functions and their properties
4.3 Quadratic functions and their properties A quadratic function is a function defined as f(x) = ax + x + c, a 0 Domain: the set of all real numers x-intercepts: Solutions of ax + x + c = 0 y-intercept:
More informationSymbolic and Automatic Di erentiation in Python
Lab 15 Symbolic and Automatic Di erentiation in Python Lab Objective: Python is good for more than just analysis of numerical data. There are several packages available which allow symbolic and automatic
More informationKinematics of the Stewart Platform (Reality Check 1: page 67)
MATH 5: Computer Project # - Due on September 7, Kinematics of the Stewart Platform (Reality Check : page 7) A Stewart platform consists of six variable length struts, or prismatic joints, supporting a
More informationTrigonometric Graphs Dr. Laura J. Pyzdrowski
1 Names: About this Laboratory In this laboratory, we will examine trigonometric functions and their graphs. Upon completion of the lab, you should be able to quickly sketch such functions and determine
More informationDavid Appleyard Department of Mathematics and Computer Science Carleton College North eld, Minnesota 55057
David Appleyard Department of Mathematics and Computer Science Carleton College North eld, Minnesota 55057 After turning your calculator on, press F1 then 8 to clear the home screen. #1. Find lim ³1+ x
More informationGeorge 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 informationSection 5.4 Properties of Rational Functions
Rational Function A rational function is a function of the form R(xx) = P(xx), where P(xx)and Q(xx) are polynomial Q(xx) functions and Q(xx) 0. Domain is the set of all real numbers xx except the value(s)
More informationMath Sections 4.4 and 4.5 Rational Functions. 1) A rational function is a quotient of polynomial functions:
1) A rational function is a quotient of polynomial functions: 2) Explain how you find the domain of a rational function: a) Write a rational function with domain x 3 b) Write a rational function with domain
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 informationComputational Photonics, Summer Term 2012, Abbe School of Photonics, FSU Jena, Prof. Thomas Pertsch
Computational Photonics Seminar 02, 30 April 2012 Programming in MATLAB controlling of a program s flow of execution branching loops loop control several programming tasks 1 Programming task 1 Plot the
More informationSheet 4. Example 1. a) Expand f(x) = x 2 in a Fourier series on [ π, π]. Use the even-odd idea to reduce your work.
Sheet 4 Example 1. a) Expand x 2 in a Fourier series on [ π, π]. Use the even-odd idea to reduce your work. Create the directory sheet04 and make it your working directory. b) In this part, you will plot
More informationMATLAB NOTES. Matlab designed for numerical computing. Strongly oriented towards use of arrays, one and two dimensional.
MATLAB NOTES Matlab designed for numerical computing. Strongly oriented towards use of arrays, one and two dimensional. Excellent graphics that are easy to use. Powerful interactive facilities; and programs
More informationf xx + f yy = F (x, y)
Application of the 2D finite element method to Laplace (Poisson) equation; f xx + f yy = F (x, y) M. R. Hadizadeh Computer Club, Department of Physics and Astronomy, Ohio University 4 Nov. 2013 Domain
More informationMath B Regents Exam 0606 Page 1
Math B Regents Exam 0606 Page 1 1. 060601b, P.I. A.G.3 Each graph below represents a possible relationship between temperature and pressure. Which graph does not represent a function? [A] [B] 4. 060604b,
More informationNumerical Analysis Fall. Numerical Differentiation
Numerical Analysis 5 Fall Numerical Differentiation Differentiation The mathematical definition of a derivative begins with a difference approimation: and as is allowed to approach zero, the difference
More informationNovember 22, Center of Atmospheric Sciences, UNAM. Olmo S. Zavala Romero
Center of Atmospheric Sciences, UNAM November 22, 2017 Jean-Baptiste Joseph Jean-Baptiste Joseph (1768 1830) was a French mathematician and physicist born in Auxerre and best known for initiating the investigation
More informationApproximate First and Second Derivatives
MTH229 Project 6 Exercises Approximate First and Second Derivatives NAME: SECTION: INSTRUCTOR: Exercise 1: Let f(x) = sin(x 2 ). We wish to find the derivative of f when x = π/4. a. Make a function m-file
More informationA 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 informationUsing the HP 38G in upper school: preliminary thoughts
Using the HP 38G in upper school: preliminary thoughts Barry Kissane Murdoch University The following examples have been devised to show some of the range of ways in which the HP 38G graphics calculator
More informationUnit II-2. Orthogonal projection. Orthogonal projection. Orthogonal projection. the scalar is called the component of u along v. two vectors u,v are
Orthogonal projection Unit II-2 Orthogonal projection the scalar is called the component of u along v in real ips this may be a positive or negative value in complex ips this may have any complex value
More informationExamples of Linear Approximation
M28Spring07 J. Simon Examples of Linear Approximation Here are several examples of using derivatives to find the "best" linear [I'd rather say "affine", but the text says "linear"] approximation to a given
More informationand F is an antiderivative of f
THE EVALUATION OF DEFINITE INTEGRALS Prepared by Ingrid Stewart, Ph.D., College of Southern Nevada Please Send Questions Comments to ingrid.stewart@csn.edu. Thank you! We have finally reached a point,
More information1-- 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 informationTopic 2.3: Tangent Planes, Differentiability, and Linear Approximations. Textbook: Section 14.4
Topic 2.3: Tangent Planes, Differentiability, and Linear Approximations Textbook: Section 14.4 Warm-Up: Graph the Cone & the Paraboloid paraboloid f (x, y) = x 2 + y 2 cone g(x, y) = x 2 + y 2 Do you notice
More informationLab P-1: Introduction to MATLAB. 3. Learn a little about advanced programming techniques for MATLAB, i.e., vectorization.
DSP First, 2e Signal Processing First Lab P-1: Introduction to MATLAB Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises in
More informationPHYSICS 115/242 Homework 2, Solutions
PHYSICS 115/242 Homework 2, Solutions 1. Trapezium Rule I wrote a function trap to do the trapezoidal rule, and put it in a separate file, trap.c. This is as follows: /******************************************************************
More informationIntegration Using the Gauss Quadrature Rule - Convergence
Integration Using the Gauss Quadrature Rule - Convergence 2004 Autar Kaw, Loubna Guennoun, University of South Florida, kaw@eng.usf.edu, http://numericalmethods.eng.usf.edu NOTE: This worksheet demonstrates
More informationPart V Appendices c Copyright, Todd Young and Martin Mohlenkamp, Department of Mathematics, Ohio University, 2017
Part V Appendices c Copyright, Todd Young and Martin Mohlenkamp, Department of Mathematics, Ohio University, 2017 Appendix A Glossary of Matlab Commands Mathematical Operations + Addition. Type help plus
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 informationTopics. 2D Signal. a b. c d. Bioengineering 280A Principles of Biomedical Imaging. Fall Quarter 2004 Lecture 4 2D Fourier Transforms
Bioengineering 280A Principles of Biomedical Imaging Fall Quarter 2004 Lecture 4 2D Fourier Transforms Topics. 2D Signal Representations 2. 2D Fourier Transform 3. Transform Pairs 4. FT Properties 2D Signal
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 information13. Brewster angle measurement
13. Brewster angle measurement Brewster angle measurement Objective: 1. Verification of Malus law 2. Measurement of reflection coefficient of a glass plate for p- and s- polarizations 3. Determination
More informationPackage mosaiccalc. July 27, 2017
Type Package Package mosaiccalc July 27, 2017 Title Function-Based Numerical and Symbolic Differentiation and Antidifferentiation Part of the Project MOSAIC () suite that provides
More informationOscillation around a local maxima of minima--newton-raphson Method.
Oscillation around a local maxima of minima--newton-raphson Method. 2003 Nathan Collier, Autar Kaw, Jai Paul, Michael Keteltas, University of South Florida, kaw@eng.usf.edu, http://numericalmethods.eng.usf.edu/mws
More informationHomework #6 Brief Solutions 2011
Homework #6 Brief Solutions %page 95 problem 4 data=[-,;-,;,;4,] data = - - 4 xk=data(:,);yk=data(:,);s=csfit(xk,yk,-,) %Using the program to find the coefficients S =.456 -.456 -.. -.5.9 -.5484. -.58.87.
More informationLesson 24: Taylor series
Lesson 24: Taylor series restart; Finding Taylor series As we saw last time, Maple has the taylor command to find a given number of terms of a Taylor series of an epression. taylor((ep()-1-)/^2, ); But
More informationMar. 20 Math 2335 sec 001 Spring 2014
Mar. 20 Math 2335 sec 001 Spring 2014 Chebyshev Polynomials Definition: For an integer n 0 define the function ( ) T n (x) = cos n cos 1 (x), 1 x 1. It can be shown that T n is a polynomial of degree n.
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 informationDynamical Systems - Math 3280 Mathematica: From Algebra to Dynamical Systems c
Dynamical Systems - Math 3280 Mathematica: From Algebra to Dynamical Systems c Edit your document (remove extras and errors, ensure the rest works correctly). If needed, add comments. It is not necessary
More informationLesson 16: Integration
Lesson 16: Integration Definite integrals When Maple can find an antiderivative of a function, it should have no trouble with definite integrals of that function, using the Fundamental Theorem of Calculus.
More informationIn some applications it may be important that the extrema of the interpolating function are within the extrema of the given data.
Shape-preserving piecewise poly. interpolation In some applications it may be important that the extrema of the interpolating function are within the extrema of the given data. For example: If you the
More informationSections 1.3 Computation of Limits
1 Sections 1.3 Computation of Limits We will shortly introduce the it laws. Limit laws allows us to evaluate the it of more complicated functions using the it of simpler ones. Theorem Suppose that c is
More information4.6 GRAPHS OF OTHER TRIGONOMETRIC FUNCTIONS
4.6 GRAPHS OF OTHER TRIGONOMETRIC FUNCTIONS Copyright Cengage Learning. All rights reserved. What You Should Learn Sketch the graphs of tangent functions. Sketch the graphs of cotangent functions. Sketch
More informationArc Length, Curvature and The TNB Frame
Arc Length, Curvature and The TNB Frame Introduction and Goals: The main goal of this lab will help you visualize the tools we use to describe the geometry of vector-valued functions. Moreover, we want
More informationPowerPoints organized by Dr. Michael R. Gustafson II, Duke University
Part 5 Chapter 19 Numerical Differentiation PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright The McGraw-Hill Companies, Inc. Permission required for reproduction
More informationOptics Quiz #2 April 30, 2014
.71 - Optics Quiz # April 3, 14 Problem 1. Billet s Split Lens Setup I the ield L(x) is placed against a lens with ocal length and pupil unction P(x), the ield (X) on the X-axis placed a distance behind
More informationMaximizing an interpolating quadratic
Week 11: Monday, Apr 9 Maximizing an interpolating quadratic Suppose that a function f is evaluated on a reasonably fine, uniform mesh {x i } n i=0 with spacing h = x i+1 x i. How can we find any local
More informationCommutative filters for LES on unstructured meshes
Center for Turbulence Research Annual Research Briefs 1999 389 Commutative filters for LES on unstructured meshes By Alison L. Marsden AND Oleg V. Vasilyev 1 Motivation and objectives Application of large
More informationExam in Calculus. Wednesday June 1st First Year at The TEK-NAT Faculty and Health Faculty
Exam in Calculus Wednesday June 1st 211 First Year at The TEK-NAT Faculty and Health Faculty The present exam consists of 7 numbered pages with a total of 12 exercises. It is allowed to use books, notes,
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 informationTrigonometric Fourier series
Trigonometric Fourier series Recall that two vectors are orthogonal if their inner product is zero Suppose we consider all functions with at most a finite number of discontinuities ined on the interval
More informationHow 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 informationMath 1330 Section : Rational Functions Definition: A rational function is a function that can be written in the form f ( x ), where
2.3: Rational Functions P( x ) Definition: A rational function is a function that can be written in the form f ( x ), where Q( x ) and Q are polynomials, consists of all real numbers x such that You will
More information. As x gets really large, the last terms drops off and f(x) ½x
Pre-AP Algebra 2 Unit 8 -Lesson 3 End behavior of rational functions Objectives: Students will be able to: Determine end behavior by dividing and seeing what terms drop out as x Know that there will be
More informationFitting to a set of data. Lecture on fitting
Fitting to a set of data Lecture on fitting Linear regression Linear regression Residual is the amount difference between a real data point and a modeled data point Fitting a polynomial to data Could use
More informationf xx (x, y) = 6 + 6x f xy (x, y) = 0 f yy (x, y) = y In general, the quantity that we re interested in is
1. Let f(x, y) = 5 + 3x 2 + 3y 2 + 2y 3 + x 3. (a) Final all critical points of f. (b) Use the second derivatives test to classify the critical points you found in (a) as a local maximum, local minimum,
More informationFRESNEL DIFFRACTION AND PARAXIAL WAVE EQUATION. A. Fresnel diffraction
19 IV. FRESNEL DIFFRACTION AND PARAXIAL WAVE EQUATION A. Fresnel diffraction Any physical optical beam is of finite transverse cross section. Beams of finite cross section may be described in terms of
More informationf( x ), or a solution to the equation f( x) 0. You are already familiar with ways of solving
The Bisection Method and Newton s Method. If f( x ) a function, then a number r for which f( r) 0 is called a zero or a root of the function f( x ), or a solution to the equation f( x) 0. You are already
More informationpractice: quadratic functions [102 marks]
practice: quadratic functions [102 marks] A quadratic function, f(x) = a x 2 + bx, is represented by the mapping diagram below. 1a. Use the mapping diagram to write down two equations in terms of a and
More informationA Brief Introduction to Mathematica
A Brief Introduction to Mathematica Objectives: (1) To learn to use Mathematica as a calculator. (2) To learn to write expressions in Mathematica, and to evaluate them at given point. (3) To learn to plot
More information13.6 Directional derivatives,
13.5 The chain rule Theorem [Chain Rule for Functions of Two Variables] If w = f ( x, y ) is differentiable and x and y are differentiable functions of t, then w is a differentiable function of t and dw
More informationELEC4042 Signal Processing 2 MATLAB Review (prepared by A/Prof Ambikairajah)
Introduction ELEC4042 Signal Processing 2 MATLAB Review (prepared by A/Prof Ambikairajah) MATLAB is a powerful mathematical language that is used in most engineering companies today. Its strength lies
More informationHands-on Lab. LabVIEW Simulation Tool Kit
Hands-on Lab LabVIEW Simulation Tool Kit The LabVIEW Simulation Tool Kit features a comprehensive suite of tools to test designs. This lab provides a primer to implementing a simulation. This will be useful
More informationCalculus II - Math 1220 Mathematica Commands: From Basics To Calculus II - Version 11 c
Calculus II - Math 1220 Mathematica Commands: From Basics To Calculus II - Version 11 c Edit your document (remove extras and errors, ensure the rest works correctly) and turn-in your print-out. If needed,
More informationP1 REVISION EXERCISE: 1
P1 REVISION EXERCISE: 1 1. Solve the simultaneous equations: x + y = x +y = 11. For what values of p does the equation px +4x +(p 3) = 0 have equal roots? 3. Solve the equation 3 x 1 =7. Give your answer
More informationExercises for a Numerical Methods Course
Exercises for a Numerical Methods Course Brian Heinold Department of Mathematics and Computer Science Mount St. Mary s University November 18, 2017 1 / 73 About the class Mix of Math and CS students, mostly
More informationAnalysis of the Gaussian Beam on a Corrugated Dielectric Interface
(An ISO 3297: 27 Certified Organization) Vol. 3, Issue 9, September 214 Analysis of the Gaussian Beam on a Corrugated Dielectric Interface Mohamed B. El_Mashade 1, Adel Shaaban 2 Department of Electrical
More informationNatasha S. Sharma, PhD
Revisiting the function evaluation problem Most functions cannot be evaluated exactly: 2 x, e x, ln x, trigonometric functions since by using a computer we are limited to the use of elementary arithmetic
More informationVisualizing Linear Transformations in R 3
Visualizing Linear Transformations in R 3 Worksheet by Michael K. May, S. J., revised by Russell Blyth restart: with(linearalgebra): with(plots): with(plottools): Warning, the name changecoords has been
More informationB-Spline Polynomials. B-Spline Polynomials. Uniform Cubic B-Spline Curves CS 460. Computer Graphics
CS 460 B-Spline Polynomials Computer Graphics Professor Richard Eckert March 24, 2004 B-Spline Polynomials Want local control Smoother curves B-spline curves: Segmented approximating curve 4 control points
More information3. Lifting Scheme of Wavelet Transform
3. Lifting Scheme of Wavelet Transform 3. Introduction The Wim Sweldens 76 developed the lifting scheme for the construction of biorthogonal wavelets. The main feature of the lifting scheme is that all
More information