42
Quiz time

Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Quiz time

Page 2: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Bifocal approach to physics problems

Page 3: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

What are numerical analysis??

Page 4: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

● Consists of approximations to solve mathematical problems.

Page 5: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

● Consists of approximations to solve mathematical problems.

● Examples:Solving ODEs to understand planetary motions.

Page 6: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

● Consists of approximations to solve mathematical problems.

● Examples:● Solving ODEs to understand planetary

motions.● Numerical linear algebra for data analysis.

Page 7: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

● Consists of approximations to solve mathematical problems.

● Examples:● Solving ODEs to understand planetary motions.

● Numerical linear algebra for data analysis.

● Markov chains,Stochastic DE to for bilogical systems

Page 8: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Lets not forget about analytical methods!!

Page 9: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Advantages of analytic methods

Page 10: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Advantages of analytic methods● Exact solutions.

Page 11: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Advantages of analytic methods● Exact solutions.● Helps understanding the physics behind the

problem.

Page 12: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Advantages of analytic methods● Exact solutions.● Helps understanding the physics behind the

problem.● Does not require heavy computation.

Page 13: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Numerical vs analytical method● Stochastic process cannot be very well understood by

analytical but numerical methods prove useful.

Page 14: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Numerical vs analytical method● Stochastic process cannot be very well understood by

analytical but numerical methods prove useful.

● Numerical solutions are difficult to interpret in contrast with analytical.

Page 15: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Numerical vs analytical method● Stochastic process cannot be very well understood by

analytical but numerical methods prove useful

● Numerical solutions are difficult to interpret in contrast with analytical.

● Numerical methods lead to difficulties with precision,singularities, stability.

Page 16: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

● A major advantage of numerical method is that a numerical solution can be obtained for problems, where an analytical solution does not exist.

Page 17: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

● A major advantage of numerical method is that a numerical solution can be obtained for problems, where an analytical solution does not exist.

● An additional advantage is, that a numerical method only uses evaluation of standard functions and the operations: addition, subtraction, multiplication and division.

Page 18: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Programming languages● Fortran: simple, old-fashioned, good at numerical

computation, good handling of vectors and matrices

● C: more powerful for strings/non-numerical data,

weaker than Fortran for numerical calculations, more

powerful control structures (relative to Fortran-77 but

not Fortran-90)

● – C++: object oriented approach, poorer numerical

performance relative to Fortran/C, industrial standard

Page 19: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

?!?!● Numerically any differential equation can be solved!

● Can you state some examples ??

Page 20: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Types of numerical recipes● Finite Difference method.

Page 21: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Methods on a grid● Finite difference approximations for derivatives are

one of the simplest and of the oldest methods to solve differential equations.

Page 22: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult
Page 23: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult
Page 24: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult
Page 25: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult
Page 26: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

RK 2,3,4

Page 27: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult
Page 28: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

QUIZ TIME !!!!!!!

Page 29: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Have a 5 min break :)

Page 30: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult
Page 31: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

What is bifocal approach ?

Page 32: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Types of numerical recipes● Finite Difference method.● Smooth Particle Hydrodynamics.

Page 33: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult
Page 34: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

https://www.youtube.com/watch?v=M2Xqi2FBfiM

Page 35: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Basic Concept of SPH

Page 36: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

To the board :)

Page 37: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Hydrodynamical simulations of cosmological structure formation

{Ref:GADGET (https://wwwmpa.mpa-garching.mpg.de/gadget/hydrosims/index.html)}

Page 40: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Types of numerical recipes● Finite Difference method.● Smooth Particle Hydrodynamics.● Finite Volume method.

So on!

Page 41: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult

Finite Volume Method● A finite difference method discretization is based upon the differential form

of the PDE to be solved. Each derivative is replaced with an approximate difference formula.

● Finite volume method is a method for representing and evaluating partial differential equations in the form of algebraic equations. In the finite volume method, volume integrals in a partial differential equation that contain a divergence term are converted to surface integrals, using the divergence theorem. Useful for problems with body-fitted coordinate systems.

Page 42: Quiz time - DESY · Numerical vs analytical method Stochastic process cannot be very well understood by analytical but numerical methods prove useful Numerical solutions are difficult