diff --git a/04_AWK/stars/awk_excercises.txt b/04_AWK/stars/awk_excercises.txt index 02898a0..5412908 100644 --- a/04_AWK/stars/awk_excercises.txt +++ b/04_AWK/stars/awk_excercises.txt @@ -1,10 +1,15 @@ 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. +1. Compute number of black holes formed per every timesteps (column timenr) from files inter-binevoldat. 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). \ No newline at end of file +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). + +2. Compute the same for inter-binsin.dat file and plot both results on the same plot (with anything). These events from inter-binsin.dat should be less. + + +