I don't know if picbasic supports floating point. I can only give you a general hint.
Convert the formula to deal with integers only. Multiply both sides of equation with some integer value in order to get rid of fractional values. Once you have only integer multiplications and additions then you will probably know how to proceed. Finally, you finish with integer division.