Astrophys
Useful programs for astrophysics written in javascript
In this site, you can find the following programs:
- Newton - Raphson Method:
Sample program to search a zero of a non linear function f(x)
- Simson's Method:
Sample program to compute the integral of a function f(x) between a lower boundry a and an upper boundry b.
- Second Euler Approximation:
Sample program to solve the system of two coupled differeintial equations
y' = fy(x,y,z)
z' = fz(x,y,z)
using the euler's method.
- Second Midpoint Approximation:
Sample program to solve the system of two coupled differeintial equations
y' = fy(x,y,z)
z' = fz(x,y,z)
using the midpoint method.
- Second Predictor Approximation
Sample program to solve the system of two coupled differeintial equations
y' = fy(x,y,z)
z' = fz(x,y,z)
using th predictor method.
- Second Runge Approximation:
Sample program to solve the system of two coupled differeintial equations
y' = fy(x,y,z)
z' = fz(x,y,z)
using the runge method.
|