1.Numerical differentiation and quadrature Discrete differentiation and integration ------------------------------------------------------------ 2. Ordinary.

Slides:



Advertisements
Liknande presentationer
För att göra avklippta hörn på en bild använder man sig av verktyget Picture Shape. Detta verktyg hittar du under fliken Picture Tools (som du får upp.
Advertisements

SOA Governance with SOA Software For BUGS Martin Svensson.
Mellanblå fält till höger: Plats för bild – foto, diagram, film, andra illustrationer Comparison of some instruments and methods for determination of sunshine.
Nyinstallerad Webinfo •I Central parameters skapa parametern Statlogger och ge value 1 Logga endast vissa sidor genom att skapa parametern i PageId.
Beräkning av enhetens frekvens av CDK infektioner.
© Apoteket AB Sidhuvud med plats för gemensamt namn för OH-serien Sidhuvud med plats för Enhet / Utförare – Internt Swedish community pharmacy classification.
Numeriska beräkningar i Naturvetenskap och Teknik
Aims and outcomes Levnadsvillkor, attityder, värderingar och traditioner samt sociala, politiska och kulturella förhållanden i olika sammanhang och delar.
Fråga 71 Hål är minoritetsbärare i ett n-typ kisel lager. Hålen injeceras från en sida och diffunderar in i n-typ lagret och en koncentrationsprofil upprättshåls.
Vägledningscentrum Career guidance centre
1 CD5560 FABER Formal Languages, Automata and Models of Computation Exercise 2 Mälardalen University 2007.
Welcome to Enköping The most central town in Sweden.
Datornätverk A – lektion 12
The Swedish Travel Card
För att uppdatera sidfotstexten, gå till menyn: Visa/Sidhuvud och sidfot... E-services – what’s now and what’s next for the Swedish Pensions Agency? Mikael.
Barnneurolog Barnkliniken KRYH
Self Service in the Enterprise Patrik Sundqvist.
15% av inneliggande patienter på svenska sjukhus är intagna på grund av felmedicinering ofta orsakad av ej identifierad njurfunktionsnedsättning dvs nedsatt.
Figure Types of analog-to-analog modulation
Transport models Are they really that important? Christian Nilsson, WSP 17 October 2014.
Swedish ports A linchpin in Swedish industry. 95% of Swedish foreign trade is transported through a port.
Mathematics 1 /Matematik 1 Lesson 2 – Functions and their solutions Lektion2 – Funktioner och deras lösningar.
Direct translation no complete intermediary sentence structure translation proceeds in a number of steps, each step dedicated to a specific task the most.
FIRMA OCH VARUMÄRKESENKÄT Näringslivets syn på firma och varumärken Industry’s view of trade names and trademarks.
För att uppdatera sidfotstexten, gå till menyfliken: Infoga | Sidhuvud och sidfot Fondbolagsträff 2015.
Deliveries by train All photos: Jonas Jernberg. In our ambition to find the best solutions for the enviroment We are certified by ISO and FSC. We.
Mathematics 1 /Matematik 1 Lesson 7 – complex numbers Lektion 7 – Komplexa tal.
 Who frågar efter en persons (eller personers) identitet (vem dem är).  Who is he?  Who are they?  Who is coming?
To practise speaking English for 3-4 minutes Genom undervisningen i ämnet engelska ska eleverna ges förutsättningar att utveckla sin förmåga att: formulera.
Learning study som aktionsforskningsprocess: Lärares och elevers parallella lärande.
1-1 Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1-1 Programmering 7.5 hp Programmering är... creativ, fascinerande, roligt,
Shannon dekomposition
INLÄGG FÖR SOCIALA MEDIER SHAREWEAR. 1.INSTAGRAM 2.FACEBOOK 3.TWITTER INNEHÅLL.
STEPS TO FOLLOW FOR BECOMING A SHIP CAPTAIN A career as a ship captain can be a tedious task. Ship captains take care of business, navigation and operation.
SAFETY EQUIPMENT USED IN MARITIMEOPERATIONS One of the most important sections in maritime courses consists of boat and ship operations. Safety is an important.
Advice from Bronx Best Real Estate Attorney. Jagiani Law office of New York has been successfully working as divorce attorney & Real estate attorney for.
Why you should consider hiring a real estate attorney!
Types of Business Consulting Services Cornerstoneorg.com.
Mathematics 1 /Matematik 1
Bringapillow.com. Online Dating- A great way to find your love! The words ‘Love’ and ‘Relationship’ are close to every heart. Indeed, they are beautiful!
Work of a Family law attorney Jagianilaw.com. A Family Law Attorney basically covers a wide range spectrum of issues that a family may face with difficulty.
The Online Way to Engagement and Wedding Jewelry! Pearlleady.com.
Meeting singles had never been so easy before. The growing dating sites for singles have given a totally new approach to getting into relationships. ‘Singles.
Left hand side is the P (Plan) Right hand side is DSA (Do Study Act)
We are the world There comes a time When we head a certain call When the world must come together as one There are people dying And it's time to lend.
Formal Languages, Automata and Models of Computation
My role model.
How to Buy Engagement Rings for Women Online?. Buying engagement rings for women or tiffany celebration rings from the online market could be a bit challenging.
You Must Take Marriage Advice to Stop Divorce! Dontgetdivorced.com.
Vattenfalls Idrotts- & Fritidsförbund
Figure Types of analog-to-analog modulation
Solubility, Density, and Melting Point of Solids
Mixed-type assignments
Publish your presentations online we present SLIDEPLAYER.SI.
Publish your presentations online we present SLIDEPLAYER.RS.
Publish your presentations online we present SLIDEPLAYER.IN.
Publish your presentations online we present SLIDEPLAYER.VN.
Publish your presentations online we present SLIDEPLAYER.RO.
Publish your presentations online we present SLIDEPLAYER.EE.
Publish your presentations online we present SLIDEPLAYER.CO.IL.
Publish your presentations online we present SLIDEPLAYER.AE.
Publish your presentations online we present SLIDEPLAYER.BG.
Publish your presentations online we present SLIDEPLAYER.AFRICA.
Publish your presentations online we present SLIDEPLAYER.MX.
Publish your presentations online we present SLIDEPLAYER.LT.
Publish your presentations online we present SLIDEPLAYER.LV.
Inductors in Circuits Inductor: Circuit element with self-inductance
Presentationens avskrift:

1.Numerical differentiation and quadrature Discrete differentiation and integration Ordinary differential equations Euler’s method, Runge-Kutta methods Systems of differential equations Initial value and boundary value problem Shooting method Numeriska beräkningar i Naturvetenskap och Teknik

f in the points: x 0 ±h Taylor expansion around x 0 =0 gives Maclaurin: Derivative Numeriska beräkningar i Naturvetenskap och Teknik

Derivative with Taylor expansion Difference Derivative in point form Local error Numeriska beräkningar i Naturvetenskap och Teknik

“Forward difference” Compare to the definition of the derivative : Local error In the same way: Numeriska beräkningar i Naturvetenskap och Teknik

Ordinary differential equations An ordinary differential equation is defined as: First order Second order Numeriska beräkningar i Naturvetenskap och Teknik

Euler’s method, discrete solution of first order ordinary diff. equations Based on the “forward difference” given above: which gives: Numeriska beräkningar i Naturvetenskap och Teknik

Runge-Kutta methods Start by integrating between step n and n+1 Taylor approx of f around the central point n+1/2 Integrate: Numeriska beräkningar i Naturvetenskap och Teknik

i.e. Numeriska beräkningar i Naturvetenskap och Teknik

Now one needs an estimate of f n+1/2 in the expression: Use Euler! At half way between points: i.e. with: Runge-Kutta of order 2 is given by: Numeriska beräkningar i Naturvetenskap och Teknik

Runge-Kutta of order 2 y n+1 to order h 3 at the cost of calculating f(x,y) in two points. Geometrical picture: x y Numeriska beräkningar i Naturvetenskap och Teknik

Runge-Kutta error of order 4 > rk3 Numeriska beräkningar i Naturvetenskap och Teknik

Runge-Kutta error of order 5 > rk4 Numeriska beräkningar i Naturvetenskap och Teknik

Exemple; solve with Euler’s method and RK4 and study precision Note that the solution is: …possibly another function Numeriska beräkningar i Naturvetenskap och Teknik

Higher order ordinary differential equations Can be solved as a system of first order equations by substitution: So, an ordinary differential equation of order n can be solved numerically by e.g. RK4 as defined for a first order ordinary differential equation. Numeriska beräkningar i Naturvetenskap och Teknik

condition on y’ Conditions A differential equation of order n is completely determined only if n conditions are are given for the solution. Compare to the simple differential equation: Initial value problems condition on y Conditions given for the same value of the independent variable. An example for the case above is: y’(0)=2, y(0)=0. In classical mechanics this could e.g. correspond to knowing the position and velocity at a given time. Numeriska beräkningar i Naturvetenskap och Teknik

On the board… Numeriska beräkningar i Naturvetenskap och Teknik Second example on the board… Second order equation transferred to system.

Boundary value problems In this case one knows the value of the function (and/or its derivatives) for different values of the independent variable. An exemple from physics is the case of a second order differential equation : There are several ways of solving this problem numerically. A simple method is to transfer the problem to become an initial value problem: and find values for γ that gives solutions that ”shoot over” or ”under” the boundary value in point b. The value forγ which gives a value for y(b) within a given accuracy from βis then solved for. This method is called the “shooting method”. See page 329… Numeriska beräkningar i Naturvetenskap och Teknik

Boundary value problem Numeriska beräkningar i Naturvetenskap och Teknik

Boundary value problem dvs Numeriska beräkningar i Naturvetenskap och Teknik

Boundary value problem Numeriska beräkningar i Naturvetenskap och Teknik

Example, boundary value problem Numeriska beräkningar i Naturvetenskap och Teknik

Quadrature: Trapetzoidal rule Linear interpolation Numeriska beräkningar i Naturvetenskap och Teknik

Trapetzoidal rule Area between x-h and x+h hh f -1 f1f1 f0f0 Numeriska beräkningar i Naturvetenskap och Teknik

Trapetzoidal rule with error estimate: f -1 f0f0 f1f1 h h Numeriska beräkningar i Naturvetenskap och Teknik

f -1 f0f0 f1f1 h h Simpson’s rule: Approximate by Taylor expansion Integrated over x gives 0 Numeriska beräkningar i Naturvetenskap och Teknik