Thanx this very good manual, this pattern fits to every mining algorithm ? or it can by only in C11 ?
Yes, that's right. This formula is suitable for almost all algorithms.
There are some algorithms where it will not work, but I do not know such ones)))
Or I simply not mine on these algorithms. So you stuff it all in an Excel and enjoy it)
Especially for new coins, because there are no calculators for them.