once again.
I wish to prove that $$\frac{2}{\pi} = \cos\left( \frac{\pi t}{2}\right) + \sin\left( \frac{\pi}{2} ( 1-t ) \right)$$
for some t in the interval $( 0, 1 )$ given the function
$$f( x, y ) = \sin(\pi x ) + \cos(\pi y ).$$
I was told that I could prove it using the mean value theorem, but I am not exactly sure how to use it in this case.
Thank you for your help ahead of time.