MacTex and Gauss Elimination

Install Mactex using brew cask. LaTex bulleted, numbered, to-do (checkboxes) lists. Manipulating indices in matrix so that previous row remains untouched as rows swapped. Lower triangular part of matrix should become zero.

Gaussian elimination with partial pivoting

  1. To solve a system of linear equations given by Ax=b, get augmented matrix [A|b]. All normalize and swap operations therefore carried out on A and b.
  2. Normalize row – row elem/largest row elem. Store row in array. Used C++ functions max_element and distance.#<algorithm>
  3. For col=n: row with largest element in col=n swapped with first row. This is called pivot element. make A(row-1,col) = 0. We don’t care what happens to rest of the row elements

Should’ve used vectors instead of arrays.

Agilent Cary Spectrophotometer and the stray light phenomenon was interesting. Spectrophotometers suffer from stray light due to diffraction grating. Since different wavelengths will reflect/transmit at different angles, %transmitrance tolerance given for wavelength ranges. Stray light is removed using specific filters for these predetermined ranges and each filter have different %T. Sample preparation could improve readings i. e. dilutions.

Eigen matrices used to store kinetic and nuclear energy values obtained from the Libint library.

Leave a comment