applying mathematics