DN1240 ht 12 för I. Numeriska metoder DN1240 numi13 1

Relevanta dokument
DN1240 vt 12 för I. Numeriska metoder DN1240 numi12 1

J.Oppelstrup Mikael v. Strauss

J.Oppelstrup Mikael v. Strauss

DN1215 vt 12 för ME. Numeriska metoder DN1240 numi12 1

Välkomna till NUMPK09: DN1212 Numeriska metoder och grundläggande programmering för K2 och Bio3, 9 hp

The purpose of computing is insight, not numbers. (R.W.Hamming)

Välkomna till NUMPBIO11: DN1212 Numeriska metoder och grundläggande programmering för Bio3, 9 hp. Kurshemsida

Välkomna till NUMPBIO12: DN1212 Numeriska metoder och grundläggande programmering för Bio3, 9 hp. Kurshemsida

F 1 Ch.1. Introduktion till numeriska metoder. Grundläggande ideer och metoder. Ch.2. Ickelinjära ekvationer. Newtons metod.

Quicksort. Koffman & Wolfgang kapitel 8, avsnitt 9

Flervariabel Analys för Civilingenjörsutbildning i datateknik

H1009, Introduktionskurs i matematik Armin Halilovic POLYNOM, POLYNOMDIVISION, ALGEBRAISKA EKVATIONER, PARTIALBRÅKSUPPDELNING. vara ett polynom där a


Provlektion Just Stuff B Textbook Just Stuff B Workbook

Module 6: Integrals and applications

vara ett polynom där a 0, då kallas n för polynomets grad och ibland betecknas n grad( P(

6 th Grade English October 6-10, 2014

Vågkraft. Verification of Numerical Field Model for Permanent Magnet Two Pole Motor. Centrum för förnybar elenergiomvandling

Adding active and blended learning to an introductory mechanics course

NEWTON-RAPHSONS METOD (en metod för numerisk lösning av ekvationer)

Systemdesign fortsättningskurs

The Arctic boundary layer

Datastrukturer och algoritmer

12.6 Heat equation, Wave equation

NEWTON-RAPHSONS METOD (en metod för numerisk lösning av ekvationer)

Kursplan. MT1051 3D CAD Grundläggande. 7,5 högskolepoäng, Grundnivå 1. 3D-CAD Basic Course

Eternal Employment Financial Feasibility Study

101. och sista termen 1

Tentamen SF1633, Differentialekvationer I, den 22 oktober 2018 kl

Collaborative Product Development:

Kristina Säfsten. Kristina Säfsten JTH

1. Compute the following matrix: (2 p) 2. Compute the determinant of the following matrix: (2 p)

Chapter 2: Random Variables

NEWTON-RAPHSONS METOD (en metod för numerisk lösning av ekvationer)

Webbreg öppen: 26/ /

Module 1: Functions, Limits, Continuity

Methods to increase work-related activities within the curricula. S Nyberg and Pr U Edlund KTH SoTL 2017

En bild säger mer än tusen ord?

Syns du, finns du? Examensarbete 15 hp kandidatnivå Medie- och kommunikationsvetenskap

Webbregistrering pa kurs och termin

Observationshotellet. The observation hotel. Fanny Vallo !!! Ersätt bilden med en egen bild. Emma Karlsson Martin Hedenström Ljung.

samhälle Susanna Öhman

Tenta i MVE025/MVE295, Komplex (matematisk) analys, F2 och TM2/Kf2

Writing with context. Att skriva med sammanhang

PFC and EMI filtering

Tentamen i matematisk statistik

FaR-nätverk VC. 9 oktober

The Finite Element Method, FHL064

Automation Region. Affärsdriven systemutveckling genom agila metoder. Stefan Paulsson Thomas Öberg

Consumer attitudes regarding durability and labelling

Icke-lineära ekvationer

Innehåll. Vad är MATLAB? Grunderna i MATLAB. Informationsteknologi. Informationsteknologi.

Processimulering --- I teori och i praktik

On the Establishment of UCSD i n in Organisations Åsa Cajander Uppsala Universitet Universitet

Tentamen del 2 SF1511, , kl , Numeriska metoder och grundläggande programmering

#minlandsbygd. Landsbygden lever på Instagram. Kul bild! I keep chickens too. They re brilliant.

Grafisk teknik IMCDP IMCDP IMCDP. IMCDP(filter) Sasan Gooran (HT 2006) Assumptions:

Chapter 1 : Who do you think you are?

International Baccalaureate. Rolf Öberg

Make a speech. How to make the perfect speech. söndag 6 oktober 13

Service och bemötande. Torbjörn Johansson, GAF Pär Magnusson, Öjestrand GC

Tentamen i Flervariabelanalys F/TM, MVE035

FÖRBERED UNDERLAG FÖR BEDÖMNING SÅ HÄR

COPENHAGEN Environmentally Committed Accountants

Kurskod: TAIU06 MATEMATISK STATISTIK Provkod: TENA 17 August 2015, 8:00-12:00. English Version

Drivkrafter bakom spel och spelberoende flykt, spänning och förhoppningar

Att skriva en matematisk uppsats

Tentamenskrivning, , kl SF1625, Envariabelanalys för CINTE1(IT) och CMIEL1(ME ) (7,5hp)

GeoGebra in a School Development Project Mathematics Education as a Learning System

Learning study elevers lärande i fokus

= x 1. Integration med avseende på x ger: x 4 z = ln x + C. Vi återsubstituerar: x 4 y 1 = ln x + C. Villkoret ger C = 1.

Ordinära differentialekvationer,

Analys och bedömning av företag och förvaltning. Omtentamen. Ladokkod: SAN023. Tentamen ges för: Namn: (Ifylles av student.

8 < x 1 + x 2 x 3 = 1, x 1 +2x 2 + x 4 = 0, x 1 +2x 3 + x 4 = 2. x 1 2x 12 1A är inverterbar, och bestäm i så fall dess invers.

Kurskod: TAMS28 MATEMATISK STATISTIK Provkod: TEN1 05 June 2017, 14:00-18:00. English Version

Urban Runoff in Denser Environments. Tom Richman, ASLA, AICP

7 n + 8 n 3 2n. converges or not. Irrespective whether the answer is yes or no, give an explanation

INGENJÖRSMATEMATISK FORMELSAMLING

Lisebergs och Örby Slott Villaförening: val av solcellsleverantör

English Version P (A) = P (B) = 0.5.

Självkörande bilar. Alvin Karlsson TE14A 9/3-2015

Könsfördelningen inom kataraktkirurgin. Mats Lundström

Här kan du checka in. Check in here with a good conscience

Tentamen MMG610 Diskret Matematik, GU

EXTERNAL ASSESSMENT SAMPLE TASKS SWEDISH BREAKTHROUGH LSPSWEB/0Y09

Read, work and talk! - och Lgr 11

Examensarbete Introduk)on - Slutsatser Anne Håkansson annehak@kth.se Studierektor Examensarbeten ICT-skolan, KTH

Visst kan man faktorisera x 4 + 1

Discovering!!!!! Swedish ÅÄÖ. EPISODE 6 Norrlänningar and numbers Misi.se

Grafisk teknik IMCDP. Sasan Gooran (HT 2006) Assumptions:

Health café. Self help groups. Learning café. Focus on support to people with chronic diseases and their families

Fragment, ellipser och informationsberikade konstituenter

Alla Tiders Kalmar län, Create the good society in Kalmar county Contributions from the Heritage Sector and the Time Travel method

Numeriska metoder, grundkurs II. Dagens program. Gyllenesnittminimering, exempel Gyllenesnittetminimering. Övningsgrupp 1

Amir Rostami

Grafisk teknik. Sasan Gooran (HT 2006)

Technique and expression 3: weave. 3.5 hp. Ladokcode: AX1 TE1 The exam is given to: Exchange Textile Design and Textile design 2.

Här kan du sova. Sleep here with a good conscience

Inkvarteringsstatistik. Göteborg & Co

Transkript:

DN40 ht för I Numeriska metoder 0-08-06 DN40 umi3

F Översikt F, 6 Ö, X Lab. - följer Lärare Davoud Saffar Shamshigar Ludwig Af Kliteberg Jesper Oppelstrup Eamiatio Matlab-lab, mutlig redovisig, projekt, skriftlig Teta som alla Numme GK (DN,4, ) kryssfrågedel för betyg E med räkeuppgifter 0-08-06 DN40 umi3

A( i)coveiet truth It is hard to uderstad a ocea because it is too big. It is hard to uderstad a molecule because it is too small. It is hard to uderstad uclear physics because it is too fast. It is hard to uderstad the greehouse effect because it is too slow. [Super]Computers break these barriers to uderstadig. They, i effect, shrik oceas, zoom i o molecules, slow dow physics, ad fast-forward climates. Clearly a scietist who ca see atural pheomea at the right size ad the right speed lears more tha oe who is faced with a blur. Al Gore, 990, Scietific Computig 0-08-06 DN40 umi3 3 3

Wikipedia: Scietific computig (or computatioal sciece) is cocered with costructig mathematical models ad umerical solutio techiques ad [ ] usig computers to aalyze ad solve scietific, social scietific, ad egieerig problems. Scietific Computig Numerical aalysis is the study of algorithms for the problems of cotiuous mathematics [ ] to compute quatities that are typically ucomputable, [ ] with lightig speed (L.N.Trefethe 99) The purpose of computig is isight, ot umbers. (R.W.Hammig) "The Ureasoable Effectiveess of Mathematics" (980) 0-08-06 DN40 umi3 4

Computer simulatio is the third paradigm of sciece Simulatio has become recogized as the third paradigm of sciece, the first two beig eperimetatio ad theory. High Performace Computig ad Commuicatios: Foudatio for America's Iformatio Future (Supplemet to the Presidet s FY 996 Budget) 0-08-06 DN40 umi3 5

Atea i rear-view mirror: Directivity, EMC, Dedritic solidificatio Mawell simulator (T.Rylader & al, CTU) Phase-field simulator (G.Amberg & al, KTH) There are three kids of lies: Lies, dam lies, ad colorful computer pictures (P.Colella) 0-08-06 DN40 umi3 6

Differetial Equatio Models Shortest path Micro-wave tomography Tsuami 0-08-06 DN40 umi3 7

Computatioal Materials Sciece From quatum mechaics to structures: Goals: σ ij i µ(u, j Predict macroscopic properties from first priciples Desig ew materials (e. ao-techology) Scale: space 0 8, time 0 5 QM: May-D A HΨEΨ DFT MD ij σ, j Fi Dislocatio field + u,i j ) λu,k k δ ij Navier cm 0-08-06 DN40 umi3 8

Success Story I: MATLAB Major tool for egieerig computig, Numerical aalysis, visualizatio 974 Matri Laboratory C.Moler Now: MathWorks > 000 pers. 0th aiversary 005: Success Story II: comsol Multiphysics FE software S.Littmarck 995: MATLAB PDEToolBo Now: Comsol > 50 pers. 0-08-06 DN40 umi3 9

Numerical Methods 0" 0. Why umerical methods? What ca be computed?. Approimatio, iteratio, liearizatio, algorithm 3. Ordiary differetial equatios: simulatio, eamples. Partial differetial equatios: simulatio, eempel 0-08-06 DN40 umi3 0

Most solutios are approimatios! Compute but how? ±. Calculator... but how does it do it?. Mathematics: ±.44 (+ ) / / k + k 8 + 6 3 5 8 3 +... k0 0-08-06 DN40 umi3

() / ( 5 6 + 7 6 )/ 5 4 (+ 7 5 )/ 5 4 + 7 5 8 7 5 + 6 7 5 3 5 8 7 5 3 +... ( + 0.400 0.0098 + 0.004...). 445.5 (Puh despite the covergece acceleratio) 0-08-06 DN40 umi3

0-08-06 3 Liearisatio ad iteratio: Newto's method ( ) ( ) + + + f f f f : ) (..., 0 : ) ( 0.5.47.446.4436 Mmm! DN40 umi3

Lijära ekvatiossystem Fi (,,, ) så att A b, A (a ij ) NAM:.4,.5,.6 (ite.6.),.7,.8 eller mistakvadrat-lösig mi A b NAM Olijär ekvatio Fi så att f() 0 NAM 6 Olijära ekvatiossystem Fi så att f() 0 NAM 6.8, 6.9 eller mistakvadrat-lösig mi f() NAM 6.0 0-08-06 DN40 umi3 4

Iitialvärdesproblem för ordiära differetialekvatioer Fi y(t) för t > 0 då dy/dt f(t,y), y(0) c NAM 8.-8.6 plus etra Radvärdesproblem för ordiära differetialekvatioer Fi y() för a < < b då dy/d f(,y), G(y(a),y(b)) 0 NAM 8.7 plus etra Partiella differetialekvatioer Iitial/radvärdesproblem: Fi T(,t) för 0 < < L, t > 0 då T (,0) 0 T T ρc k ; 0 < < t T (0, t) T, T ( L, t) T f ( ) L L; t > 0 0-08-06 DN40 umi3 5

Kvadratur Beräka b I f ( ) d a I f, y) ddy Beräka f ( ) då f ( i ) yi, i,,..., m ( Iterpolatio / Approimatio D - Tabeller NAM 5 Ite 5..4,5..5; - Polyom P k () Optimerig - Splie-fuktioer Fi ma. för f() i - Bézier-kurvor a < < b NAM 7 (ite 7..) plus etra 0-08-06 DN40 umi3 6

Lijära ekvatiossystem Fi (,,, ) så att A b, A (a ij ) NAM:.4,.5,.6 (ite.6.),.7,.8 Formulerig Gauss-elimiatio Pivoterig Arbetsvolym k i j Pivot - rad k :för i k +, k +,..., a ij a ij m ik a kj, j k +,..., m ik a a ik kk Atal mult.& add :, k ( k) 3 3 + O( ) 0-08-06 DN40 umi3 7

Eempel: Approimatio, iteratio, lijariserig, algoritm: Newto-Raphsos metod för lösig av f() 0. Approimatio med lijariserig: av y f() med tagete i ( 0,f( 0 )), som har ollställe i f ) / f ( ) 0 ( 0 0. Iteratio: Upprepa! (*): f ( ) / f ( ),,... 3. Algoritm: a) välj 0 och toleras ε b) Iterera med (*) tills ε c) är ärmevärde till ollstället y f() 0-08-06 DN40 umi3 8 y 0 y f(0)+(-0)f (0)

Eempel. Kvadratrote (Heros metod) 0-08-06 DN40 umi3 9 +... : ) (, ) ( f f. Divisio uta divisios-istruktio ( ) / : ) ( ) ( a a f a f Cray, 976 60 Mflops

Divisio uta divisio aalys. f ( ) / a; f / + a Vi vill se hur kovergerar mot /a och betraktar felet E /a : / a E + med l + ae l E / a får vi + l+ l + l a För tillämpige på divisio av biära flyttal är bara ½ < a < itressat, så vi tar a och l 0 -; a a(/ a l - : E e - ) : 0-08-06 DN40 umi3 HT 0