Suppose $A=\mathbb{Q}[x_1,x_2,...,x_n]/(p_1,p_2,..,p_k)$ and $B$ is a subring of it ($p_i$ are polynomial ).How to find ${x\in B:x \text{ is integral over } A}$?