wmi-parprog/04_AWK/stars/awk_excercises.txt
Arkadiusz Hypki 8b52ea096b 'Added desc'
2024-03-18 14:37:20 +01:00

10 lines
588 B
Plaintext

Columns description is in the beginning of the files.
Compute number of black holes formed per every timesteps (column timenr) from files inter-binevoldat and inter-binsin.dat. At the end we should see something like a histogram.
Hints:
* column 17 - initial star's type, it has to be smaller than 14
* column 37 - final star's type, it has to be 14 (internal note that we have a black hole(BH))
So, BH formes if the type was not 14 in column 17, but in the same line, in the column 37 equals 14. Number of such events (rows) have to be computed per every time step (column timenr).