ME 501A Seminar in Engineering Analysis Page 1

Similar documents
3.4 Properties of the Stress Tensor

Outline. Remaining Course Schedule. Review Systems of ODEs. Example. Example Continued. Other Algorithms for Ordinary Differential Equations

Nuclear Chemistry -- ANSWERS

Comparisons of the Variance of Predictors with PPS sampling (update of c04ed26.doc) Ed Stanek

Unbalanced Panel Data Models

LECTURE 6 TRANSFORMATION OF RANDOM VARIABLES

Math Tricks. Basic Probability. x k. (Combination - number of ways to group r of n objects, order not important) (a is constant, 0 < r < 1)

Outline. Review Numerical Approach. Schedule for April and May. Review Simple Methods. Review Notation and Order

Priority Search Trees - Part I

Lecture 1: Empirical economic relations

Face Detection and Recognition. Linear Algebra and Face Recognition. Face Recognition. Face Recognition. Dimension reduction

Basic Concepts in Numerical Analysis November 6, 2017

Binary Choice. Multiple Choice. LPM logit logistic regresion probit. Multinomial Logit

COMPLEX NUMBERS AND ELEMENTARY FUNCTIONS OF COMPLEX VARIABLES

Department of Mathematics and Statistics Indian Institute of Technology Kanpur MSO202A/MSO202 Assignment 3 Solutions Introduction To Complex Analysis

Large N phase transitions in Supersymmetric gauge theories with massive matter

Using Nonlinear Filter for Adaptive Blind Channel Equalization

Estimating the Variance in a Simulation Study of Balanced Two Stage Predictors of Realized Random Cluster Means Ed Stanek

Chapter 5 Special Discrete Distributions. Wen-Guey Tzeng Computer Science Department National Chiao University

Fourier Transforms. Convolutions. Capturing what s important. Last Time. Linear Image Transformation. Invertible Transforms.

Multiple-Choice Test Runge-Kutta 4 th Order Method Ordinary Differential Equations COMPLETE SOLUTION SET

Homework 1: Solutions

Planar convex hulls (I)

Introduction to logistic regression

Chapter Taylor Theorem Revisited

Correlation in tree The (ferromagnetic) Ising model

Introduction to Numerical Differentiation and Interpolation March 10, !=1 1!=1 2!=2 3!=6 4!=24 5!= 120

ON ESTIMATION OF STRESS STRENGTH MODEL FOR GENERALIZED INVERTED EXPONENTIAL DISTRIBUTION

Power Spectrum Estimation of Stochastic Stationary Signals

ORDINARY DIFFERENTIAL EQUATIONS EULER S METHOD

Washington State University

Petru P. Blaga-Reducing of variance by a combined scheme based on Bernstein polynomials

Entropy Equation for a Control Volume

September 27, Introduction to Ordinary Differential Equations. ME 501A Seminar in Engineering Analysis Page 1. Outline

If we integrate the given modulating signal, m(t), we arrive at the following FM signal:

Weights Interpreting W and lnw What is β? Some Endnotes = n!ω if we neglect the zero point energy then ( )

Lecture 14. P-N Junction Diodes: Part 3 Quantitative Analysis (Math, math and more math) Reading: Pierret 6.1

3-2-1 ANN Architecture

In 1991 Fermat s Last Theorem Has Been Proved

On Estimation of Unknown Parameters of Exponential- Logarithmic Distribution by Censored Data

A L A BA M A L A W R E V IE W

EQUATION SHEET Quiz 2

Regression and the LMS Algorithm

α1 α2 Simplex and Rectangle Elements Multi-index Notation of polynomials of degree Definition: The set P k will be the set of all functions:

Legendre Wavelets for Systems of Fredholm Integral Equations of the Second Kind

A Stochastic Approximation Iterative Least Squares Estimation Procedure

minimize c'x subject to subject to subject to

Some Different Perspectives on Linear Least Squares

Fourth Order Four-Stage Diagonally Implicit Runge-Kutta Method for Linear Ordinary Differential Equations ABSTRACT INTRODUCTION

Chapter 4 NUMERICAL METHODS FOR SOLVING BOUNDARY-VALUE PROBLEMS

APPLICATION OF THE DISTRIBUTED TRANSFER FUNCTION METHOD AND THE RIGID FINITE ELEMENT METHOD FOR MODELLING OF 2-D AND 3-D SYSTEMS

Second Handout: The Measurement of Income Inequality: Basic Concepts

Aotomorphic Functions And Fermat s Last Theorem(4)

8(4 m0) ( θ ) ( ) Solutions for HW 8. Chapter 25. Conceptual Questions

Calculus Revision A2 Level

Irregular Boundary Area Computation. by Quantic Hermite Polynomial

Numerical Method: Finite difference scheme

Inner Product Spaces INNER PRODUCTS

Repeated Trials: We perform both experiments. Our space now is: Hence: We now can define a Cartesian Product Space.

Linear Prediction Analysis of Speech Sounds

A METHOD FOR NUMERICAL EVALUATING OF INVERSE Z-TRANSFORM UDC 519.6(045)

Handout on. Crystal Symmetries and Energy Bands

Counting the compositions of a positive integer n using Generating Functions Start with, 1. x = 3 ), the number of compositions of 4.

MMJ 1113 FINITE ELEMENT METHOD Introduction to PART I

Relations to Other Statistical Methods Statistical Data Analysis with Positive Definite Kernels

Estimation of Population Variance Using a Generalized Double Sampling Estimator

Handout 11. Energy Bands in Graphene: Tight Binding and the Nearly Free Electron Approach

Introduction to logistic regression

Today s topics. How did we solve the H atom problem? CMF Office Hours

Case Study 1 PHA 5127 Fall 2006 Revised 9/19/06

The Selection Problem - Variable Size Decrease/Conquer (Practice with algorithm analysis)

8-node quadrilateral element. Numerical integration

NUMERICAL DIFFERENTIAL 1

Initial-Value Problems for ODEs. numerical errors (round-off and truncation errors) Consider a perturbed system: dz dt

Having a glimpse of some of the possibilities for solutions of linear systems, we move to methods of finding these solutions. The basic idea we shall

DIOPHANTINE APPROXIMATION WITH FOUR SQUARES AND ONE K-TH POWER OF PRIMES

Course 10 Shading. 1. Basic Concepts: Radiance: the light energy. Light Source:

Linear Algebra Existence of the determinant. Expansion according to a row.

Control Systems. Lecture 8 Root Locus. Root Locus. Plant. Controller. Sensor

Lecture 26 Finite Differences and Boundary Value Problems

Chapter 6. pn-junction diode: I-V characteristics

Linear Prediction Analysis of

ON THE RELATION BETWEEN THE CAUSAL BESSEL DERIVATIVE AND THE MARCEL RIESZ ELLIPTIC AND HYPERBOLIC KERNELS

5/1/2018. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees

7.0 Equality Contraints: Lagrange Multipliers

Handout 7. Properties of Bloch States and Electron Statistics in Energy Bands

Lecture 1: Introduction to Regression

On new theta identities of fermion correlation functions on genus g Riemann surfaces

Multiple Choice Questions

T h e C S E T I P r o j e c t

2/20/2013. Topics. Power Flow Part 1 Text: Power Transmission. Power Transmission. Power Transmission. Power Transmission

Inference on Stress-Strength Reliability for Weighted Weibull Distribution

General Method for Calculating Chemical Equilibrium Composition

Andre Schneider P621

INTEGRATION BY PARTS

3D Reconstruction from Image Pairs. Reconstruction from Multiple Views. Computing Scene Point from Two Matching Image Points

lecture 35: Linear Multistep Mehods: Truncation Error

Abstract Interpretation: concrete and abstract semantics

Dr. Junchao Xia Center of Biophysics and Computational Biology. Fall /21/2016 1/23

Stability analysis of numerical methods for stochastic systems with additive noise

Transcription:

St Ssts o Ordar Drtal Equatos Novbr 7 St Ssts o Ordar Drtal Equatos Larr Cartto Mcacal Er 5A Sar Er Aalss Novbr 7 Outl Mr Rsults Rvw last class Stablt o urcal solutos Stp sz varato or rror cotrol Multstp tods wt costat ad varabl stp sz Ssts o quatos Dto o st ssts Alorts or st ssts Fd sst s st Mr Probl O = = = Idcal quato + + + = + = as tr cal roots o - so Plu tral P = A + B + C to ODE to d A = B = - ad C = 5 = 5 = = 5 = 5 Mr Probl O II = C =C + = C + = -5 + = -4 Boudar coo tat = s solvd to d C = 9 Soluto s 4 Mr Probl Two Solv us Laplac trasors [ = ad = -] Solv or Ys Rarra/us partal ractos or Ys 5 Mr Probl Two II Partal ractos rsults A = - B = 5 C = - D = so Ys quato s Fd vrs trasors vs t al rsult 6 6 ME 5A Sar Er Aalss Pa

St Ssts o Ordar Drtal Equatos Novbr 7 Mr Probl Tr Rarrat vs apls o Bssl s quato wt = ad =.5 d d d d For tr = = soluto s = AJ + BY ; or o-tr =.5 soluto s AJ.5 + BJ -.5 Ftt boudar coos vs rst rsult as.6j +.47Y ad scod as.8j.5.77j -.5 7 Ssts o Equatos A probl wt o or or ODEs o a ordr ca b rducd to a sst or rst ordr ODEs I a prvous lctur w rducd a sst o two scod ordr quatos to a sst o our rst ordr quatos I ts procss t su o t ordrs s costat Loo at prvous apl 8 Rducto o Ordr Eapl d d D varabls = d / ad 4 = d / T d / = d / ad d 4 / = d / Hav our sultaous rst-ordr ODEs d d 4 d d4 4 9 Sst o Equato Notato Wrt sst as d vctor quato d Idvdual d N copots d Eac a dpd o ad all d d 4 d d4 4 Solv Sultaous ODEs Appl sa alorts usd or sl ODEs Must appl ac stp ad substp to all quatos sst K s av cosstt ad valus rato o All valus ust b avalabl at t sa pot w coput t E.. Ru-Kutta w ust valuat or all quatos bor d Ru-Kutta or ODE Sst s vctor o dp varabls at = ad 4 ar vctors cota trdat Ru-Kutta rsults s a vctor cota t drvatvs = = = + / + / = + / + / 4 = + + + = + + + 4 /6 ME 5A Sar Er Aalss Pa

St Ssts o Ordar Drtal Equatos Novbr 7 ODE Sst b RK4 d/d = - + z ad dz/d = z wt = ad z = - wt =. = [- + z] =.[- + -] = -. z = [ - z] =.[ - -] =. = [-+ / + z + z /] =.[ - + -./ + - +./] = -.8 z = [+ / z + z /] =.[ + -./ - - +./] =.8 ODE Sst b RK4 II = [-+ / + z + z /] =.[ - + -.8/ + - +.8/] = -.8 z = [+ / z + z /] =.[ + -.8/ - - +.8/] =.8 4 = [-+ + z + z ] =.[ - + -.8 + - +.8] = -.66 4z = [+ z + z ] =.[ + -.8 - - +.8] =.66 4 ODE Sst b RK4 III + = + + + + 4 /6 = + [. +.8 +.8 +.66]/6 =.887 z + = z + z + z + z + 4z /6 = + [. +.8 +.8 +.66]/6 =.887 Cotu ts aso utl dsrd al valu s racd No dpdc or ts apl Nurcal Sotwar or ODEs Usuall wrtt to solv a sst o N quatos but wll wor or N = Usr as to cod a subrout or ucto to coput t arra Iput varabls ar ad ; s output So cods av o dsoal paratr arra to pass adoal orato ro a prora to t ucto tat coputs drvatvs 5 6 Drvatv Subrout Eapl Vsual Basc cod d or sst o d ODEs at rt s d d sow blow d d Sub sub as Doubl as Doubl _ as Doubl = - + Sqr + *Ep* = - * ^ = - * * Ed Sub 7 Drvatv Subrout Eapl Fortra cod or d sst o ODEs d at rt s sow d d blow d d subrout sub ralkind=8 : : = - + sqrt +*p* = - * ** = - * * d subrout sub 8 ME 5A Sar Er Aalss Pa

St Ssts o Ordar Drtal Equatos Novbr 7 Drvatv Subrout Eapl C++ cod or d sst o ODEs d at rt s sow d d blow d d vod subdoubl doubl [] doubl [] { [] = -[] + sqrt[] + []*p*; [] = - * [] * []; [] = - * [] * []; 9 St Ssts o Equatos Svral os Basc probl s tat tr ar svral lt or t costats valus t sst I o s atv ad lar atud copard to otrs ts wll st stablt Suc trs qucl drop to zro ad do ot act pscal soluto Howvr t orc sall or stablt Sl St Equato Noooous quato wt drt lt t scals d/d = = -a[ F] + df/d = [ F] - + F Soluto als o t two carts F = c + b: = [ b] - + c + b / = b/ - + c/ + b/ / = b/ - + c/ + b/ / - as ad / b/ + c/ as St Equato Soluto d/d = = -a[ F] + df/d soluto ro orula or a rst-ordr ODE d df a af d d d d C d ad C ad d C d F C St Equato Soluto II d df af d d afd df afd B parts udf = F a d F uf - Fdu C d C F C F F so F F Gar s Mtod Us plct alorts wt soluto b Nwto s tod Gral alort sow blow s lobal ordr o t tod Cocts: S tabl t sld Solv = b Nwto s tod ' 4 ME 5A Sar Er Aalss Pa 4

St Ssts o Ordar Drtal Equatos Novbr 7 ME 5A Sar Er Aalss Pa 5 5 Gar s Mtod Cocts / 4 - / 6 8-9 4 /5 48-6 6-5 /7 6 - -75 6 /47 6 6-45 4-5 7-6 Nwto s Mtod Itrat to d suc tat = wrt Talor srs or stp ro old valu to w valu + O d d d d St + = ad solv or + Us ts to trat sc soluto s ot act 7 Solv d d d d Itrat to t + s trato d 8 Multvarabl Gar Mtod Iplct quato + Epad + Talor srs btw trato ad trato + or + N O ODE 9 Multvarabl Gar Mtod II W av a st o sultaous lar quatos to solv or + copots at ac trato N ODE Partal Drvatvs Nd partal drvatvs o ac wt rspct to ac d d d d d d 4

St Ssts o Ordar Drtal Equatos Novbr 7 Subrout or Partals Ts ca co drt ors dpd o arra allocato o cod O spl or s to us rpatd calls to t subrout or ac T d ad t valus o ad t arra ar passd to t rout ad t valus o t partal drvatvs o wt rspct to ac ar rturd a o dsoal arra p C++ Fucto or Partals vod pdrv doubl doubl [] t doubl p[] { == { p[] = -; p[] =.5 / sqrt [] ; p[] = p * ; ls == C++ Fucto or Partals II Group Wor { p[] = -4 * []; p[] = p[] = ; ls == { p[] = - * []; p[] = - * []; p[] = ; Start wor o t rst probl o t owor or Novbr 9 Solv t probl = -. wt = or our stps wt =. us t Adas-Moulto tod S t t sld or t alort as wll as t start valus ro t ourt-ordr Ru-Kutta Eact soluto s =. 4 Group Wor II Us Adas tod to solv = -. wt = or our stps wt =. act rror..9968.9968.7e- -.984.4.9847.9847.4E- -.787.6.96464.96464.8E- -.576 5 ME 5A Sar Er Aalss Pa 6