7*x gets close to pi/2=1.57~, as x->(pi/14)+, sure. But x->(pi/14)+ means thinking of x's a little larger than pi/14. What's tan(7*(pi/14+0.01)), tan(7*(pi/14+0.001)) etc etc. Punch them into a calculator if you have to.
I get tan(7*((pi/14)+0.001))=-1428.57... Are you using an bad approximation of pi? Don't. 7*pi/14+(a small number) is pi/2+(a small number). What's tan(pi/2+(a small number))? Look at a graph of tan.