C++ Binary Star and Black Hole Simulation Program

  • Context: C/C++ 
  • Thread starter Thread starter Benzoate
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
Benzoate
Messages
420
Reaction score
0
Could you write a C++ program modeling the movements of a binary star around a black hole?
 
Physics news on Phys.org
malawi_glenn said:
i.e you want someone else to do the work for you?

no. I want to create a program myself. I only want to know if it is possible to create a C++ program that models the behavior of stars and other object in the universe
 
Well if i got the equations, I could easily do it. Works with Java, Fortran, Matlab etc. aswell.

C++ and Fortran are perhaps the most used programming languages in scientific computing and modelling.