We are given that f(x)=x sinπ x+x-2.
Now,
f'(x)=xsinπx+x-2' =xsinπx' +x' -2' =sinπx+πxcosπx+1-0 =πxcosπx+sinπx+1
Step by stepSolved in 2 steps