Crankshaft postion sensor

Would greatly appreciate if you could give me the  location of the crankshaft position sensor on a 2003 nissan altima 4 cylinder 2.5 engine and a guide on how to replace it.