Key exercise 1 INF5620

Size: px
Start display at page:

Download "Key exercise 1 INF5620"

Transcription

1 Key exercise 1 INF5620 Matias Holte kjetimh@student.matnat.uio.no 13. mars Key exercise 1 The task was to implement a python program solving the 2D wave equation with damping, variable wave velocity, and du/dn=0 boundary conditions, on a rectangle-shaped domain with uniform mesh partition. domain The domain was set to in x and y direction, with maximum time = 19. Then a mesh of variable size was put on top of the domain. wave velocity The wave velocity was set to 1 in most of the domain, except a small square-shaped subdomain in the middle, where the velocity was considerably smaller initial contidion As initial condition, we chose u(x, y, 0) = cos(pi x) for x < 1/2 and u = 0 otherwise. In other words, a wave travelling in x direction. damping A damping constant β 0 was chosen, dampening the waves. 1.1 Mathematical equation The wave equation reads: 2 u t 2 + β u t = ( c(x, y) u ) + ( c(x, y) u ) + f(x, y) x x y y In addition we have the boundary conditions: u(x, y, 0) = I(x, y) u n = 0 1

2 1.2 Finite differences We use these finite differences 2 u u(x, y, t + t) 2u(x, y, t) + u(x, y, t t) t 2 = t 2 u u(x, y, t + t) u(x, y, t t) = ( t 2 t c(x, y) u ) c(x + x/2, y) u(x + x/2, y, t) c(x x/2, y) u(x x/2, y, t) = x x x x c(x + x/2, y)(u(x + x, y, t) u(x, y, t)) = x 2 c(x x/2, y)(u(x, y, t) u(x x, y, t) ( c(x, y) u ) = y y = And boundary conditions x 2 c(x, y + y/2) u(x, y + y/2, t) c(x, y y/2) u(x, y y/2, t) y y c(x, y + y/2)(u(x, y + y, t) u(x, y, t)) y 2 c(x, y y/2)(u(x, y, t) u(x, y y, t)) y 2 u(x, y, dt) = u(x, y, dt) u( dx, y, t) = u(dx, y, t) u(xmax + dx, y, t) = u(xmax dx, y, t) u(x, dy, t) = u(x, dy, t) u(x, ymax + dy, t) = u(x, ymax dy, t) 2 Benchmarks In order to test the speed of the solution, timing functions were added at the beginning and end of the solver function. Additionally, storage of everything but the last 3 timesteps was disabled, and plotting too. In other words, just the actual calculations contributed to the time. In each test, the number of points in x, y and time direction is given. The total number of points calculated is the product of these, ranging from 8100 to Note that the numbers include the ghost nodes at the edge, but the asymptotic size is the same 2

3 nx ny nt initialization solver total time s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s 3 The python program 1 #!/ usr/bin/env python 2 3 from future import d i v i s i o n # d i s a b l e i n t e g e r d i v i s i o n 4 import sys 5 from s c i t o o l s import easyviz 6 from s c i t o o l s. numpyutils import * 7 from s c i t o o l s. a l l import * 8 import numpy as np 9 import time 10 import os, s h u t i l def ic_vec ( I, f, u, um, xv, yv, Cx2, Cy2, dt, cxp, cxm, cyp, cym, cxa, cya ) : 14 " " " 15 i n i t i a l i z e with f i r s t 2 timesteps. With time = 0, use i n i t i a l condition 16 given by function I ( ), when time = dt, the s t a t e i s equal to time = dt 17 we can thus combine the two timesteps and divide everything by 2 18 Note t h a t we ignore damping in t h i s f i r s t timestep I = function taking two coordinates and returning a valu e 21 f = function in equation, ignored f o r now 3

4 22 u = current timestep = 0 23 um = previous timestep = dt 24 xv, yv = p o s i t i o n of points 25 Cx2, Cy2 = f a c t o r s due to grid s i z e 26 dt = time step 27 c [ xy ] [ pma] = wave speed in [ xy ] d i r e c t i o n, at o f f s e t [ plus minus both ] " " " 29 nx, ny = xv. shape [0] 1, yv. shape [1] 1 30 dt2 = dt * dt 31 u [ :, : ] = I ( xv, yv ) 32 um[ 1 : nx, 1 : ny ] = u [ 1 : nx, 1 : ny ] + \ * Cx2 * ( cxm * u [ 0 : nx 1,1:ny ] ( cxa ) * u [ 1 : nx, 1 : ny ] + cxp * u [ 2 : nx + 1, 1 : ny ] ) + \ * Cy2 * ( cym * u [ 1 : nx, 0 : ny 1] ( cya ) * u [ 1 : nx, 1 : ny ] + cyp * u [ 1 : nx, 2 : ny +1]) 35 # * dt * * 2 * f ( xv [ 1 : nx, : ], yv [ :, 1 : ny ], 0. 0 ) 36 um = bc_vec (um, nx +1, ny +1) 37 return u, um def scheme_vec ( f, up, u,um, xv, yv, t, Cx2, Cy2, dt, b, cxp, cxm, cyp, cym, cxa, cya ) : 40 " " " 41 c a l c u l a t e next step, given the current and previous timestep up = next timestep, the one we c a l c u l a t e 44 b = damping f a c t o r 45 t = current time ( might be needed in f ( ) ) 46 r e s t of parameters are equal to ic_vec 47 " " " 48 nx, ny = xv. shape [0] 1, yv. shape [1] 1 49 up [ 1 : nx, 1 : ny ] = ( um[ 1 : nx, 1 : ny ] + 2 * u [ 1 : nx, 1 : ny ] + \ 50 Cx2 * ( cxm * u [ 0 : nx 1,1:ny ] ( cxa ) * u [ 1 : nx, 1 : ny ] + cxp * u [ 2 : nx + 1, 1 : ny ] ) + \ 51 Cy2 * ( cym * u [ 1 : nx, 0 : ny 1] ( cya ) * u [ 1 : nx, 1 : ny ] + cyp * u [ 1 : nx, 2 : ny +1]) + \ 52 b * um[ 1 : nx, 1 : ny ] * dt/2 \ 53 # + dt * * 2 * f ( xv [ 1 : nx, : ], yv [ :, 1 : ny ], t +dt ) 54 ) /(1+b * dt /2) 55 return up def bc_vec ( up, nx, ny ) : 4

5 58 59 add border conditions to matrix by updating the edges of 60 the up matrix. nx and ny are the dimentions of the matrix. 61 The border values are a l s o c a l l e d ghost nodes, because they 62 are outside the domain and only included to avoid s p e c i a l 63 cases in the ic_vec ( ) and scheme_vec ( ) f u n c t i o n s 64 ( I HATE s p e c i a l cases ) # ze r o border 67 # up [ 1, : ] = 0 68 # up [ :, 1 ] = 0 69 # up[ nx 2,:] = 0 70 # up [ :, ny 2] = 0 71 # return up # zero d e r i v a t i v e at border 74 up [ 0, : ] = up [ 2, : ] 75 up [ :, 0 ] = up [ :, 2 ] 76 up[ nx 1,:] = up[ nx 3,:] 77 up [ :, ny 1] = up [ :, ny 3] 78 return up def s o l v e r ( I, f, C, Lx, Ly, Lt, nx, ny, dt, b, benchmark=false ) : 82 " " " 83 I n i t i a l i z e v a r i a b l e s used in the s o l v e r. 84 May a l s o c a l l d i f f e r e n t schemes ( not implemented ) I, f,c = f u n c t i o n s in the equation 87 Lx, Ly, Lt = length of domain in x, y and time d i r e c t i o n 88 nx, ny = number of nodes in x, y d i r e c t i o n 89 dt = timestep 90 b = beta parameter 91 benchmark = don t save s olution, and output debug i n f o 92 " " " 93 i f benchmark : 94 t0 = time. time ( ) 95 dx = Lx/ f l o a t ( nx ) 5

6 96 dy = Ly/ f l o a t ( ny ) # grid i s nx * ny squares => ( ( nx+1) * ( ny+1) ) corners 99 # in addition we need two squares e x t r a f o r the ghost ( edge ) squares 100 nx, ny = nx+3,ny x = l i n s p a c e ( dx, Lx+dx, nx ) # grid points in x d ir 102 y = l i n s p a c e ( dy, Ly+dy, ny ) # grid points in y d ir 103 xv = x [ :, None ] 104 yv = y [ None, : ] # precompute f a c t o r s caused by the function C 107 cxp = C( xv [ 1 : nx 1,:]+ dx/2,yv [ :, 1 : ny 1]) 108 cxm = C( xv [ 1 : nx 1,:] dx/2,yv [ :, 1 : ny 1]) 109 cyp = C( xv [ 1 : nx 1, : ], yv [ :, 1 : ny 1]+dy/2) 110 cym = C( xv [ 1 : nx 1, : ], yv [ :, 1 : ny 1] dy/2) 111 cxa = cxm+cxp 112 cya = cym+cyp # find max time step i f i n v a l i d ( non p o s i t i v e ) 115 i f dt <= 0 : 116 dt = (1/ f l o a t ( cxp. max ( ) ) ) * (1/ s q r t (1/ dx * * 2 + 1/ dy * * 2 ) ) 117 Cx2 = ( dt/dx ) * * 2 ; Cy2 = ( dt/dy ) * * 2 # help v a r i a b l e s up = zeros ( ( nx, ny ) ) # s o l u t i o n array 120 u = up. copy ( ) # s o l u t i o n at t dt 121 um = up. copy ( ) # s o l u t i o n at t 2 * dt t = u,um = ic_vec ( I, f, u,um, xv, yv, Cx2, Cy2, dt, cxp, cxm, cyp, cym, cxa, cya ) U = [ ] 127 i f benchmark : 128 t1 = time. time ( ) 129 e l s e : 130 U. append ( u. copy ( ) ) while t <= Lt : 133 t += dt 6

7 134 # update a l l inner points 135 up = scheme_vec ( f, up, u, um, xv, yv, t, Cx2, Cy2, dt, b, cxp, cxm, cyp, cym, cxa, cya ) 136 # update border points 137 up = bc_vec ( up, nx, ny ) 138 # update data s t r u c t u r e s f o r next step : 139 um, u, up = u, up, um 140 # save s o l u t i o n 141 i f not benchmark : 142 U. append ( u. copy ( ) ) 143 i f benchmark : 144 t2 = time. time ( ) 145 p r i n t " " " Test with nx = %d, ny = %d, nt = %d : i n i t : %3.5 f s, s o l v e r %3.5 f s, t o t a l %3.5 f " " " % ( nx, ny, Lt/dt, t1 t0, t2 t1, t2 t0 ) 146 return x, y,u def small_mesh ( ) : 149 # Lx, Ly, nx, ny, dt 150 return ( 2 0, 1 0, 6, 6, 1 ) def medium_mesh ( ) : 153 # Lx, Ly, nx, ny, dt 154 return ( 2 0, 1 0, 2 0, 1 0, 0. 5 ) def large_mesh ( ) : 157 # Lx, Ly, nx, ny dt, 158 return ( 2 0, 1 0, 5 0, 2 5, 0. 1 ) def huge_mesh ( ) : 161 # Lx, Ly, nx, ny dt, 162 return ( 2 0, 1 0, 1 0 0, 5 0, ) def benchmark1_mesh ( ) : 165 # Lx, Ly, nx, ny dt, 166 return ( 2 0, 1 0, 1 0 0, 1 0 0, ) def benchmark2_mesh ( ) : 169 # Lx, Ly, nx, ny dt, 170 return ( 2 0, 1 0, 3 0 0, 3 0 0, ) def benchmark3_mesh ( ) : 173 # Lx, Ly, nx, ny dt, 174 return ( 2 0, 1 0, , , ) 7

8 def benchmark4_mesh ( ) : 177 # Lx, Ly, nx, ny dt, 178 return ( 2 0, 1 0, , , ) def t e s t _ c o n s t a n t ( mesh= small, nt = 100) : 181 Lx, Ly, nx, ny, dt = eval ( mesh+" _mesh " ) ( ) 182 Lt = dt * nt 183 beta = # constant i n i t i a l function gives constant s o l u t i o n always 186 def I ( x, y ) : 187 return def f ( x, y, t ) : 190 return def C( x, y ) : 193 return * ( x>=4) * ( x <=6) * ( y>=4) * ( y<=6) x, y,u = s o l v e r ( I, f, C, Lx, Ly, Lt, nx, ny, dt, beta ) 196 return x, y,u def test_wave ( mesh= small, beta =0, Lt =19) : # t h i s i s the h a l f cosine i n i t i a l wave 201 def I ( x, y ) : 202 return np. cos ( np. pi * x ) * ( x < 0. 5 ) def f ( x, y, t ) : 205 return def C( x, y ) : 208 return * ( x>=3) * ( x<=7) * ( y>=3) * ( y<=7) Lx, Ly, nx, ny, dt = eval ( mesh+" _mesh " ) ( ) 211 x, y,u = s o l v e r ( I, f, C, Lx, Ly, Lt, nx, ny, dt, beta ) 212 return ( x, y,u) def test_benchmark ( mesh= benchmark1, beta =0, nt =100) : 215 " " " Test code designed f o r benchmarking 216 instead of s p e c i f y i n g the f i n a l time, we s p e c i f y the 8

9 217 number of time points. And we turn o f f 218 graphics and s t o r i n g of r e s u l t s " " " def I ( x, y ) : 221 return np. cos ( np. pi * x ) * ( x < 0. 5 ) def f ( x, y, t ) : 224 return def C( x, y ) : 227 return * ( x>=3) * ( x<=7) * ( y>=3) * ( y<=7) Lx, Ly, nx, ny, dt = eval ( mesh+" _mesh " ) ( ) 230 Lt = dt * nt 231 s o l v e r ( I, f, C, Lx, Ly, Lt, nx, ny, dt, beta, benchmark=true ) def v i s u a l i z e ( x, y,u) : 234 " " " p l o t s o l u t i o n as an animated s u r f a c e p l o t " " " 235 x, y = x [1: 1], y [1: 1] 236 xd, yd = np. meshgrid ( x, y ) 237 xd = xd. T 238 yd = yd. T 239 f o r i in xrange ( len (U) 1) : 240 h = easyviz. s u r f c ( xd, yd,u[ i ][1: 1,1: 1], zmin = 1,zmax=1) 241 time. s leep (. 1 ) def makemovie ( x, y,u, filename= t e s t, tmpfolder=./tmp/ ) : 244 " " " s t o r e s o l u t i o n as a movie f i l e. Name of f i l e w i l l be 245 filename given as argument +. g i f e xtension " " " 246 xnew, ynew = np. meshgrid ( x, y ) 247 xnew = xnew. T 248 ynew = ynew. T 249 frame_counter = name = filename +. g i f 252 zmi= 1;zma=1 253 t r y : 254 os. mkdir ( tmpfolder ) 255 except : 256 p r i n t " Folder %s not empty! " % tmpfolder 9

10 257 e x i t ( ) f o r i in xrange ( len (U) ) : 260 tmp = _%04d. png % frame_counter 261 tmpname = tmpfolder + filename + tmp 262 h = easyviz. s u r f c ( xnew, ynew,u[ i ], zmin=zmi, zmax =zma, hardcopy=tmpname, view = ( 6 0, 1 0 ),show= F alse ) 263 p r i n t " frame number %d " % frame_counter 264 frame_counter += t m p f i l e s = tmpfolder + filename + _ *. png 267 movie ( tmpfiles, 268 encoder = convert, 269 fps = 10, # frames per second 270 o u t p u t _ f i l e = name ) 271 s h u t i l. rmtree ( tmpfolder ) i f name == main : 274 # p o s s i b l e meshes : small, medium, large, huge, benchmark[1 4] 275 x, y,u = test_wave ( mesh= l a r g e, beta =. 2, Lt =19) 276 # v i s u a l i z e ( x, y,u) 277 # makemovie ( x, y,u, filename =" l a r g e " ) 278 test_benchmark ( mesh= benchmark1, beta =0, nt =1000) 10

1/10 conduct2d-square-pipe-transient.xmcd

1/10 conduct2d-square-pipe-transient.xmcd 1/10 conductd-square-pipe-transient.xmcd Transient Heat Conduction in a square pipe, with an outer side of LW1 unit length and an inner side of wl/w/0.5 unit length. Case a) Constant temperature T out

More information

Lecture 10: Linear Multistep Methods (LMMs)

Lecture 10: Linear Multistep Methods (LMMs) Lecture 10: Linear Multistep Methods (LMMs) 2nd-order Adams-Bashforth Method The approximation for the 2nd-order Adams-Bashforth method is given by equation (10.10) in the lecture note for week 10, as

More information

INF5620 Key exercise 1

INF5620 Key exercise 1 INF6 Key exerise Per Kristia Igebrigtse perki@stdet.matat.io.o Program ode ad aimated plots fod at http://folk.io.o/perki/inf6/key Sprig INF6 Key exerise Per Kristia Igebrigtse perki@stdet.matat.io.o Cotets

More information

2.2 Separable Equations

2.2 Separable Equations 2.2 Separable Equations Definition A first-order differential equation that can be written in the form Is said to be separable. Note: the variables of a separable equation can be written as Examples Solve

More information

Vector Fields and Solutions to Ordinary Differential Equations using Octave

Vector Fields and Solutions to Ordinary Differential Equations using Octave Vector Fields and Solutions to Ordinary Differential Equations using Andreas Stahel 6th December 29 Contents Vector fields. Vector field for the logistic equation...............................2 Solutions

More information

Vector Fields and Solutions to Ordinary Differential Equations using MATLAB/Octave

Vector Fields and Solutions to Ordinary Differential Equations using MATLAB/Octave Vector Fields and Solutions to Ordinary Differential Equations using MATLAB/Octave Andreas Stahel 5th December 27 Contents Vector field for the logistic equation 2 Solutions of ordinary differential equations

More information

A Fixed-Grid Adaptive Radial Basis Function Method

A Fixed-Grid Adaptive Radial Basis Function Method A Fixed-Grid Adaptive Radial Basis Function Method Daniel Higgs May 20, 2009 Introduction Radial Basis Functions are a class of real-valued functions which map points in a domain to the distance from a

More information

Exercise 5 Release: Due:

Exercise 5 Release: Due: Stochastic Modeling and Simulation Winter 28 Prof. Dr. I. F. Sbalzarini, Dr. Christoph Zechner (MPI-CBG/CSBD TU Dresden, 87 Dresden, Germany Exercise 5 Release: 8..28 Due: 5..28 Question : Variance of

More information

be a path in L G ; we can associated to P the following alternating sequence of vertices and edges in G:

be a path in L G ; we can associated to P the following alternating sequence of vertices and edges in G: 1. The line graph of a graph. Let G = (V, E) be a graph with E. The line graph of G is the graph L G such that V (L G ) = E and E(L G ) = {ef : e, f E : e and f are adjacent}. Examples 1.1. (1) If G is

More information

Diffusion Processes. Lectures INF2320 p. 1/72

Diffusion Processes. Lectures INF2320 p. 1/72 Diffusion Processes Lectures INF2320 p. 1/72 Lectures INF2320 p. 2/72 Diffusion processes Examples of diffusion processes Heat conduction Heat moves from hot to cold places Diffusive (molecular) transport

More information

The second-order 1D wave equation

The second-order 1D wave equation C The second-order D wave equation C. Homogeneous wave equation with constant speed The simplest form of the second-order wave equation is given by: x 2 = Like the first-order wave equation, it responds

More information

Solving First Order PDEs

Solving First Order PDEs Solving Ryan C. Trinity University Partial Differential Equations January 21, 2014 Solving the transport equation Goal: Determine every function u(x, t) that solves u t +v u x = 0, where v is a fixed constant.

More information

Slide 1. Slide 2. Slide 3 Remark is a new function derived from called derivative. 2.2 The derivative as a Function

Slide 1. Slide 2. Slide 3 Remark is a new function derived from called derivative. 2.2 The derivative as a Function Slide 1 2.2 The derivative as a Function Slide 2 Recall: The derivative of a function number : at a fixed Definition (Derivative of ) For any number, the derivative of is Slide 3 Remark is a new function

More information

An (incomplete) Introduction to FreeFem++

An (incomplete) Introduction to FreeFem++ An (incomplete) Introduction to FreeFem++ Nathaniel Mays Wheeling Jesuit University November 12, 2011 Nathaniel Mays (Wheeling Jesuit University)An (incomplete) Introduction to FreeFem++ November 12, 2011

More information

Ma 221 Final Exam Solutions 5/14/13

Ma 221 Final Exam Solutions 5/14/13 Ma 221 Final Exam Solutions 5/14/13 1. Solve (a) (8 pts) Solution: The equation is separable. dy dx exy y 1 y0 0 y 1e y dy e x dx y 1e y dy e x dx ye y e y dy e x dx ye y e y e y e x c The last step comes

More information

Math 425 Notes 9. We state a rough version of the fundamental theorem of calculus. Almost all calculations involving integrals lead back to this.

Math 425 Notes 9. We state a rough version of the fundamental theorem of calculus. Almost all calculations involving integrals lead back to this. Multiple Integrals: efintion Math 425 Notes 9 We state a rough version of the fundamental theorem of calculus. Almost all calculations involving integrals lead back to this. efinition 1. Let f : R R and

More information

Formulas that must be memorized:

Formulas that must be memorized: Formulas that must be memorized: Position, Velocity, Acceleration Speed is increasing when v(t) and a(t) have the same signs. Speed is decreasing when v(t) and a(t) have different signs. Section I: Limits

More information

MEAM 550 Modeling and Design of MEMS Spring Solution to homework #4

MEAM 550 Modeling and Design of MEMS Spring Solution to homework #4 Solution to homework #4 Problem 1 We know from the previous homework that the spring constant of the suspension is 14.66 N/m. Let us now compute the electrostatic force. l g b p * 1 1 ε wl Co-energy =

More information

Lab 4: Kirchhoff migration (Matlab version)

Lab 4: Kirchhoff migration (Matlab version) Due Date: Oktober 29th, 2012 TA: Mandy Wong (mandyman@sep.stanford.edu) Lab 4: Kirchhoff migration (Matlab version) Robert U. Terwilliger 1 ABSTRACT In this computer exercise you will modify the Kirchhoff

More information

Lecture Notes on PDEs

Lecture Notes on PDEs Lecture Notes on PDEs Alberto Bressan February 26, 2012 1 Elliptic equations Let IR n be a bounded open set Given measurable functions a ij, b i, c : IR, consider the linear, second order differential

More information

Fourier and Partial Differential Equations

Fourier and Partial Differential Equations Chapter 5 Fourier and Partial Differential Equations 5.1 Fourier MATH 294 SPRING 1982 FINAL # 5 5.1.1 Consider the function 2x, 0 x 1. a) Sketch the odd extension of this function on 1 x 1. b) Expand the

More information

Lecture 42 Determining Internal Node Values

Lecture 42 Determining Internal Node Values Lecture 42 Determining Internal Node Values As seen in the previous section, a finite element solution of a boundary value problem boils down to finding the best values of the constants {C j } n, which

More information

5. Find the intercepts of the following equations. Also determine whether the equations are symmetric with respect to the y-axis or the origin.

5. Find the intercepts of the following equations. Also determine whether the equations are symmetric with respect to the y-axis or the origin. MATHEMATICS 1571 Final Examination Review Problems 1. For the function f defined by f(x) = 2x 2 5x find the following: a) f(a + b) b) f(2x) 2f(x) 2. Find the domain of g if a) g(x) = x 2 3x 4 b) g(x) =

More information

Iterative Solvers. Lab 6. Iterative Methods

Iterative Solvers. Lab 6. Iterative Methods Lab 6 Iterative Solvers Lab Objective: Many real-world problems of the form Ax = b have tens of thousands of parameters Solving such systems with Gaussian elimination or matrix factorizations could require

More information

2017 VCE Mathematical Methods 2 examination report

2017 VCE Mathematical Methods 2 examination report 7 VCE Mathematical Methods examination report General comments There were some excellent responses to the 7 Mathematical Methods examination and most students were able to attempt the four questions in

More information

Satellite project, AST 1100

Satellite project, AST 1100 Satellite project, AST 1100 Part 4: Skynet The goal in this part is to develop software that the satellite can use to orient itself in the star system. That is, that it can find its own position, velocity

More information

2007 Summer College on Plasma Physics

2007 Summer College on Plasma Physics 856-7 Summer College on Plasma Physics July - 4 August, 7 Numerical methods and simulations. Lecture : Simulation of partial differential equations. B. Eliasson Institut Fuer Theoretische Physik IV Ruhr-Universitaet

More information

2.2 The derivative as a Function

2.2 The derivative as a Function 2.2 The derivative as a Function Recall: The derivative of a function f at a fixed number a: f a f a+h f(a) = lim h 0 h Definition (Derivative of f) For any number x, the derivative of f is f x f x+h f(x)

More information

Conditioning and Stability

Conditioning and Stability Lab 17 Conditioning and Stability Lab Objective: Explore the condition of problems and the stability of algorithms. The condition number of a function measures how sensitive that function is to changes

More information

DIFFERENTIATION RULES

DIFFERENTIATION RULES 3 DIFFERENTIATION RULES DIFFERENTIATION RULES 3. The Product and Quotient Rules In this section, we will learn about: Formulas that enable us to differentiate new functions formed from old functions by

More information

Solving systems of first order equations with ode Systems of first order differential equations.

Solving systems of first order equations with ode Systems of first order differential equations. A M S 20 MA TLA B NO T E S U C S C Solving systems of first order equations with ode45 c 2015, Yonatan Katznelson The M A T L A B numerical solver, ode45 is designed to work with first order differential

More information

C2 Differential Equations : Computational Modeling and Simulation Instructor: Linwei Wang

C2 Differential Equations : Computational Modeling and Simulation Instructor: Linwei Wang C2 Differential Equations 4040-849-03: Computational Modeling and Simulation Instructor: Linwei Wang Part II Variational Principle Calculus Revisited Partial Derivatives Function of one variable df dx

More information

Solving First Order PDEs

Solving First Order PDEs Solving Ryan C. Trinity University Partial Differential Equations Lecture 2 Solving the transport equation Goal: Determine every function u(x, t) that solves u t +v u x = 0, where v is a fixed constant.

More information

Review For the Final: Problem 1 Find the general solutions of the following DEs. a) x 2 y xy y 2 = 0 solution: = 0 : homogeneous equation.

Review For the Final: Problem 1 Find the general solutions of the following DEs. a) x 2 y xy y 2 = 0 solution: = 0 : homogeneous equation. Review For the Final: Problem 1 Find the general solutions of the following DEs. a) x 2 y xy y 2 = 0 solution: y y x y2 = 0 : homogeneous equation. x2 v = y dy, y = vx, and x v + x dv dx = v + v2. dx =

More information

Complex Numbers. A complex number z = x + iy can be written in polar coordinates as re i where

Complex Numbers. A complex number z = x + iy can be written in polar coordinates as re i where Lab 20 Complex Numbers Lab Objective: Create visualizations of complex functions. Visually estimate their zeros and poles, and gain intuition about their behavior in the complex plane. Representations

More information

Lesson 3: Using Linear Combinations to Solve a System of Equations

Lesson 3: Using Linear Combinations to Solve a System of Equations Lesson 3: Using Linear Combinations to Solve a System of Equations Steps for Using Linear Combinations to Solve a System of Equations 1. 2. 3. 4. 5. Example 1 Solve the following system using the linear

More information

/Users/jenskremkow/Science/Courses/python-summerschool-berlin/faculty/Day2/examples numpy.py September 2,

/Users/jenskremkow/Science/Courses/python-summerschool-berlin/faculty/Day2/examples numpy.py September 2, /Users/jenskremkow/Science/Courses/python-summerschool-berlin/faculty/Day2/examples numpy.py September 2, 2009 1 Numpy Many of the examples are taken from: http://www.scipy.org/cookbook Building Arrays

More information

. For each initial condition y(0) = y 0, there exists a. unique solution. In fact, given any point (x, y), there is a unique curve through this point,

. For each initial condition y(0) = y 0, there exists a. unique solution. In fact, given any point (x, y), there is a unique curve through this point, 1.2. Direction Fields: Graphical Representation of the ODE and its Solution Section Objective(s): Constructing Direction Fields. Interpreting Direction Fields. Definition 1.2.1. A first order ODE of the

More information

CMPSCI 250: Introduction to Computation. Lecture #11: Equivalence Relations David Mix Barrington 27 September 2013

CMPSCI 250: Introduction to Computation. Lecture #11: Equivalence Relations David Mix Barrington 27 September 2013 CMPSCI 250: Introduction to Computation Lecture #11: Equivalence Relations David Mix Barrington 27 September 2013 Equivalence Relations Definition of Equivalence Relations Two More Examples: Universal

More information

(f P Ω hf) vdx = 0 for all v V h, if and only if Ω (f P hf) φ i dx = 0, for i = 0, 1,..., n, where {φ i } V h is set of hat functions.

(f P Ω hf) vdx = 0 for all v V h, if and only if Ω (f P hf) φ i dx = 0, for i = 0, 1,..., n, where {φ i } V h is set of hat functions. Answer ALL FOUR Questions Question 1 Let I = [, 2] and f(x) = (x 1) 3 for x I. (a) Let V h be the continous space of linear piecewise function P 1 (I) on I. Write a MATLAB code to compute the L 2 -projection

More information

c) xy 3 = cos(7x +5y), y 0 = y3 + 7 sin(7x +5y) 3xy sin(7x +5y) d) xe y = sin(xy), y 0 = ey + y cos(xy) x(e y cos(xy)) e) y = x ln(3x + 5), y 0

c) xy 3 = cos(7x +5y), y 0 = y3 + 7 sin(7x +5y) 3xy sin(7x +5y) d) xe y = sin(xy), y 0 = ey + y cos(xy) x(e y cos(xy)) e) y = x ln(3x + 5), y 0 Some Math 35 review problems With answers 2/6/2005 The following problems are based heavily on problems written by Professor Stephen Greenfield for his Math 35 class in spring 2005. His willingness to

More information

A Glimpse at Scipy FOSSEE. June Abstract This document shows a glimpse of the features of Scipy that will be explored during this course.

A Glimpse at Scipy FOSSEE. June Abstract This document shows a glimpse of the features of Scipy that will be explored during this course. A Glimpse at Scipy FOSSEE June 010 Abstract This document shows a glimpse of the features of Scipy that will be explored during this course. 1 Introduction SciPy is open-source software for mathematics,

More information

2 Getting Started with Numerical Computations in Python

2 Getting Started with Numerical Computations in Python 1 Documentation and Resources * Download: o Requirements: Python, IPython, Numpy, Scipy, Matplotlib o Windows: google "windows download (Python,IPython,Numpy,Scipy,Matplotlib" o Debian based: sudo apt-get

More information

Python Analysis. PHYS 224 September 25/26, 2014

Python Analysis. PHYS 224 September 25/26, 2014 Python Analysis PHYS 224 September 25/26, 2014 Goals Two things to teach in this lecture 1. How to use python to fit data 2. How to interpret what python gives you Some references: http://nbviewer.ipython.org/url/media.usm.maine.edu/~pauln/

More information

CS 480/680: GAME ENGINE PROGRAMMING

CS 480/680: GAME ENGINE PROGRAMMING CS 480/680: GAME ENGINE PROGRAMMING PHYSICS 2/14/2013 Santiago Ontañón santi@cs.drexel.edu https://www.cs.drexel.edu/~santi/teaching/2013/cs480-680/intro.html Outline Student Presentations Basics on Rigid

More information

We saw in Section 5.1 that a limit of the form. arises when we compute an area.

We saw in Section 5.1 that a limit of the form. arises when we compute an area. INTEGRALS 5 INTEGRALS Equation 1 We saw in Section 5.1 that a limit of the form n lim f ( x *) x n i 1 i lim[ f ( x *) x f ( x *) x... f ( x *) x] n 1 2 arises when we compute an area. n We also saw that

More information

UP and ENTRIES. Farmers and WivUs to Hold Old-Fashioned Meeting Here

UP and ENTRIES. Farmers and WivUs to Hold Old-Fashioned Meeting Here LD : g C L K C Y Y 4 L LLL C 7 944 v g 8 C g 85 Y K D L gv 7 88[ L C 94 : 8 g Cg x C? g v g 5 g g / /»» > v g g :! v! $ g D C v g g g 9 ; v g ] v v v g L v g g 6 g (; C g C C g! v g gg gv v v 8 g g q»v

More information

Math 4B Notes. Written by Victoria Kala SH 6432u Office Hours: T 12:45 1:45pm Last updated 7/24/2016

Math 4B Notes. Written by Victoria Kala SH 6432u Office Hours: T 12:45 1:45pm Last updated 7/24/2016 Math 4B Notes Written by Victoria Kala vtkala@math.ucsb.edu SH 6432u Office Hours: T 2:45 :45pm Last updated 7/24/206 Classification of Differential Equations The order of a differential equation is the

More information

Advanced Calculus Math 127B, Winter 2005 Solutions: Final. nx2 1 + n 2 x, g n(x) = n2 x

Advanced Calculus Math 127B, Winter 2005 Solutions: Final. nx2 1 + n 2 x, g n(x) = n2 x . Define f n, g n : [, ] R by f n (x) = Advanced Calculus Math 27B, Winter 25 Solutions: Final nx2 + n 2 x, g n(x) = n2 x 2 + n 2 x. 2 Show that the sequences (f n ), (g n ) converge pointwise on [, ],

More information

How might we evaluate this? Suppose that, by some good luck, we knew that. x 2 5. x 2 dx 5

How might we evaluate this? Suppose that, by some good luck, we knew that. x 2 5. x 2 dx 5 8.4 1 8.4 Partial Fractions Consider the following integral. 13 2x (1) x 2 x 2 dx How might we evaluate this? Suppose that, by some good luck, we knew that 13 2x (2) x 2 x 2 = 3 x 2 5 x + 1 We could then

More information

Python Analysis. PHYS 224 October 1/2, 2015

Python Analysis. PHYS 224 October 1/2, 2015 Python Analysis PHYS 224 October 1/2, 2015 Goals Two things to teach in this lecture 1. How to use python to fit data 2. How to interpret what python gives you Some references: http://nbviewer.ipython.org/url/media.usm.maine.edu/~pauln/

More information

MA Spring 2013 Lecture Topics

MA Spring 2013 Lecture Topics LECTURE 1 Chapter 12.1 Coordinate Systems Chapter 12.2 Vectors MA 16200 Spring 2013 Lecture Topics Let a,b,c,d be constants. 1. Describe a right hand rectangular coordinate system. Plot point (a,b,c) inn

More information

Practical Information

Practical Information MA2501 Numerical Methods Spring 2018 Norwegian University of Science and Technology Department of Mathematical Sciences Semester Project Practical Information This project counts for 30 % of the final

More information

Problem Set 1. This week. Please read all of Chapter 1 in the Strauss text.

Problem Set 1. This week. Please read all of Chapter 1 in the Strauss text. Math 425, Spring 2015 Jerry L. Kazdan Problem Set 1 Due: Thurs. Jan. 22 in class. [Late papers will be accepted until 1:00 PM Friday.] This is rust remover. It is essentially Homework Set 0 with a few

More information

MTH 132 Solutions to Exam 2 Nov. 23rd 2015

MTH 132 Solutions to Exam 2 Nov. 23rd 2015 Name: Section: Instructor: READ THE FOLLOWING INSTRUCTIONS. Do not open your exam until told to do so. No calculators, cell phones or any other electronic devices can be used on this exam. Clear your desk

More information

Data Mining Techniques

Data Mining Techniques Data Mining Techniques CS 6220 - Section 3 - Fall 2016 Lecture 12 Jan-Willem van de Meent (credit: Yijun Zhao, Percy Liang) DIMENSIONALITY REDUCTION Borrowing from: Percy Liang (Stanford) Linear Dimensionality

More information

Figure 1: Functions Viewed Optically. Math 425 Lecture 4. The Chain Rule

Figure 1: Functions Viewed Optically. Math 425 Lecture 4. The Chain Rule Figure 1: Functions Viewed Optically Math 425 Lecture 4 The Chain Rule The Chain Rule in the One Variable Case We explain the chain rule in the one variable case. To do this we view a function f as a (impossible)

More information

Procedure used to solve equations of the form

Procedure used to solve equations of the form Equations of the form a d 2 y dx 2 + bdy dx + cy = 0 (5) Procedure used to solve equations of the form a d 2 y dx 2 + b dy dx 1. rewrite the given differential equation + cy = 0 (1) a d 2 y dx 2 + b dy

More information

Assignment on iterative solution methods and preconditioning

Assignment on iterative solution methods and preconditioning Division of Scientific Computing, Department of Information Technology, Uppsala University Numerical Linear Algebra October-November, 2018 Assignment on iterative solution methods and preconditioning 1.

More information

DOING PHYSICS WITH MATLAB ELECTRIC FIELD AND ELECTRIC POTENTIAL: POISSON S EQUATION

DOING PHYSICS WITH MATLAB ELECTRIC FIELD AND ELECTRIC POTENTIAL: POISSON S EQUATION DOING PHYSICS WITH MATLAB ELECTRIC FIELD AND ELECTRIC POTENTIAL: POISSON S EQUATION Ian Cooper School of Physics, University of Sydney ian.cooper@sydney.edu.au DOWNLOAD DIRECTORY FOR MATLAB SCRIPTS For

More information

Math Precalculus Blueprint Assessed Quarter 1

Math Precalculus Blueprint Assessed Quarter 1 PO 11. Find approximate solutions for polynomial equations with or without graphing technology. MCWR-S3C2-06 Graphing polynomial functions. MCWR-S3C2-12 Theorems of polynomial functions. MCWR-S3C3-08 Polynomial

More information

Sample Solutions of Assignment 10 for MAT3270B

Sample Solutions of Assignment 10 for MAT3270B Sample Solutions of Assignment 1 for MAT327B 1. For the following ODEs, (a) determine all critical points; (b) find the corresponding linear system near each critical point; (c) find the eigenvalues of

More information

Complex Numbers. Visualize complex functions to estimate their zeros and poles.

Complex Numbers. Visualize complex functions to estimate their zeros and poles. Lab 1 Complex Numbers Lab Objective: Visualize complex functions to estimate their zeros and poles. Polar Representation of Complex Numbers Any complex number z = x + iy can be written in polar coordinates

More information

Introduction to Python

Introduction to Python Introduction to Python Luis Pedro Coelho Institute for Molecular Medicine (Lisbon) Lisbon Machine Learning School II Luis Pedro Coelho (IMM) Introduction to Python Lisbon Machine Learning School II (1

More information

Formulas to remember

Formulas to remember Complex numbers Let z = x + iy be a complex number The conjugate z = x iy Formulas to remember The real part Re(z) = x = z+z The imaginary part Im(z) = y = z z i The norm z = zz = x + y The reciprocal

More information

Problem Max. Possible Points Total

Problem Max. Possible Points Total MA 262 Exam 1 Fall 2011 Instructor: Raphael Hora Name: Max Possible Student ID#: 1234567890 1. No books or notes are allowed. 2. You CAN NOT USE calculators or any electronic devices. 3. Show all work

More information

MITOCW watch?v=6hewlsfqlty

MITOCW watch?v=6hewlsfqlty MITOCW watch?v=6hewlsfqlty The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for free. To

More information

DIFFERENTIATION RULES

DIFFERENTIATION RULES 3 DIFFERENTIATION RULES DIFFERENTIATION RULES The functions that we have met so far can be described by expressing one variable explicitly in terms of another variable. y For example,, or y = x sin x,

More information

The Fundamental Theorem of Calculus

The Fundamental Theorem of Calculus The Fundamental Theorem of Calculus Objectives Evaluate a definite integral using the Fundamental Theorem of Calculus. Understand and use the Mean Value Theorem for Integrals. Find the average value of

More information

Introduction to FARGO3D

Introduction to FARGO3D Introduction to FARGO3D PABLO BENITEZ-LLAMBAY / PBLLAMBAY@NBI.KU.DK FARGO3D is a versatile HD/MHD code that runs on clusters of CPUs or GPUs, developed with special emphasis on protoplanetary disks. However,

More information

Finite difference methods. Finite difference methods p. 1

Finite difference methods. Finite difference methods p. 1 Finite difference methods Finite difference methods p. 1 Overview 1D heat equation u t = κu xx +f(x,t) as a motivating example Quick intro of the finite difference method Recapitulation of parallelization

More information

Analysis/Calculus Review Day 3

Analysis/Calculus Review Day 3 Analysis/Calculus Review Day 3 Arvind Saibaba arvindks@stanford.edu Institute of Computational and Mathematical Engineering Stanford University September 15, 2010 Big- Oh and Little- Oh Notation We write

More information

Linear DifferentiaL Equation

Linear DifferentiaL Equation Linear DifferentiaL Equation Massoud Malek The set F of all complex-valued functions is known to be a vector space of infinite dimension. Solutions to any linear differential equations, form a subspace

More information

Physics 432, Physics of fluids: Assignment #1 Solutions

Physics 432, Physics of fluids: Assignment #1 Solutions Physics 432, Physics of fluids: Assignment #1 Solutions 1. This is an investigation of the two-dimensional draining bathtub problem described in lecture, where the tub has fluid level h, width 2L and drain

More information

THE MULTIPLICATIVE ERGODIC THEOREM OF OSELEDETS

THE MULTIPLICATIVE ERGODIC THEOREM OF OSELEDETS THE MULTIPLICATIVE ERGODIC THEOREM OF OSELEDETS. STATEMENT Let (X, µ, A) be a probability space, and let T : X X be an ergodic measure-preserving transformation. Given a measurable map A : X GL(d, R),

More information

Math 10C - Fall Final Exam

Math 10C - Fall Final Exam Math 1C - Fall 217 - Final Exam Problem 1. Consider the function f(x, y) = 1 x 2 (y 1) 2. (i) Draw the level curve through the point P (1, 2). Find the gradient of f at the point P and draw the gradient

More information

Notater: INF3331. Veronika Heimsbakk December 4, Introduction 3

Notater: INF3331. Veronika Heimsbakk December 4, Introduction 3 Notater: INF3331 Veronika Heimsbakk veronahe@student.matnat.uio.no December 4, 2013 Contents 1 Introduction 3 2 Bash 3 2.1 Variables.............................. 3 2.2 Loops...............................

More information

Problem Worth Score Total 14

Problem Worth Score Total 14 MATH 241, Fall 14 Extra Credit Preparation for Final Name: INSTRUCTIONS: Write legibly. Indicate your answer clearly. Revise and clean up solutions. Do not cross anything out. Rewrite the page, I will

More information

f(p i )Area(T i ) F ( r(u, w) ) (r u r w ) da

f(p i )Area(T i ) F ( r(u, w) ) (r u r w ) da MAH 55 Flux integrals Fall 16 1. Review 1.1. Surface integrals. Let be a surface in R. Let f : R be a function defined on. efine f ds = f(p i Area( i lim mesh(p as a limit of Riemann sums over sampled-partitions.

More information

Math 23: Differential Equations (Winter 2017) Midterm Exam Solutions

Math 23: Differential Equations (Winter 2017) Midterm Exam Solutions Math 3: Differential Equations (Winter 017) Midterm Exam Solutions 1. [0 points] or FALSE? You do not need to justify your answer. (a) [3 points] Critical points or equilibrium points for a first order

More information

Practical Bioinformatics

Practical Bioinformatics 5/15/2015 Gotchas Indentation matters Clustering exercises Visualizing the distance matrix Loading and re-loading your functions # Use import the f i r s t time you l o a d a module # ( And keep u s i

More information

Differentiation. Timur Musin. October 10, University of Freiburg 1 / 54

Differentiation. Timur Musin. October 10, University of Freiburg 1 / 54 Timur Musin University of Freiburg October 10, 2014 1 / 54 1 Limit of a Function 2 2 / 54 Literature A. C. Chiang and K. Wainwright, Fundamental methods of mathematical economics, Irwin/McGraw-Hill, Boston,

More information

ECE661: Homework 6. Ahmed Mohamed October 28, 2014

ECE661: Homework 6. Ahmed Mohamed October 28, 2014 ECE661: Homework 6 Ahmed Mohamed (akaseb@purdue.edu) October 28, 2014 1 Otsu Segmentation Algorithm Given a grayscale image, my implementation of the Otsu algorithm follows these steps: 1. Construct a

More information

Creation and modification of a geological model Program: Stratigraphy

Creation and modification of a geological model Program: Stratigraphy Engineering manual No. 39 Updated: 11/2018 Creation and modification of a geological model Program: Stratigraphy File: Demo_manual_39.gsg Introduction The aim of this engineering manual is to explain the

More information

Real Analysis, 2nd Edition, G.B.Folland Elements of Functional Analysis

Real Analysis, 2nd Edition, G.B.Folland Elements of Functional Analysis Real Analysis, 2nd Edition, G.B.Folland Chapter 5 Elements of Functional Analysis Yung-Hsiang Huang 5.1 Normed Vector Spaces 1. Note for any x, y X and a, b K, x+y x + y and by ax b y x + b a x. 2. It

More information

THE UNIVERSITY OF WESTERN ONTARIO

THE UNIVERSITY OF WESTERN ONTARIO Instructor s Name (Print) Student s Name (Print) Student s Signature THE UNIVERSITY OF WESTERN ONTARIO LONDON CANADA DEPARTMENTS OF APPLIED MATHEMATICS AND MATHEMATICS Calculus 1A Final Examination Code

More information

A Robust Preconditioner for the Hessian System in Elliptic Optimal Control Problems

A Robust Preconditioner for the Hessian System in Elliptic Optimal Control Problems A Robust Preconditioner for the Hessian System in Elliptic Optimal Control Problems Etereldes Gonçalves 1, Tarek P. Mathew 1, Markus Sarkis 1,2, and Christian E. Schaerer 1 1 Instituto de Matemática Pura

More information

Green s Theorem. MATH 311, Calculus III. J. Robert Buchanan. Fall Department of Mathematics. J. Robert Buchanan Green s Theorem

Green s Theorem. MATH 311, Calculus III. J. Robert Buchanan. Fall Department of Mathematics. J. Robert Buchanan Green s Theorem Green s Theorem MATH 311, alculus III J. obert Buchanan Department of Mathematics Fall 2011 Main Idea Main idea: the line integral around a positively oriented, simple closed curve is related to a double

More information

Contents. Appendix D (Inner Product Spaces) W-51. Index W-63

Contents. Appendix D (Inner Product Spaces) W-51. Index W-63 Contents Appendix D (Inner Product Spaces W-5 Index W-63 Inner city space W-49 W-5 Chapter : Appendix D Inner Product Spaces The inner product, taken of any two vectors in an arbitrary vector space, generalizes

More information

The Finite Element Method for the Wave Equation

The Finite Element Method for the Wave Equation The Finite Element Method for the Wave Equation 1 The Wave Equation We consider the scalar wave equation modelling acoustic wave propagation in a bounded domain 3, with boundary Γ : 1 2 u c(x) 2 u 0, in

More information

Lab 1: Iterative Methods for Solving Linear Systems

Lab 1: Iterative Methods for Solving Linear Systems Lab 1: Iterative Methods for Solving Linear Systems January 22, 2017 Introduction Many real world applications require the solution to very large and sparse linear systems where direct methods such as

More information

Mark Howell Gonzaga High School, Washington, D.C.

Mark Howell Gonzaga High School, Washington, D.C. Be Prepared for the Calculus Exam Mark Howell Gonzaga High School, Washington, D.C. Martha Montgomery Fremont City Schools, Fremont, Ohio Practice exam contributors: Benita Albert Oak Ridge High School,

More information

ORIGIN 0. PTC_CE_BSD_7.2_us_mp.mcdx. Mathcad Enabled Content Copyright 2011 Knovel Corp.

ORIGIN 0. PTC_CE_BSD_7.2_us_mp.mcdx. Mathcad Enabled Content Copyright 2011 Knovel Corp. PC_CE_BSD_7._us_mp.mcdx Copyright 011 Knovel Corp. Building Structural Design homas P. Magner, P.E. 011 Parametric echnology Corp. Chapter 7: Reinforced Concrete Column and Wall Footings 7. Pile Footings

More information

Solving Partial Differential Equations with Python - Tentative application to Rogue Waves

Solving Partial Differential Equations with Python - Tentative application to Rogue Waves Solving Partial Differential Equations with Python - Tentative application to Rogue Waves Sergio Manzetti 1,2 1. Institute for Cellular and Molecular Biology, Uppsala University, Uppsala, Sweden. 2. Fjordforsk

More information

Workbook for Calculus I

Workbook for Calculus I Workbook for Calculus I By Hüseyin Yüce New York 2007 1 Functions 1.1 Four Ways to Represent a Function 1. Find the domain and range of the function f(x) = 1 + x + 1 and sketch its graph. y 3 2 1-3 -2-1

More information

Here we consider soliton solutions of the Korteweg-de Vries (KdV) equation. This equation is given by u t + u u x + 3 u

Here we consider soliton solutions of the Korteweg-de Vries (KdV) equation. This equation is given by u t + u u x + 3 u Lab 3 Solitons Lab Objective: We study traveling wave solutions of the Korteweg-de Vries (KdV) equation, using a pseudospectral discretization in space and a Runge-Kutta integration scheme in time. Here

More information

AM 205: lecture 14. Last time: Boundary value problems Today: Numerical solution of PDEs

AM 205: lecture 14. Last time: Boundary value problems Today: Numerical solution of PDEs AM 205: lecture 14 Last time: Boundary value problems Today: Numerical solution of PDEs ODE BVPs A more general approach is to formulate a coupled system of equations for the BVP based on a finite difference

More information

Tools for Feature Extraction: Exploring essentia

Tools for Feature Extraction: Exploring essentia Tools for Feature Extraction: Exploring essentia MUS-15 Andrea Hanke July 5, 2017 Introduction In the research on Music Information Retrieval, it is attempted to automatically classify a piece of music

More information

SKILL BUILDER TEN. Graphs of Linear Equations with Two Variables. If x = 2 then y = = = 7 and (2, 7) is a solution.

SKILL BUILDER TEN. Graphs of Linear Equations with Two Variables. If x = 2 then y = = = 7 and (2, 7) is a solution. SKILL BUILDER TEN Graphs of Linear Equations with Two Variables A first degree equation is called a linear equation, since its graph is a straight line. In a linear equation, each term is a constant or

More information

Worksheet 1: Integrators

Worksheet 1: Integrators Simulation Methods in Physics I WS 2014/2015 Worksheet 1: Integrators Olaf Lenz Alexander Schlaich Stefan Kesselheim Florian Fahrenberger Peter Košovan October 22, 2014 Institute for Computational Physics,

More information