[SOLVED] Use Newton's Method for Intersection of 2 Curves

How do I go about using newton's method to approximate the intersection of the curves:

y = sin(pi*x) and y = 1-x

or a similar problem if you prefer. I have been using newton's method to find the zero of one polynomial but have no idea how to use it to find the intersection of two separate functions. I am also not overly strong with the trig functions so if you do change the problem please keep the format so I can see how to do it like it is.