Recent content by TrentFGuidry

  1. T

    How can I use Runge Kutta to solve coupled first order DE's in Matlab?

    Are you sure it is k2 - k1 and not k2 + k1? The full Heun is k0 = f(xi, yi) k1 = f(xi + h, yi + hk0) yi+1 = yi + (1/2 k0 + 1/2 k1)h
  2. T

    Plane Fitting with Linear Least Squares

    As for the eigenvalues/eigenvectors, I believe that you have to do that for an SVD decomposition, which is a way of solving the above matrix equation. Another approach to solving the above equation is to use a different approach, such as an LU decomposition. The potential problem with an LU...
  3. T

    LOG Base: 10, e, or Other - What Does it Mean?

    Unfortunately, there doesn’t seem to be any real consistency on this issue. For software and computer languages, you pretty much have to check the documentation to be sure what base LOG is using. For example, in Excel, LOG10 is used for logarithms base 10 and LN is base e, however, in .NET...
  4. T

    Plane Fitting with Linear Least Squares

    It sounds like you are describing a multiple linear regression problem. fi = a1xi + a2yi + a3zi Where xi, yi, and zi are the points and fi is the observed function values. To solve this, you can create a matrix Z with the following values: x1 y1 z1 x2 y2 z2 x3 y3 z3 . . ...
  5. T

    CO2 vapour pressure passed critical temperature

    Above the critical temperature, there is no vapor liquid equilibrium. The liquid and vapor phases more or less merge at that point and it is a super critical fluid. If you increase the temperature while holding the volume constant, the pressure would still go up even above the critical...
Back
Top