



 
Hi Ali: It's easiest to check each coordinate independently:
You should have no difficulty extending this to 3D. Good Hunting!  


Math Central is supported by the University of Regina and The Pacific Institute for the Mathematical Sciences. 