Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/letiziaia/harmonic-oscillator
Studying 2nd order differential equation with Runge-Kutta and Verlet
https://github.com/letiziaia/harmonic-oscillator
c course-assignment differential-equations harmonic-oscillator runge-kutta rungekutta verlet
Last synced: 9 days ago
JSON representation
Studying 2nd order differential equation with Runge-Kutta and Verlet
- Host: GitHub
- URL: https://github.com/letiziaia/harmonic-oscillator
- Owner: letiziaia
- Created: 2019-01-31T11:55:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-31T12:07:37.000Z (almost 6 years ago)
- Last Synced: 2024-10-14T05:02:10.201Z (25 days ago)
- Topics: c, course-assignment, differential-equations, harmonic-oscillator, runge-kutta, rungekutta, verlet
- Language: C
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Harmonic-Oscillator
Studying 2nd order differential equation with Runge-Kutta and Verlet algorithms_p1.c file approximates the solution of x'' = - alpha*x + A*x^2 - B*x^3
with parameters alfa=10.0, A=30, B=20, x0=-0.1, v=0.0
printing the answer in a text file which can be read by GnuPlot_p2.c file studies the same equation in order to see how the trajectory changes
when x0 changes. Using the same algorithms, the critical value of x0 is
approximated with 1% precision.This project was part of the course in Computational Physics.