Download PDF Ordinary and Partial Differential Equation Routines in C, C++, Fortran, Java, Maple, and MATLAB by H.J. Lee



Sinopsis

The central topic of this book is the programming and use of a set of library routines for the numerical solution (integration) of systems of initial value ordinary differential equations (ODEs). We start by reviewing some of the basic concepts of ODEs, including methods of integration, that are the mathematical foundation for an understanding of the ODE integration routines.

Ideally, we would like to have a higher-order ODE integration method (higher than the first-order Euler method) without having to take derivatives of the ODEs. Although this may seem like an impossibility, it can in fact be done by the Runge Kutta (RK) method. In other words, the RK method can be used to fit the numerical ODE solution exactly to an arbitrary number of terms in the underlying Taylor series without having to differentiate the ODE. We will investigate theRKmethod, which is the basis for theODEintegration routines described in this book.
 
The other important characteristic of a numerical integration algorithm (in addition to not having to differentiate the ODE) is a way of estimating the truncation error, ε, so that the integration step, h, can be adjusted to achieve a solution with a prescribed accuracy. This may also seem like an impossibility since it would appear that in order to compute ε we need to know the exact (analytical) solution. But if the exact solution is known, therewouldbe no need to calculate the numerical solution. The answer to this apparent contradiction is the fact that we will calculate an estimate of the truncation error (and not the exact truncation error which would imply thatweknowthe exact solution).

Content

  1. Some Basics of ODE Integration
  2. Solution of a 1x1 ODE System
  3. Solution of a 2x2 ODE System
  4. Solution of a Linear PDE
  5. Solution of a Nonlinear PDE

Download PDF OPTICS Learning by Computing, with Examples Using Mathcad, Matlab, Mathematica, and Maple Second Edition by K.D. M¨oller



Sinopsis

Geometrical optics uses light rays to describe image formation by spherical surfaces, lenses, mirrors, and optical instruments. Let us consider the real image of a real object, produced by a positive thin lens. Cones of light are assumed to diverge from each object point to the lens. There the cones of light are transformed into converging beams traveling to the corresponding real image points. We develop a very simple method for a geometrical construction of the image, using just two rays among the object, the image, and the lens.We decompose the object into object points and draw a line from each object point through the center of the lens. A formula is developed to give the distance of the image point, when the distance of the object point and the focal length of the lens are known. We assume that the line from object to image point makes only small angles with the axis of the system. This approximation is called the paraxial theory.

Content

  1. Geometrical Optics
  2. Interference
  3. Diffraction
  4. Coherence
  5. Maxwell’s Theory
  6. Maxwell II. Modes and Mode Propagation
  7. Blackbody Radiation, Atomic Emission, and Lasers
  8. Optical Constants
  9. Fourier Transformation and FT-Spectroscopy
  10. Imaging UsingWave Theory
  11. Aberration