Monte Carlo Simulation for the In-Plane Susceptibility of 1D Spin 1/2 and 1 XY Model