mostly math?

correctness not guaranteed

tags