Bill,
Use Reduce:
Reduce[Cos[x y] == Sin[x y] && 0 <= y <= \[Pi], {x, y}, Reals]
Then write ConditionalExpressions for the intersections.
intersection1[k_][x_] =
ConditionalExpression[{x, (-2 ArcTan[1 + Sqrt[2]] + 2 \[Pi] k)/x,
Sin[-2 ArcTan[1 + Sqrt[2]] + 2 \[Pi] k]}, (k <= 0 &&
x <= (-2 ArcTan[1 + Sqrt[2]] + 2 \[Pi] k)/\[Pi]) || (k >= 1 &&
x >= (-2 ArcTan[1 + Sqrt[2]] + 2 \[Pi] k)/\[Pi])];
intersection2[k_][x_] =
ConditionalExpression[{x, (-2 ArcTan[1 - Sqrt[2]] + 2 \[Pi] k)/x,
Sin[-2 ArcTan[1 - Sqrt[2]] + 2 \[Pi] k]}, (k <= -1 &&
x <= (-2 ArcTan[1 - Sqrt[2]] + 2 \[Pi] k)/\[Pi]) || (k >= 0 &&
x >= (-2 ArcTan[1 - Sqrt[2]] + 2 \[Pi] k)/\[Pi])];
The particular intersections you want for your plot are:
intersection2[0][x]
intersection2[1][x]
intersection1[1][x]
In Presentations I would draw this as:
<< Presentations`
Draw3DItems[
{{Opacity[0.6, ColorData["Crayola"]["RedViolet"]],
Draw3D[Sin[x y], {x, 0, Pi}, {y, 0, Pi}, Mesh -> None]},
{Opacity[0.6, Cyan],
Draw3D[Cos[x y], {x, 0, Pi}, {y, 0, Pi}, Mesh -> None]},
{Black, Thick,
ParametricDraw3D[intersection2[0][x], {x, 0, \[Pi]}],
ParametricDraw3D[intersection2[1][x], {x, 0, \[Pi]}],
ParametricDraw3D[intersection1[1][x], {x, 0, \[Pi]}]}},
NeutralLighting[0, 0.5, 0.4],
NiceRotation,
Axes -> True, AxesLabel -> {"x", "y", "z"},
BoxRatios -> {1, 1, 0.5},
ImageSize -> 500]
David Park
djm...@comcast.net
http://home.comcast.net/~djmpark/index.html