add precalculus formula