Final answer:
The equation of the tangent to the curve y = x sin(x) at the point (pi/2, pi/2) is y = x - pi/2.
Step-by-step explanation:
To find the equation of the tangent to the curve y = x sin(x) at the point (pi/2, pi/2), we need to find the slope of the tangent at that point and use the point-slope form of a line equation.
The derivative of y = x sin(x) is y' = sin(x) + x cos(x).
When x = pi/2, the slope of the tangent is y'(pi/2) = sin(pi/2) + (pi/2) cos(pi/2) = 1 + (pi/2) * 0 = 1.
Using the point-slope form with the point (pi/2, pi/2) and the slope 1, the equation of the tangent is y - pi/2 = 1(x - pi/2), which simplifies to y = x - pi/2.