You could implement some sort of mathematical algorithm like Z3bra said and investigate the efficiency (in terms of any metric, writing ease, compile, run time) of different languages. For example, I'm always confused why astrophysics has some weird obsession with FORTRAN. Or maybe it could be simpler - why are different languages used for different things across different research fields.