Timotej979 / Mathematical-programs

Simple mathematical programs created in free time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mathematical-programs

Simple mathematical programs created in free time.

C programming language (Using 128 bit floating point percission):

  • Taylor series calculates the series upon given function and percision.

  • SqrtOfPiE calculates the value upon given percision, pi is calculated with Euler's formula and e with Taylor series expansion.

  • SumOfNaturalNum calculates partial sums of n given natural numbers and aproximates a parabola using least squares theorem for sequential natural numbers with partial sums of the given natural number. Then it caluculates the difference between the computed value and theorethical value of -1/12.

Numerical methods in Matlab:

  • LU decomposition with direct and reverse insertion with tridiagonal version of those.

  • Cholesky decomposition for tridiagonal positive definite matrices

  • Bisection for finding zeroes of a function

  • Secant method for finding zeroes of a function

  • Tangent method for finding zeroes of a function

  • Newton method for finding function intersections

  • Euler method for solving DE y' = f(x, y)

  • Modified Euler method for solving DE y' = f(x, y)

  • Leapfrog method for solving DE y' = f(x, y)

  • Runge-Kutta method of 4-th order for solving DE y' = f(x, y)

  • Trapezoidal rule for solving DE y' = f(x, y)

  • Methods for numerical integration for numerical calculation of integrals

    • Rectangular rule
    • Trapezoidal rule
    • Simpson 1/3 rule
    • Simpson 3/8 rule
    • Romberg method

About

Simple mathematical programs created in free time

License:GNU General Public License v3.0


Languages

Language:MATLAB 52.2%Language:C 47.8%