Գրեք սա: Binary population synthesis: Theory and applications